View Full Version : Show/Hide Web Site & Email Clickable Icon
10-13-2008, 02:42 PM
How do I make the Web Site and Email clickable icons ONLY appear when there is data in that field for a given record?
Currently these icons are displayed for all records, but not all records have web sites and email addresses.
Thanks for helping a newbie like me.
10-14-2008, 12:02 PM
The icons will not appear unless there is data in the field.
10-14-2008, 04:28 PM
Tried it again and still have icons appearing next to every record, even those without data. Tried creating a new WebSite & Email field and the same thing happened.
Is there a certain data type or box that I need to check?
10-14-2008, 04:37 PM
What do you have set for 'link behavior' for this field?
10-14-2008, 06:16 PM
The link behavior is set at "Web Link" with the value to display as "Clickable Icon...".
I have attached an image with my settings.
Thanks for the help.
10-14-2008, 06:25 PM
The datatype should be VarChar with a length of maybe 50 or so depending on the urls you will enter.
10-16-2008, 09:04 AM
Thanks for your help. I changed the field types to VarChar (both on the admin and user iterations of the database) and it did not make a difference.
Here is what I have......
You will notice that the 5K Run/Walk To Feed The Hungry on 10/25/08 does not have a web site or email address but still has the icons.
When the icons are clicked in fields that have no data they go nowhere (the web site icon actually points back into the site directory)
10-16-2008, 04:04 PM
Well the icons I believe are displayed by default in the generated tablename_templateTV file. Have you tried text link if the icons bother you.
10-17-2008, 09:56 AM
The text links make the columns very wide, and I like the look of the icons. I just don't want them to appear in columns that have no data.
What I may do is create a sort of friendly error page saying that "there is no web site available for this entry" and link the non-website icons to that.
Thanks for all the help.
vBulletin® v3.7.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.