MyBB Community Forums

Full Version: Calling new templates
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Creating a new template is quite straightforward, but once I've done so how do I call it in another template? If "call" is the word I mean. I had hoped that it might be as simple as {$__name_of_template__}, but it seems not.

What I've found by searching suggests that you have to manually edit each of the core PHP files to define the variable, or create a custom plugin doing so. Is this still correct?
Yeah, you have to call the template using eval within either a plugin or a core file.