![]() |
Hooks and templates problem
hey,
i'm trying to write a custom product for my site, but for this to work i need to add a container like the announcement container to every single page .... Now i created the admincp parts and i registered a hook (parse_templates) where i run the php code. But now i'm lost, where do i go from here? How do i get the ouput that i generated inside the hook on the screen? What do i have to do to get the output displayed inside the templates? |
Either via a $template_hook if possible or add a <vb:raw variable> to the template and preregister the variable in the hook.
|
Quote:
because i have no clue on how to start on it |
Take a look here
First Look at vBulletin 4 Template Variables Rendering templates and registering variables - a short guide What you want (space where notices are shown) is at the end of the template navbar. |
All times are GMT. The time now is 04:54 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:
|