Not Solved Shoutbox show only in index template
#1
Not Solved
I have installed Dvz_shoutbox plugin but it only works when the code ({$dvz_shoutbox}) is in the index template. If I put it in the header template (where I need it) the shoutbox doesn't show up. Angry
Reply
#2
Not Solved
You need to edit the plugin, eval the variable with global_start hook.
Reply
#3
Not Solved
Edit: delayed response

open the plugin file (./inc/plugins/dvz_shoutbox.php) in a code editor like notepad++
find code
$plugins->add_hook('index_end', 'dvz_shoutbox');
replace with below code and save the file
$plugins->add_hook('global_end', 'dvz_shoutbox');
now you can check whether adding the code {$dvz_shoutbox} to the header template works ..
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)