Latest Register Log In

+ Advanced Search

Related URLs

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

For associating listings with each other, there's the related listings (manual) and similar listings (autogenerated) options. Sometimes, though, you want to associate a listing 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 listing and edit listing pages which prompts you to enter related websites and separate the URLs, titles and descriptions with semicolons.

To display a listing'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 listing.
Rating
Views 457 views. Averaging 0 views per day.