MyBB Community Forums
Basic question: how to include a custom template into other templates? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Themes (https://community.mybb.com/forum-103.html)
+---- Forum: Theme Support (https://community.mybb.com/forum-10.html)
+---- Thread: Basic question: how to include a custom template into other templates? (/thread-131530.html)

Pages: 1 2


RE: Basic question: how to include a custom template into other templates? - expat - 2015-10-20

once you add the eval line, do you need to insert it in

$templatelist to get it cached?

Also if you created a NEW template group is there a new call to the groups or is that ignore in script?


RE: Basic question: how to include a custom template into other templates? - kloddant - 2016-11-02

I've written a plugin to render custom templates for you without the need to modify global.php.  It just needs to be approved.  Here is the link, though I don't think you'll be able to follow it until it is approved:

https://community.mybb.com/mods.php?action=view&pid=841


RE: Basic question: how to include a custom template into other templates? - Corey H - 2016-11-03

You could also install Template Conditionals and use something like this.

<template your_cool_template_name>