You would just create a new field, something like;
name => link_type
notnull => yes
length => 25
view name => Link Type
DB values => website
classified_ad
article
user values =>website
classified_ad
article
Then, in link.html, have something like;
website link HTML can go here...
<%elsif link_type eq "classified_ad"%>
website HTMl for classified link
<%else%>
website for article
<%endif%>
Hope that helps
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Code:
type => text name => link_type
notnull => yes
length => 25
view name => Link Type
DB values => website
classified_ad
article
user values =>website
classified_ad
article
Then, in link.html, have something like;
Code:
<%if link_type eq "website"%> website link HTML can go here...
<%elsif link_type eq "classified_ad"%>
website HTMl for classified link
<%else%>
website for article
<%endif%>
Hope that helps
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!