![]() |
include template
hey i was thinking of adding a sidebar to my forum and i wanted to have it in a own template like sidebar and i wonder how i can fix so i put $sidebar and the content in the template sidebar will be shown??
Hope you understand what i mean, its like $header and thoose. |
Create a new plugin using something like global_start as the hook location. Then you need a code like:
PHP Code:
|
i will need the whole plugin code because i don´t know how i do this.
|
Just add your code to the footer/header template then, its far easier way of doing it.
(If you want to try anyway, that should be all the code you need, I haven't tested it though but I'm pretty sure it works) |
Why don't you just use one that is already created:
https://vborg.vbsupport.ru/showthread.php?t=141870 |
All times are GMT. The time now is 06:50 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:
|