Latest Register Log In

+ Advanced Search

Related URLs

Related URLs
By
12/12/11 (Edited 03/11/14)

For associating topics with each other, there's the related topics (manual) and similar topics (autogenerated) options. Sometimes, though, you want to associate a topic with a remote website. The related URLs system allows you to do this.

First, switch on related URLs at Admin Panel -> Settings -> Switches. This will make an area appear on the submit topic and edit topic pages which prompts you to enter related websites and separate the URLs, titles and descriptions with semicolons.

To display a topic's related URLs, use {LINKRELATEDURLS}. This will output them as a bulleted list like this:

If you want to style the list, the css class name on the ul tag is "relatedurls". If you want to make it a numbered list, use {LINKRELATEDURLS[ordered]}. To use another format, specify it with {LINKRELATEDURLS[other <,> <a href="{RELATEDURL}">{RELATEDTITLE}</a> - {RELATEDDESCRIPTION}]}




Description Displaying websites related to a topic.
Rating
Views 457 views. Averaging 0 views per day.