-
FAQ
- Forum Search
- Community
- Online Manual
- Support Helpers of the Month
- Function Database
setupThemeContext
Description
Sets up various $context values used for the theme (most of which are used in index.template.php).
Syntax
void setupThemeContext ([bool $forceload])
Parameter $forceload
Expected type: Boolean
Description: Whether or not to force reloading of the data. Used to prevent potential issues caused by calling this function more than once. Default is false.
Notes
- Sets all the "$context['allow_" items used for the template_menu function
- Sets $context['news_lines'] and $context['fader_news_lines']
- Sets various $context['user'] items used for the theme as well
Advertisement:- Help | Terms and Rules | Go Up ▲
- Copyright © 2022 Simple Machines. All Rights Reserved.
- Page created in 0.123 seconds with 13 queries.
- Forum Search