Show something on every page

Discussion forum for MOD Writers regarding MOD Development.
Locked
User avatar
hah
Registered User
Posts: 85
Joined: Sat Feb 13, 2010 11:49 am
Location: Pernik, Bulgaria
Name: Alex Georgiev
Contact:

Show something on every page

Post by hah » Sat Feb 12, 2011 9:00 am

Hello, how can I add some template tag for all the pages in the phpbb, but not from functions.php, because I need to use several classes, user, cache.. and if I add the code to functions.php it doesn't work.What should I do to make it work?

Jeroen B
Registered User
Posts: 1222
Joined: Wed Jul 02, 2008 6:23 pm
Location: The Netherlands
Name: Jeroen

Re: Show something on every page

Post by Jeroen B » Sat Feb 12, 2011 7:31 pm

I think you need to provide us more information... What code are you using, where did you place it, etc. You need to be clearer.
Jeroen • My modifications

User avatar
hah
Registered User
Posts: 85
Joined: Sat Feb 13, 2010 11:49 am
Location: Pernik, Bulgaria
Name: Alex Georgiev
Contact:

Re: Show something on every page

Post by hah » Sat Feb 12, 2011 7:48 pm

Well my code uses user, cache and template classes.I make new funtion in the cache class and I want this ($cache->my_func) to be executed in every page of my website.If I add it in functions.php it doesn't run it..

Locked

Return to “[3.0.x] MOD Writers Discussion”