Retired Documentation
You are using the documentation for version 2.11.9. Go here for the latest version or check here for your available upgrades to the latest version.
Global Variables¶
Most of the variables used in the forum are specific to their individual templates. Those variables can be found by examining the default themes.
Below is a list of global variables that may be used throughout the forum templates:
- {charset}
- {current_id} (category id, forum id, thread id, etc.)
- {current_page} (current pagination index)
- {current_request} (viewthread, viewforum, etc.)
- {error_message}
- {forum_build}
- {forum_name}
- {forum_url}
- {include:body_extra}
- {include:head_extra}
- {include:spellcheck_js}
- {module_version}
- {page_title}
- {password_max_length}
- {path:advanced_search}
- {path:atom}
- {path:do_search}
- {path:forgot}
- {path:forum_home}
- {path:image_url}
- {path:login}
- {path:logout}
- {path:mark_all_read}
- {path:memberlist}
- {path:private_messages}
- {path:recent_poster}
- {path:register}
- {path:rss}
- {path:smileys}
- {path:spellcheck_iframe}
- {path:theme_css}
- {path:view_active_topics}
- {path:view_new_topics}
- {path:view_pending_topics}
- {path:your_control_panel}
- {path:your_profile}
- {recent_poster}
- {screen_name}
- {site_url}