![]() |
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:
|
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 |
Wow - fast response - thanks!
I changed the news.php around: PHP Code:
|
change
PHP Code:
PHP Code:
|
woohoo!
Thank you much. |
you're welcome :)
|
All times are GMT. The time now is 01:21 AM. |
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:
|