![]() |
Hi,
Hope everybody is doing good. I'm not a power user and i tried to edit create my own template and it doesnt work. Here is what i wanted to do. I wanted to have my customized printthread template (without the board logo), but i didnt want to alter the original. So i created a new template called printthread_avantgo and then i created a copy of printthread.php called printthread_avantgo.php. In this file i just changed the template name from printthread to my new created template printthread_avantgo. But when i call printthread_avantgo.php, the result is empty. When i put back the default name (printthread) into printthread_avantgo, it works. Of course with the regular template... What did i do wrong? |
Anyone? maybe i am not clear?
|
1 Attachment(s)
I Fixed it with out a problem and i tested it on my forums so it should work the fix is attached
*EDITED* THE ATTACHMENT LOOKS SLOPPY SO I'LL PASTED THE CODE HERE Ok, in printthread.php or your copy ON line 4 (at the top) find -------------------- $templatesused = "postbit_signature,printthreadbit,printthread" ; Replace with ---------------------------------------------------- $templatesused = "postbit_signature,printthreadbit,printthread_avan tgo"; still in printthread.php or your copy ON line 90 (at the bottom) find ------------------------------------ eval("dooutput(\"".gettemplate("printthread")."\") ;"); Replace with ------------------------------------------------ eval("dooutput(\"".gettemplate("printthread_avantg o")."\");"); That should do the trick i tested it it worked for me ;) any problems just ask me |
you rule! thanx :D
|
All times are GMT. The time now is 10:04 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:
|