PDA

View Full Version : Bring back the phpinclude templates


Boothby
02 Aug 2005, 20:37
I like the phpinclude templates! With this little plugin you will have them back.

Note: you cannot edit the templates with the Common Templates Editor.

Dean C
02 Aug 2005, 20:57
There is little point in having the phpinclude templates, they were swapped for two new hooks global_start and global_end...

Zachery
02 Aug 2005, 21:39
There is little point in having the phpinclude templates, they were swapped for two new hooks global_start and global_end...

Now they are not style specific short of hardcoding ids

Cyricx
03 Aug 2005, 00:23
I agree, the hooks are definately preferable.

Chris M
03 Aug 2005, 00:34
You are using the hooks to call these templates - That itself a contradiction of the idea of the phpinclude templates :rolleyes:

Satan

FleaBag
03 Aug 2005, 03:19
So how would I include my counter php in a hook? :-/

Boothby
03 Aug 2005, 07:08
If you want to control style variables or so you can do it like Stadler suggested here (http://www.vbulletin.com/forum/showpost.php?p=895049&postcount=2). That works fine I think. But if you have 10 or more styles you can lose the overview. ;)

kall
03 Aug 2005, 13:41
So how would I include my counter php in a hook? :-/

Umm, I might be missing something here, but... stick it into global_start?

Or.. include 'counter.php' ?