WSN Links
Featuresspacer Showcasespacer Reviewsspacer Demosspacer Purchasespacer Manualspacer Support

Register | Forgot Password
Category Types
Category Types
By Paul

By default, you have one type of category: regular. Suppose you wish to create another group called 'special'.

First, go to Admin Panel -> Settings -> Categories. 'Category Types' is near the top. Add a comma after the 'regular' you see there, and type your new group (do not leave a space). In this case, we'll now have 'regular,special'. Also choose the friendly english display language for it which will be used on the edit/submit category pages. Save your settings.

Next, edit your 'main index' (main.tpl) template. In order to create a unique style for this category type, copy the style which has been used for regular categories and change it to fit what you wish for your new group. For example:
<!-- BEGIN SPECIAL -->
<blink><b>Extra special type of category: <a href="http://scripts.webmastersite.net/wsnlinks/wsnmanual410/{CATURL}">{CATNAME}</a></b></blink> <br />
<!-- END SPECIAL -->


By placing that HTML where you want it, you can make the special categories appear in a special place such as at the very top.

Note that category types only apply to the top level categories, not to subcategories.

Rating:


3.4/5 based on 5 votes. The median rating is 4.

Submitted: 09/25/03 (Edited 05/29/08)

Description: Creating special categories.

Views: 2732 views. Averaging 1 per day.
In the most recent 30 day period, there've been 12 views.

Previous Article | Next Article

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