Kevin Jenkins
New Member Posts:12
|
02/19/2009 12:53 AM |
|
we've been using DMX 3.x for the past 2 years and we have it installed on about 15 child portals. i love it and was excited when we purchased DMX 5 today. after upgrading the module on our staging server i have some major concerns that i hope you can help me address.
1) can we somehow add a download link or icon in the file listing grid in the AJAX UI? if this is possible then we can probably use version 5. i just don't think we're going to be able to easily upgrade without training hundreds of users to usethe right-click or a double-click to download the file. it's simply not intuitive for us.
1.5) in the AJAX UI, the "Details" pane is nice but i would give it up in a heart beat if we could somehow get single clicks on files to automatically download. wow - i'm really stumped on this issue.
2) i know we could put some work into creating a template view to add the icon but then we lose all the nice AJAX functionality. using the navigator module we could get a pretty nice template UI but... is it possible to select multiple files in the template view? in DMX 3, checkboxes are available to select multiple files.
any help or examples would be GREATLY appreciated! i hope you don't think i'm knocking your work. in my opinion, DMX is one of the best modules for DNN. keep up the good work.
kevin
|
|
|
|
|
Peter Donker
Veteran Member Posts:4536
|
02/22/2009 10:58 PM |
|
Hi Kevin,
First a general note: the Ajax UI is a major paradigm shift from the querystring-driven approach of DMX 3. There are tradeoffs. The 'Templated UI' of DMX 5 was added to provide flexibility in this.
1. A download link could still be added to the file list. It would require some (minor) changes to the ascx. The list was kept to a bare minimum to optimize screen real estate. Therefore most functions moved to the context menu. The Templated UI supports download buttons easier, btw.
1.5 Point taken. It's a question of choice. More UIs can be made for DMX. If the UI is the big issue then maybe we can work out a custom UI that would suit you 100%.
2. There is no selection mechanism in the templated UI. In fact it is very bare. This was also a necessity to create the flexibility you now have (note that the templated UI gives you more flexibility than DMX 3 even).
I understand your concerns. Please understand that the UI was designed with remarks of a great number of customers taken into account. The one thing I will always attempt to preserve and improve upon is the ability to switch out UIs so I can easily create custom UIs for those customers that absolutely need that.
Peter
|
|
|
|
|
Kevin Jenkins
New Member Posts:12
|
02/23/2009 4:27 PM |
|
hi peter,
thanks for your reply. i completely understand that the AJAX UI is a paradigm shift. it's a really nice UI and the multiple selects and drag & drop functionality is very nice. adding a download link to the file list would solve our main issue with the version 5 upgrade. can you give me an idea of how i could modify the ascx file to add the icon? would i need the underlying .cs file?
thanks again for your help!
kevin |
|
|
|
|
Peter Donker
Veteran Member Posts:4536
|
02/23/2009 8:44 PM |
|
Hi Kevin, It should be possible with changes to the ascx. The code behind does not influence the column list. But what you ask will take some working out. I'll make a note to put it on the work list. Peter |
|
|
|
|
Kevin Jenkins
New Member Posts:12
|
02/24/2009 5:33 AM |
|
thanks, peter! i'm sure there are some others that would find this mod useful as well. i look forward to hearing from you.
kevin |
|
|
|
|
Peter Donker
Veteran Member Posts:4536
|
03/27/2009 10:48 AM |
|
Hi Kevin, If you open ViewCollection.ascx in a text editor you should be able to find the element with ID Grid1. You'll see it lists a bunch of columns. One of them is the download icon column. It is currently set with a visibility to False. Change to True to show this column. Peter |
|
|
|
|
Rob Ralston
Basic Member Posts:164
|
03/27/2009 1:37 PM |
|
Hi Peter,
This looks interesting to me and I wanted to test it. Other than "Grid1" I cannot find anything that obviously is related to the "download icon column".
When you have time, if you could be more explicit, that would be helpful.
Thank you,
Rob Ralston |
|
|
|
|
Bill Mason
New Member Posts:16
|
03/27/2009 3:15 PM |
|
Rob,
In the current .04 version there is a line about 37 lines after the id="Grid1" that reads DataCellClientTemplateId="DownloadColumnTemplate".
I changed the value from False to True. This puts the column in but unfortunately there is a broken link to the BtnDownload.gif. I wasn't able to track it all the way but I found this incomplete path when I viewed the source for the page during execution:
Bill
|
|
|
|
|
Bill Mason
New Member Posts:16
|
03/27/2009 3:20 PM |
|
Sure wish I could edit my posts here. I posted a link in the last messsage but instead of the text, it showed up as a broken link. Just like in the program!
Anyway, the incomplete path I viewed in the page source of the runnng program was:
img src="DesktopModules/Bring2mind/DMX/images/BtnDownload.gif". Hope this posts as text this time.
Bill
|
|
|
|
|
Bill Mason
New Member Posts:16
|
03/27/2009 3:27 PM |
|
Well, it seems I am taking over Kevin's thread. Changing this value to true is proving not to be a good idea. In addition to the broken link to the gif file, it appears that this column is also showing up when viewing a list of folders. If a user tries to click the button on a folder they will get an error since you can't download the folder. Of course I would never do that but you know how users are...
Bill
|
|
|
|
|
Kevin Jenkins
New Member Posts:12
|
03/27/2009 3:30 PM |
|
peter and bill, thanks for trying to help me out here. i really want to make this work too. i'm going to apply the latest patch and give this a try today. i'll let you know how it goes.
kevin |
|
|
|
|
Spence Hackney
New Member Posts:3
|
03/27/2009 10:38 PM |
|
Well, I ran into the exact same thing that Bill described. I was on DMX 5.00.3 / DNN 5.0.1. I installed DMX 5.00.4 and it went fine. I set Visible to True for ComponentArt:GridColumn DataCellClientTemplateId="DownloadColumnTemplate". This had the following effect:
1) The download icon shows as a broken link 2) The download icon shows for both file and folders 3) When you click on the download icon it doesn't work. Right clicking and selecting "Download File" works just fine. The link for the download icon is Default.aspx?Command=Core_Download&EntryID=5. When you click on the icon it opens a new window with the following address but no file opens: /DesktopModules/Bring2mind/DMX/Download.aspx?TabId=55&Command=Core_Download&EntryId=5&PortalId=0
Any ideas? Seems like it would be nice to have a "Show Download Icon" option in the module settings for this. |
|
|
|
|
Peter Donker
Veteran Member Posts:4536
|
03/27/2009 10:41 PM |
|
Hi Bill, Yes, you're right. I'll make a note to fix that. Thanks, Peter |
|
|
|
|
Nicolo Pitsch
New Member Posts:18
|
04/09/2009 9:02 AM |
|
I'm a bit confused about the announcement of version 05.00.04. Is this issue resolved with the newest version (05.00.04 respectively 05.00.05) or not?
Kind regards
Nicolo |
|
|
|
|
Peter Donker
Veteran Member Posts:4536
|
04/09/2009 9:39 AM |
|
Hi Nicolo,
No. The only fix in 5.0.5 is for an issue in DNN 5.1 which was pretty critical (i.e. the module refused to work under DNN 5.1 for anonymous users).
Peter |
|
|
|
|