ExpressionEngine Parse Order cheatsheet
|
Read URI to determine template
|
|
Get template from DB, check permissions & authentication
|
|
Get template from file
|
|
Return static template
|
|
Parse snippets / global variables
|
|
Parse segment variables
|
|
Parse embeds
|
|
Parse date string constants
|
|
Parse {template_edit_date} and {current_time}
|
|
Parse global variables defined in config files
|
|
If template is cached, get cache and go to Step 7
|
|
Parse PHP on Input
|
|
Parse simple conditionals: segment, embed, global variables
|
|
Assign and parse {preload_replace} variables
|
|
Parse module tags (inward)
|
|
Parse plugin tags (outward, by default)
|
|
Parse PHP on Output
|
|
Write cache file
|
|
Parse advanced conditionals
|
|
Process embedded templates
|
|
Apply redirect
|
|
Parse user-defined global variables
|
|
Parse other built-in global variables (see below)
|
|
{app_build}
|
{location}
|
|
{app_version}
|
{member_group}
|
|
{build}
|
{member_id}
|
|
{captcha}
|
{member_profile_link}
|
|
{charset}
|
{path}
|
|
{cp_url}
|
{private_messages}
|
|
{debug_mode}
|
{screen_name}
|
|
{doc_url}
|
{site_index}
|
|
{email}
|
{site_name}
|
|
{encode}
|
{site_url}
|
|
{group_description}
|
{stylesheet}
|
|
{group_id}
|
{total_comments}
|
|
{group_title}
|
{total_entries}
|
|
{gzip_mode}
|
{total_forum_posts}
|
|
{hits}
|
{total_forum_replies}
|
|
{homepage}
|
{total_forum_topics}
|
|
{ip_address}
|
{username}
|
|
{ip_hostname}
|
{version}
|
|
{lang}
|
{webmaster_email}
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.