WebmasterSite.net
PHP scripts to enable your creativity
Home
Web Scripts
WSN Links
WSN Gallery
WSN Knowledge Base
WSN Forum
WSN Classifieds
WSN Directory
WSN AdUnblocker
WSN FormEmail
WSN InstaChat
WSN Redirector
WSN Webcomic
WSN Guest
Reviews
WSN For WordPress
WSN For Web Designers
Webmaster Resource Links
Register
Log In
Username
Password
Login
Forgot your password?
WSN Support Forums
Paid Scripts Support
Link Type Variable
Link Type Variable
Show No Featured Links
Details
Discussion
2
Print
Comments on Link Type Variable
•
larryjam
Member
Usergroup:
Customer
Joined:
Sep 25, 2003
Location:
Canada
Total Topics:
22
Total Comments:
48
•
larryjam
#1 -
Quote
-
Permalink
Posted Jan 30, 2007 - 8:44 PM:
Is there a variable to show that there are no "Featured Links" in a category.
Something similar to <IF {CATLINKSHERE} is 0>{LANG_SHOWLINKS_EMPTY}</IF>
but specificly for the different linktypes.
eg: <IF {LINKTYPE} is 0>{LANG_SHOWLINKS_EMPTY}</IF>
•
larryjam
Member
Usergroup:
Customer
Joined:
Sep 25, 2003
Location:
Canada
Total Topics:
22
Total Comments:
48
•
larryjam
#2 -
Quote
-
Permalink
Posted Jan 30, 2007 - 9:33 PM:
Never mind, I found a solution, I wrapped my "Featured Links" table with this
<IF {FEATUREDTOTAL}></IF>
and now the table is not displayed at all when there are no Featured Links, this works for me just fine.
Search thread for
Go ►
Download thread as
text
HTML
Go ►
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Link Type Variable
Member
Usergroup: Customer
Joined: Sep 25, 2003
Location: Canada
Total Topics: 22
Total Comments: 48
Is there a variable to show that there are no "Featured Links" in a category.
Something similar to <IF {CATLINKSHERE} is 0>{LANG_SHOWLINKS_EMPTY}</IF>
but specificly for the different linktypes.
eg: <IF {LINKTYPE} is 0>{LANG_SHOWLINKS_EMPTY}</IF>
Member
Usergroup: Customer
Joined: Sep 25, 2003
Location: Canada
Total Topics: 22
Total Comments: 48
Never mind, I found a solution, I wrapped my "Featured Links" table with this
<IF {FEATUREDTOTAL}></IF>
and now the table is not displayed at all when there are no Featured Links, this works for me just fine.