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

Bring2mind Forums

TemplateView.ascx
Last Post 04/23/2010 3:34 PM by Peter Donker. 3 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
James
New Member
New Member
Posts:4


--
04/19/2010 1:44 PM

Hi

I've amended the file called TemplateView.ascx located at \DesktopModules\Bring2mind\DMX\App_LocalResources

The page now looks how I want it to but now when I click on a document it doesn't open. Instead you click it and nothing happens - the page refreshes and nothing appears in the module.

I guess I must have amended something I shouldn't have - any ideas, or should I attach all the code?

Thanks
James

 

Jason Scott
New Member
New Member
Posts:46


--



The reason there are two "a" tags is to account for the possibility of folders (collections) being displayed.
04/19/2010 6:34 PM
I'm not sure that pasting code works here, but if you just want a file name to fire off the download command, use the following:


[entry:title]
[entry:title]
Jason Scott
New Member
New Member
Posts:46


--
04/19/2010 6:36 PM
Yeah, that messed it up. let's try this:


a href="[dmxmodule:url]EntryId=[entry:entryid]&Command=Core_Download" style="display:[entry:isfile|block;none]">[entry:title] a href="[dmxmodule:url]EntryId=[entry:entryid]" style="display:[entry:iscollection|block;none]">[entry:title]
Oviously, add the opening and closing brackets to the code above.

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
04/23/2010 3:34 PM
Hi Jason,

Can you show the url you see in the browser when it refreshes? Maybe that gives a hint.

Peter
You are not authorized to post a reply.