![]() |
include a custom template
Hi,
I made a custom template called "links" that basically contains a little box with few text links in. Now I want to display that box under other templates so for example I've added: $links in the footer template. Why doesn't it show that? Thanks |
we solved it in icq :)
|
Can anybody help me do the same? :)
|
1. make a template
2. new plugin: hook: cache_templates code: PHP Code:
PHP Code:
finished if (THIS_SCRIPT == 'index') must be changed to for your site i hope my english isnt too bad and you anderstod me*g* |
ragtek, thank you so much!
|
no prob :)
i hope everyone understands it*g* my english is very bad hehe |
I know this is old, but I don't understand some of the programming language
What are the variables here? PHP Code:
|
THIS_SCRIPT in defined in the top of all vBulletin files using define(). It let's you determine the accessed script (as long as it is defined). Have a look in the vBulletin files and you'll see.
|
All times are GMT. The time now is 01:32 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:
|