Quote:
Originally Posted by Dismounted
Have a look at the template hooks inside the templates. Most likely, you will find a location you can use.
|
The Idea is use my template or autohook, not touch (move) the hook inside the template. I see a error using templates in postbit because I use try this in 3 diferent Forums (or maybe I don't use some option)
Quote:
Originally Posted by Opserty
What are the hook locations and plugin code you are using?
You may need to use [minicode]$GLOBALS[Mytemplate][/minicode]
|
I use this:
on GLOBAL_START
PHP Code:
eval('$DioNavbar= "' . fetch_template('DioNavbar') . '";');
eval('$DioPrimeroUltimoPost= "' . fetch_template('DioPrimeroUltimoPost') . '";');
eval('$DioSearch_results= "' . fetch_template('DioSearch_results') . '";');
eval('$DioSHOWTHREAD= "' . fetch_template('DioSHOWTHREAD') . '";');
on cache_templates
PHP Code:
$globaltemplates = array_merge($globaltemplates, array('DioNavbar','DioSearch_results','DioSHOWTHREAD','DioPrimeroUltimoPost'));
All Custom Template work fine in another Templares, but in postbit not