Jump to the post that solved this thread.
Solved: 2 Years, 1 Month, 4 Weeks ago MyStatus - Show in other Templates
#1
Solved: 2 Years, 1 Month, 4 Weeks ago
Hello!

I have this plugin installed, which works perfectly -- so long as the call code is in the Index template. However, I would like to put it in the header template. I'm not sure how to go about changing the code to do this.

Would anyone be able to assist me?

Thank you!
[Image: BloodTies.png]

[Image: Pern.png]
Reply
#2
Solved: 2 Years, 1 Month, 4 Weeks ago
Open the plugin file, find:
$plugins->add_hook("index_start", "statusupdate_index");

Replace to:
$plugins->add_hook("global_intermediate", "statusupdate_index");

Then try placing {$statusupdate} in the header template.
Reply
#3
Solved: 2 Years, 1 Month, 4 Weeks ago
I linked the wrong plugin, but with a little bit of digging I found the equivalent and was able to make the change and get it to work!

Thank you!
[Image: BloodTies.png]

[Image: Pern.png]
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)