MyBB Community Forums

Full Version: Documentation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

Is there anything resembling documentation for the templating system? Or a schematic indicating how things fit together?

Cheers,
[Wiki: Templates_and_Themes] (Broken link, head over to docs.mybb.com instead)
Tikitiki Wrote:[Wiki: Templates_and_Themes] (Broken link, head over to docs.mybb.com instead)

Thanks for the response.

That pages gives a very broad overview. I'll slug my way through it Big Grin
Here's something more specific [Wiki: Admin_CP_Templates] (Broken link, head over to docs.mybb.com instead); The first page was a general overview really
Tikitiki Wrote:Here's something more specific [Wiki: Admin_CP_Templates] (Broken link, head over to docs.mybb.com instead); The first page was a general overview really

Ah, yes - that's a little more like what I was after, thanks!

(I am trying to find what $forums references - any ideas?)

Thanks!
Where would this $forums be in? Which template?
Hi,

It is in the main Index template.

Thanks!
Oh, it's a compiled list of all the forums.

$forum_list = build_forumbits();
$forums = $forum_list['forum_list'];

(index.php)


And the build_forumsbits function can be found in inc/functions_forumlist.php. You will be able to find the other templates that build each forum separately there too. They're compiled under the Forum Bits Templates section in the Template Manager
Thanks again Big Grin