vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced Links Directory > vBa Links Directory v1.0 Support > "How Do I..." Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 06-26-2005, 01:02 PM
absolutepunknet absolutepunknet is offline
Banned
 
Join Date: Mar 2004
Posts: 61
Default Conditional statement help

I would like to write a conditional statement in the ADV_LINKS_SHOWLINK template.

I would like it to be "if there is there is text entered into the custom field 5" display $customvarible (customvarible is already all set up) - if no text entered in custom field 5 - do this "show default image"
Reply With Quote
  #2  
Old 06-26-2005, 08:05 PM
absolutepunknet absolutepunknet is offline
Banned
 
Join Date: Mar 2004
Posts: 61
Default Re: Conditional statement help

figured out how to do it an easy way:

<img src="http://www.blah.com/blah/blah.gif" onerror="this.src='error.gif';">
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add a center module with About us statement deb0 Troubleshooting / "How do I..." Questions 2 03-14-2005 10:02 PM
Need if/else statement for urls macker123 Modifications 6 01-20-2005 12:30 AM
Page= Condition Statement in Templates allhandl Troubleshooting / "How do I..." Questions 1 12-26-2004 10:07 PM
Powered By vBadvanced statement mholtum Troubleshooting / "How do I..." Questions 17 10-09-2004 11:10 AM
How would I put this statement in a side block? Itworx4me Troubleshooting / "How do I..." Questions 12 06-16-2004 12:43 PM


All times are GMT -4. The time now is 06:45 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.