SMF Support > SMF 1.1.x Support

Setting Source Template Functions?

(1/1)

ShoeLace1291:
I am modifying SMF 1.1.6 and creating new source files.... how do I associate template functions with source functions?

Arantor:
You use $context['sub_template'] to define what function should be called after the forum header and before the forum footer.

The default is 'main' which means template_main() gets called for the main page content.

Navigation

[0] Message Index

Go to full version