WSN Gallery
Featuresspacer Showcasespacer Reviewsspacer Demosspacer Purchasespacer Manualspacer Support
Adding an Editor's Picks Section
Adding an Editor's Picks Section
By Paul

Suppose you want a special page listing only items you select

1) First we need a template to work in. See creating a custom template. For this example we'll call the template edpick (edpick.tpl).
2) Next, add a new image field named, let's say, edpick. Make it a checkbox. Uncheck the options for making it user submittable/editable since you want only editors to be able to choose these.
3) For images you want to make editor's picks, edit them to check the box.
4) To display the list we'll use a toplist. Go to Admin -> Templates -> Toplist Generator. For the filtering condition, type
edpick = 'edpick'
. In the box for display content, let's use
<p><a href="http://scripts.webmastersite.net/wsngallery/manual/{TRACKLINKURL}">{IMAGETITLE}</a></a> - {IMAGEDESCRIPTION}</p>
. If you want something more fancy you can use the regular image bit by typing
[INERTFILE=linkbit]
. If you do that you'll want to select a number of columns per row as well, since the image bit is made for a table.
5) Copy and paste the result which the toplist generator gives you into your edpick custom template.
6) Finally, link the edpick template into the rest of the site where you want it -- perhaps in the wrapper template -- with <a href="http://scripts.webmastersite.net/wsngallery/manual/index.php?custom=yes&TID=edpick">Editor's Picks</a>

Rating:


0/5 based on 0 votes. The median rating is 0.

Submitted: 10/30/07 (Edited 10/30/07)

Description: Step by step tutorial in creating a special page which lists images picked by administration.

Views: 169 views. Averaging 0 per day.
In the most recent 30 day period, there've been 8 views.

Previous Article | Next Article

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