In-portal
In-portal Software
Your Language:






Displaying Custom Field (Front End) - Topic Posts (1)



Rate Topic




Add To Favorites




Author Message

Dmitry
admin




Joined: 01/05/2002
posts: 1495
Location: United States
Posted: 01/18/2005 7:40:13 PM


Below posted example of how to print out values of the Link custom fields.

Displaying Link Custom Field:

a. in "inlink/detail.tpl" template
<inp:l_link_field _Field="custom&quot_Customfield="field_name_textfield&quot_Default="default value&quot/>

or
b. in "inlink/detail/link.tpl" template
<inp:link _Field="custom&quot_Customfield="field_name_textfield&quot_Default="default value&quot/>

Please note, the <inp:link tag should only be used in a template which is called for by a GLOBAL Link tag, such as l_list_links or whatver.

Similar way custom fields of other types can be displayed. Refer to the map below:
Categories - "cat" or "m_category_field"
Users - "user" or "m_user_field"
Articles - "article" or "n_news_field"
Topic - "topic" or "bb_topic_field"

Thank you.

[Edited By Dmitry on 01/18/05 7:43:09 PM]




Items Per Page: