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 09-16-2005, 07:58 AM
TraumTeam TraumTeam is offline
Junior Member
 
Join Date: Jul 2004
Location: Germany
Posts: 26
Default Double if Statement

Hello,

i now have the link dir. and the gallery installed.
Before with just the link dir. i had this if statment to change the navbar. Now i want to do both changes (gallery and links) in one template.

How to make the if / else Statement correct:

############## current version #######

<if condition="VBA_SCRIPT == 'links_directory'">

Link Dir. stuff here

<else />

normal forum stuff here

</if>

######################

thanks in advance
Robert
Reply With Quote
  #2  
Old 09-26-2005, 11:27 PM
TraumTeam TraumTeam is offline
Junior Member
 
Join Date: Jul 2004
Location: Germany
Posts: 26
Default Re: Double if Statement

and up again ...
searching for a solution ...
Reply With Quote
  #3  
Old 09-27-2005, 09:20 AM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: Double if Statement

<if condition="in_array(VBA_SCRIPT, array('links_directory', 'gallery'))">
<if condition="VBA_SCRIPT == 'links_directory'">
Link Dir. stuff here
</if>
<if condition="VBA_SCRIPT == 'gallery'">
Gallery stuff here
</if>
<else />
normal forum stuff here

</if>
Reply With Quote
  #4  
Old 09-27-2005, 09:44 AM
TraumTeam TraumTeam is offline
Junior Member
 
Join Date: Jul 2004
Location: Germany
Posts: 26
Default Re: Double if Statement

ok i will test it ..
thanks
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
Double login/out. One doesn't work Collectors Troubleshooting & Problems 6 09-16-2005 01:07 PM
Double member block; removing 1? burley "How Do I..." Questions 2 08-12-2005 08:00 AM
Double Module Title Scooterpig Troubleshooting & Problems 4 07-22-2005 10:02 PM
Double domain extension on navbar rbl Troubleshooting / "How do I..." Questions 8 01-10-2005 02:17 PM


All times are GMT -4. The time now is 03:29 AM.

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.