The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Help with Templates
I'm working on a content management script right now and I'm having 2 problems...
First off the template is sent into the database along with updating the templatelist array in the style table, then a php file is created with the template to display set as the template created (cached too). For some reason the template doesn't want to display [blank page], it does however show up in the style manager. The other problem is, when creating the PHP file any lines that were edited from the template php file lose their line breaks after the lines (such as: PHP Code:
Thanks |
#2
|
|||
|
|||
Solution to all of this, seem to be the use of a decent text editor to me.
|
#3
|
||||
|
||||
I think you misunderstood... I'll post the code for what I am referring to.
PHP Code:
|
#4
|
||||
|
||||
You are not compiling the Template ...
|
#5
|
||||
|
||||
Compiling? Could you elaborate a bit please?
|
#6
|
||||
|
||||
adminfunctions_template.php, especially compile_template()
|
#7
|
||||
|
||||
Thanks I'll go take a look.
Hmm I still can't figure out why it won't work. I included that file and used that function on my template (because that is the only difference I could see). A lot of the code there looked like it was for template conditions (which I'm not going to use). Any more specific help would be greatly appreciated. |
#8
|
||||
|
||||
*Bump [damn doublepost automerge]
Read addition to last post. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|