Log in

View Full Version : create template include like "$footer"


Ghostt
09-23-2010, 11:13 PM
Hello,
i want to show the Forum sidebar also in the forumdisplay.php and showtherad.php and not only in forumhome..

i have created allready a template and pasted the sidebar code there.
now i want it include i to the templates forumhome dorumdisplay and showtheard like the "$footer"

the template name of my sidebar is "sidebar"
if i use $sidebar
its not apear... i think there is a shortcut or so missing that the "$sidebar" code work

you understand what i mean?

Lynne
09-23-2010, 11:30 PM
There is a mod that does this. Why don't you look at the code he used for it? (I think it's called Everywhere Sidebar, or something like that.)

Ghostt
09-24-2010, 12:48 AM
ive found that mod
https://vborg.vbsupport.ru/showthread.php?t=233871&highlight=sidebar
but its vb4.
i have vb3.8
and a custom style

Lynne
09-24-2010, 03:02 AM
There is a mod for vb3 also, I just don't know the name. Try a search using various terms.

Ghostt
09-24-2010, 01:00 PM
cant find sry :(

Lynne
09-24-2010, 02:07 PM
Try searching "side*" in "all mods" "titles only" and you should find it.

BirdOPrey5
09-24-2010, 04:27 PM
There is some plugin code needed for displaying a custom template but I don't know it off hand, I've seen it posted here before though... You can't just make a template and use $templatename like you did- there's definitely a plugin needed.

Ghostt
09-24-2010, 06:26 PM
you mean this mod? https://vborg.vbsupport.ru/showthread.php?t=204773&highlight=side*

i am looking for that what also BirdOPrey5 said.
just that i can include the template..because i habe allready a custom sidebar

BirdOPrey5
09-24-2010, 07:43 PM
Check out this article: https://vborg.vbsupport.ru/showthread.php?t=119933