![]() |
toggle between index and cmps_index
if you take a look at www.vbplaza.com they have a link on the nav bar to toggle back and forth from the cmps index and the index php?
i have vbadvanced on my site and i can firgure it out at all. i've bene told Quote:
clearly I'm doing something wrong or I'm missing something. i have two files. index.php and cmps_index.php. what code should i be entering? i assume at line 97. the index.php and cmps_index.php are in the same directory. please help. |
Um... that change is for your "navbar" template, you shouldn't be touching any PHP file for that.
|
i'm not changing any php file. i know it is a navbar template change. any one have any ideas?
|
i saw that hack at vbadvanced.com in the forums
i think its an <if> conditin in the template something like <if> thisscript=index.php then forum <else> home thats not code .. only to give you the idea check out their forums Felix |
derfelix,
The HTML code that dirtycow posted above is the code that he wants to put into his navbar template. .... but he lost me by talking about saying he knows there are two PHP files but then switching to saying that he knows that he needs to modify the template. |
i was just letting everyone know that I did not rename the cmps_index.php file.
so basiclly i just want a link on my navbar that toggles between cmps_index and index. |
Quote:
http://www.vbadvanced.com/forum/showthread.php?t=41 |
Thanks alot, this helped me out.
|
All times are GMT. The time now is 04:16 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|