PDA

View Full Version : Programming: How to get information about current section?


typo3lab
Sun 18th May '08, 3:18am
I am making different templates for different forum sections.

For example:
this http://www.vbulletin.org/forum/forumdisplay.php?f=92 will have one header&footer
and this http://www.vbulletin.org/forum/forumdisplay.php?f=12 will have different header&footer.

I create a module that takes header and footer from external files.
How to get info about current section in this module?
(if I have this info, I will make conditions what header&footer will be used)

Thank you for help

Jose Amaral Rego
Sun 18th May '08, 1:17pm
Can you not use the built-in method

Forums & Moderators > Forum Manager > Edit/Add Forum > Style Options:

Custom Style for this Forum

Override Users' Style Choice [Yes]
(If this forum uses a custom style, this will force users with a different style choice to see the forum with the style you specified)