Developer forum

Forum » Templates » Data Lists template tags?

Data Lists template tags?


Reply

Is it possible to do something based on current @row.value during rendering of a Data List. inside <!--LoopStart(Row)-->?

In my case I am making a list view showing fields from the News data table (News v2 module). If the value processing in my Data List Template is @NewsHeading I would like to add some special tags.

PS! Could someone send or post a quick list of template tags available for this module since it is not yet documentet in DynamicWeb Template Tags Reference? No problem if it is uncomlete or untested :)


Replies

 
Reply
Hi John

If you want to see the available tags, just insert @DwTemplateTags in your template.

We cant provide the tagdocumentation since you, and your settings, decide the output from the module.

If you want to do some heavy tag-processing you might want to use XSLT instead of XHTML.

// Dammark
 
Reply
Thank you! Forgot about the nice print available tag feature. Using the @Row.ColumnName tag to define class names for each row element.

 

You must be logged in to post in the forum