The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Page URL in footer template?
Which variable can I use if I want to place the url of the page in the footer template? I want this to replace the style chooser and have a link instead (eg "View classic theme")
Thanks in advance |
#2
|
|||
|
|||
Maybe I'm misunderstanding the question, but wouldn't editing footer be what you need to do, changing :
Code:
<if condition="$show['quickchooser']"> <td class="tfoot"> <select name="styleid" onchange="switch_id(this, 'style')"> <optgroup label="$vbphrase[quick_style_chooser]"> $quickchooserbits </optgroup> </select> </td> </if> Like I said, maybe I'm misunderstanding what you were after, though. |
#3
|
|||
|
|||
Yes, I have already removed the stylechooser but I want to provide my users something else to allow them to change the style.
Currently I have a link at the footer with the other style (I have only 2 styles) and when clicked it transfers the user to the home page with the other style. I want it to transfer them to the page they were but with the other style, so I need to know which variable stores that (if there is any) so that I can add the styleid on the end of it... |
#4
|
|||
|
|||
AHHH, ok.
Well, looking @ the code, I'm not sure that there is a way to do this, though there probably is somehow. From what I can see, the way it's done @ default (using the form) utilizes the javascript switch_id function to redirect to the appropriate link , not sure how that would be implemented without using the form itself. |
#5
|
|||
|
|||
Ι hope there is another way cause I suck @ javascript
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|