![]() |
how do i do this?
well i wanna make a function so that when im on a specifik php page (i.e. news.php) a template within the header is shown, the only way to do this is by placing an IF thingy in global.php so that it checks which page your on, is there a function for this?
|
Right from global.php:
Code:
if(substr($PHP_SELF,-strlen('news.php'))=='news.php') { |
All times are GMT. The time now is 11:03 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:
|