![]() |
What would I need to go about to create a template called "header2" (so i can modify the other and not pull everything in) and call it via $header2 in the test template. I created a duplicate header (same code), but it doesn't want to pull and im not sure where it needs to be added to make it work.
thanks :) |
You need to make sure to eval the template. And include it at the top of the file as one of the globaltemplates.
|
i made another globals file and renamed header and called that through the script... im sure thats the long way, but given im changing the footer template too and im not huge on php, that seemed easy. I'm not sure what you mean by eval the template.
|
Quote:
PHP Code:
|
Quote:
im really confused? your saying this... Code:
$stylevar[htmldoctype] |
Here's a tutorial how to create a template:
http://www.vbulletin.com/docs/html/s...edit_templates |
I don't understand why you are bringing up some CSS box. I don't know where that is coming from.
|
Great tutorial, highly useful.
|
I like that people are not registered or not logueadas can not access
Simply put permissions to different groups .. |
i don't understand why I would need to make another template? I though I was simple placing a file in the forums root?
|
All times are GMT. The time now is 01:25 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:
|