Site
Web
Search
Login
Home
Document Exchange
Features
Extensions
Licensing
Testimonials
Translations
Buy
DMX Extensions
Support
Forums
Downloads
Free Stuff
Translations
Company
Partners
News
Contact
Test
You are here:
Support
/
Forums
Bring2mind Forums
Forums
Search Forum
Search
Advanced Search
Topics
Posts
Unanswered
Active Topics
Forums
>
Document Exchange
>
User Interface
Alternate Item in Template View
Last Post 03/15/2012 10:36 AM by
ABS Jets
. 2 Replies.
Sort:
Oldest First
Most Recent First
Prev
Next
You are not authorized to post a reply.
Author
Messages
ABS Jets
New Member
Posts:13
02/18/2012 11:17 AM
I am now upgrading templates from DMX 5 to DMX 6 and I can't find a way to select different formatting for alternate items in the list of entries.
In the previous DMX version there used to be two separate files for entry items - ItemTemplate.resources and AlternateItemTemplate.resources (and similarly for log and version items). I used to have both templates looking the same except for the CSS class which way I could specify different formatting (in my case the background color) for the alternating item.
However, in DMX 6, only the Entry.html subtemplate is used for displaying entry items and therefore I cannot use two different CSS classes for alternating items.
Can you please guide me to set up the templates as in DMX 5?
Thanks a lot.
Peter Donker
Veteran Member
Posts:4536
02/28/2012 9:40 PM
It takes a bit more fiddling but the way to go nowadays is CSS3 and/or jQuery. jQuery is loaded by default. You can add bits of JS to a template. I will make a note to add the line coloring to the default template as an example in the next update.
Peter
ABS Jets
New Member
Posts:13
03/15/2012 10:36 AM
Thank you for pointing me to this direction, Peter. An example in the next update will be nice.
Pavel
You are not authorized to post a reply.
Document Exchange
--Release Notes for Document Exc...
--Installation and Activation Is...
--User Interface
--Search
--Storage and Security
--WebDAV
--API
Document Exchange Lite
--Installation and Activation Is...
--Search
--Localization
--UI
--Storage and Security
--Extensions and addons
Forums
>
Document Exchange
>
User Interface