The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Templates - what am I doing wrong?
I want to create a news page. But I cannot get anything in the news_header template to display. What am I doing wrong?
news.php PHP Code:
news template PHP Code:
news_header template PHP Code:
|
#2
|
||||
|
||||
well you made a few mistakes
first: the $globaltemplates line has to be BEFORE the require global.php line second: you news_heade variable is filled AFTER the actual page_output part, so of course it would not show anything |
#3
|
|||
|
|||
Wow - fast response - thanks!
I changed the news.php around: PHP Code:
|
#4
|
||||
|
||||
change
PHP Code:
PHP Code:
|
#5
|
|||
|
|||
woohoo!
Thank you much. |
#6
|
||||
|
||||
you're welcome
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|