MyBB Community Forums

Full Version: Adding new Templates!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I've made a custom template under Global Templates and I'd like to use it in my skins. How do I go about doing this? I've tried {$template_name} but doesn't work. Any help please? Thanks in advance Smile
AdminCP -> Templates & Styles -> Templates -> template set of your theme

Then the tab "Add Template", fill in the name, Choose the right template set and enter the template code. Finish it with Save.

In a php script the template must be evaluated (with eval) somewhere into a variable, and this variable must be used in some existing template.

EDITI didn't know the method .m. refers to . Must rememer that Big Grin

In your case it must be then:

<template template_name>
Thanks .m. this worked a treat! consider it resolved Smile