![]() |
need help with custom variable in header template
yes i've looked at the register variables article. still couldn't figure it out.
ive tried a few things and cannot get it to render hook location: process_templates_complete PHP Code:
PHP Code:
Not sure what I am doing wrong. |
Use hook parse_templates - process_templates_complete is too late because the header template has already been rendered.
Try this code: Code:
$menuUrl = $vbulletin->options['bburl'] . "/menu/index.html"; |
yay that worked :) thanks!
|
All times are GMT. The time now is 05:59 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:
|