Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Shortlist - Instructions for modification required to include custom attributes
Last Post 01/12/2010 10:27 AM by Peter Donker. 7 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Gary Key
New Member
New Member
Posts:24


--
09/02/2008 4:11 PM


Does anyone have any simple instructions on how to modify the Shortlist module to include custom attributes. I want to be show 3 or 4 additional fields if I can.

Thank you.

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/04/2008 10:02 AM
Hi Gary,

In the current version of DMX the attribute names are output as the names of columns. So if you added a custom attribute 'ProjectID' you should be able to add a column on the shortlist called ProjectID. You need to know how to write this in asp.net of course.

Peter
Gary Key
New Member
New Member
Posts:24


--
09/04/2008 10:41 AM

Hi Peter, is there any examples around showing how to say add the ProductsID to the shortlist view. If I can see just one example with the ProductsID I can then follow and change the ASP myself.

Thank you for your help so far.

Gary.

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
09/05/2008 10:33 AM
Hi Gary,

No there isn't. But the control uses standard asp.net controls, in this case the DataGrid control. You will need to know how to use this.

Note you also need to restart the application after you've added a custom attribute to make sure it appears in all the lists.

Peter
vinodbjets
New Member
New Member
Posts:1


--
01/06/2010 7:41 AM
Posted By Peter Donker on 09/05/2008 10:33:40
Hi Gary,

No there isn't. But the control uses standard asp.net controls, in this case the DataGrid control. You will need to know how to use this.

Note you also need to restart the application after you've added a custom attribute to make sure it appears in all the lists.

Peter


Hi peter,

I need help in datagrid I'm Designer with knowledge of HTML with CSS only.

I want to hide the date and file size only the list of file only and remove the color of background you can see what I'm asking for

http://www.bjets.com/Medi...e/en-GB/Default.aspx

1. Removeing the background color of Grid control blue shade: I tryied remove background-color in css not worked for me in path of "DesktopModules\Bring2mind\DMX\Addons\Shortlist"

2. Remove/Hide Date and File size listing of Files

3. Is there any moduel that shows in thumbnail of files listed and when click happens pop out in a box or sperate window.

thanks in advance

vinod

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
01/06/2010 10:25 PM
Hi Vinod,

Best is to contact me by email for a customization request. It's not a lot of work, but it's hard to explain in a couple of lines here, especially if you're unfamiliar with asp.net. I believe all that you want can be done (although generating a thumbnail from files other than regular images is going to be tricky/costly). Send your email to peter at bring2mind dot net.

Peter
graphicguru
New Member
New Member
Posts:3


--
01/07/2010 8:38 AM

Hi Peter,

Thanks for response I found the Moduel insteller and change the CSS in Resources.zip

changes the background-color to white in module.css and removed the


  
    <%# CType(DataBinder.Eval(Container, "DataItem.LastModified"), Date).ToString("d") %>
  

 

 
  
    <%# IIF(DataBinder.Eval(Container, "DataItem.EntryType").StartsWith("File"), Bring2mind.DNN.Modules.DMX.Common.Globals.FormatSize(DataBinder.Eval(Container, "DataItem.FileSize")), "") %>
  

 

so I can see only list of the items.

thanks for response.

Here I am not ending my issue. still remain thumnail issue.

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
01/12/2010 10:27 AM
Yes, the thumbnail is another story. That will require a bit of programming to do.
Peter
You are not authorized to post a reply.