Cheatography
https://cheatography.com
ExpressionEngine Parse Order cheatsheet
Step 0
Read URI to determine template |
Get template from DB, check permissions & authentication |
Get template from file |
Return static template |
|
|
Step 1
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 |
Step 3
Parse simple conditionals: segment, embed, global variables |
Step 4
Assign and parse {preload_replace} variables |
Step 5
Parse module tags (inward) |
Parse plugin tags (outward, by default) |
Step 6
Parse PHP on Output |
Write cache file |
Step 7
Parse advanced conditionals |
Step 8
Process embedded templates |
Apply redirect |
|
|
Step 9
Parse user-defined global variables |
Parse other built-in global variables (see below) |
Late-Parsed Global Variables
{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} |
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets