The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Setting styleid for a custom page?
Can someone please help me with this beginner question? I cannot seem to find the answer when I search in this forum.
I am creating a custom page and need to know how to statically set the styleid for the page. I want to do it inline in the code, not in a plugin. Thanks! |
#2
|
|||
|
|||
Anyone know how to do this?
|
#3
|
||||
|
||||
Why not use a plugin? I know this works:
hook location - fetch style PHP Code:
|
#4
|
|||
|
|||
I'm trying to create a whole bunch of files that should only be displayed with a styleid that I set. So I am wondering how I can set the style just before I output a template.
|
#5
|
||||
|
||||
Several of your templates - header, headinclude, footer - are rendered when global.php is called. If you need to assign a styleid to them, you need to do so before they are rendered which means using a plugin or finding that hook location manually adding the code there.
|
#6
|
|||
|
|||
Quote:
On a side note in vB4.x I found the hook was actually called 'style_fetch'. Obviously an old thread, but still VERY helpful |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|