WSN Knowledge Base
Featuresspacer Showcasespacer Reviewsspacer Demosspacer Purchasespacer Manualspacer Support
Link Importance Formula
Link Importance Formula
By Paul

You may want to sort articles by a criteria more complicated han a single field. The 'importance' field exists to allow you to do this. In your admin panel under settings->functionality you can define a custom formula for determining the value to fill this field.<br /><br />Your formula should emulate the default one provided. You can change it to use any mysql field in the form $this->filename, and to use any member functions of the onelink class in the format of $this->function()<br /><br />Note that after you change the importance formula you must regenerate links in order to get your preexisting links updated to the new formula.

Rate this article:

Submitted: 08/24/04 (Edited 09/23/04)

Description: Creating complex sorting algorithms.

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

Previous Article | Next Article


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