Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Rejected] Template Hooks/Includes
#1
For 2.0 I would love to be able to call/include other templates in templates when needed. Currently we have to modify core files to allow global usage. It'd make things so much easier, especially for forums that don't have tech savvy staff and it's less likely they can mess up.

For templating reasons, it's easier to keep things organized. 

It can be as simple as {name} and name is the template you create. that's it.
Reply
#2
Twig supports that: http://twig.sensiolabs.org/doc/templates...-templates Wink
[Image: banner.png]
Reply
#3
Yep, as Stefan said this is already supported thanks to Twig Smile
Reply
#4
Hi,

Your MyBB 2.0 suggestion has unfortunately been rejected. Your suggestion does not fit with the direction that MyBB is heading in as a project at this time.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)