WSN Links
Featuresspacer Showcasespacer Reviewsspacer Demosspacer Purchasespacer Manualspacer Support
Link Types
Link Types
By Paul

By default, you have two types of links: regular and reciprocal. Suppose you wish to create another group called 'mylinkgroup'.

First, go to Admin Panel -> Settings -> Links. Find 'Link Types' near the top. Add a comma after the existing type(s) you see there, and type your new group (do not leave a space). In this case, we'll be adding ',mylinkgroup'. You can also set a display name here if you want that to be different from the name used in templates. Save your settings.

Next, edit your 'show links in category' template. In order to create a unique style for this link type (by default it shows with the same HTML as regular links), copy the style which has been used for regular links and change it to fit what you wish for your new group. For example:

<!-- BEGIN MYLINKGROUP LINKS -->
<blink><b>Extra special type of link: <a href="{TRACKLINKURL}">{LINKTITLE}</a></b> </blink> <br />
<!-- END MYLINKGROUP LINKS -->


You will also need to make use of this link type in your 'search all' and 'search links' templates. In these templates, the HTML is similar but you should use slightly different opening and closing comments:
<!-- BEGIN MYLINKGROUP -->
<blink><b>Extra special type of link: <a href="{TRACKLINKURL}">{LINKTITLE}</a></b> </blink> <br />
<!-- END MYLINKGROUP -->


If you have set 'mix link types' to 'no' in your settings, the links of this type will appear in the results in the position where you put the HTML. Thus if you plut your new group on top, the links of this type would show up above all others. If you set 'mix link types' to 'yes' in your settings, then the results will be mixed so that the position is determined only by the sort order and not by the type of link -- but each link will still be displayed using the HTML of its particular type, so that it's distinguished.

Using Only One Link Type

Sometimes, people don't want to use multiple link types. The best way to handle this is to simply switch off link types at Admin -> Settings -> Links. This will make everything be considered a regular link with no prompt for the type.

Rating: 33333
3.63/5 based on 8 votes. The median rating is 4.

Rate this article:

Submitted: 09/25/03 (Edited 04/06/08)

Description: Adding a new group of links.

Views: 6455 views. Averaging 4 per day.
In the most recent 30 day period, there've been 32 views.

Previous Article | Next Article

Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support