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

Bring2mind Forums

Custom attributes not visible in templated view
Last Post 11/07/2013 12:37 AM by Laurence Neville. 1 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Laurence Neville
New Member
New Member
Posts:56


--
11/03/2013 10:52 AM
I recently upgraded from DMX 5.2 to 6.0.4 (I am on DNN 5.6 so that is as far as I can go at the moment).

In the previous version I had a custom attribute successfully showing in a templated view. After the upgrade (and after converting the template from RESX file entries to HTML templates), the attribute always appears blank.

The attribute values are shown against the entries if I edit them. The attribute name I am using in the template also exactly matches the name in the attribute database table.

The template only contains Template.html, Entry.html, Pager.html & template.css. Template.html loads Entry.html with categoryview=1

Entry.html looks like this:

< tr class="UDT_Table_Item">
< td>[entry:icon16html]< /td>
< td>
< a href="[dmxmodule:url]EntryId=[entry:entryid]&Command=Core_Download&Method=attachment" style="display:[entry:isfile|inline;none]">[entry:title]< /a>
< a href="[entry:entry]" style="display:[entry:ishyperlink|inline;none]" target="_blank">[entry:title]< /a>
< /td>
< td>[entryattribute:Leader]< /td>
< td align="right">[entry:LastModified|d]< /td>
< /tr>

How do I get this to work?

Thanks
Laurence Neville
New Member
New Member
Posts:56


--
11/07/2013 12:37 AM
I figured it out. When you use the [entryattribute:xxxxxx] token, the value is the Key of the custom attribute, not the name.
You are not authorized to post a reply.