Context - What is $context: Difference between revisions From Online Manual

Jump to: navigation, search
m (moved What is context? to What is context: Bot: Moved page)
m (few categories)
Line 1: Line 1:
Context is basically, well, the context of this page view. In other words, it's what makes one view different from the next or last. Maybe there are more or less boards... maybe someone posted a new topic... these are all things the template context can tell you. The same context information isn't available everywhere. For example, the list of boards you can move a [[Topic]] to isn't there when you are editing your [[Profile]] because that's illogical.  
Context is basically, well, the context of this page view. In other words, it's what makes one view different from the next or last. Maybe there are more or less boards... maybe someone posted a new topic... these are all things the template context can tell you. The same context information isn't available everywhere. For example, the list of boards you can move a [[Topic]] to isn't there when you are editing your [[Profile]] because that's illogical.  
'''Next:''' [[http://docs.simplemachines.org/index.php?topic=220|" class="bbc_link">What is the difference between settings and options?]]


[[Category:FAQ]]
[[Category:FAQ]]
[[Category:Developing SMF]]
[[Category:Customizing SMF]]
[[Category:SMF Themes]]

Revision as of 11:53, 13 April 2011

Context is basically, well, the context of this page view. In other words, it's what makes one view different from the next or last. Maybe there are more or less boards... maybe someone posted a new topic... these are all things the template context can tell you. The same context information isn't available everywhere. For example, the list of boards you can move a Topic to isn't there when you are editing your Profile because that's illogical.



Advertisement: