Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Editor Pick!

Quote Reply
Editor Pick!
Hello all,

I try to create new column for Editor Pick like below, and it only work at link.html, how about if i need to show the Editor Pick at home.html? any idea please...

Author: Alex

1. Go to Database->Links->Properties and hit Go.
2. Click on Add Column
3. Enter:
Column Name = EditorPick
Column Type = ENUM
Column Values = Yes No (one per line)
Default = No
Form Type = SELECT
Form Size = 1
Form Names = Yes No (one per line)
Form Values = Yes No (one per line)
4. You should now have the field in your database, then in your link.html template you do:
<%if EditorPick eq 'Yes'%>
special image/html here