MyBB Community Forums

Full Version: PHP In Template?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, anyone here know how I can use PHP In the template?

I want to code a PHP Function to automatic make the nav/menu item "active" instead of relaying with javascript.
(2015-05-21, 09:11 PM)An0ny Wrote: [ -> ]Hi, anyone here know how I can use PHP In the template?

http://community.mybb.com/thread-31860.html
(2015-05-21, 10:30 PM)avril Wrote: [ -> ]
(2015-05-21, 09:11 PM)An0ny Wrote: [ -> ]Hi, anyone here know how I can use PHP In the template?

http://community.mybb.com/thread-31860.html

Yes, but is that the only way?
Yes it is, unless you write a plugin instead.