Show Menu
Cheatography

EE Parse Order Cheat Sheet by

ExpressionEngine Parse Order cheatsheet

Step 0

Read URI to determine template
Get template from DB, check permis­sions & authen­tic­ation
Get template from file
Return static template

Credit

Thanks to Lodewijk Schutte (@low) for the inform­ation in this cheats­heet. His original PDF can be found at http:/­/lo­web­log.co­m/d­own­loa­ds/­ee-­par­se-­ord­er.pdf
 

Step 1

Parse snippets / global variables
Parse segment variables
Parse embeds
Parse date string constants
Parse {templ­ate­_ed­it_­date} and {curre­nt_­time}
Parse global variables defined in config files
If template is cached, get cache and go to Step 7

Step 2

Parse PHP on Input

Step 3

Parse simple condit­ionals: segment, embed, global variables

Step 4

Assign and parse {prelo­ad_­rep­lace} 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 condit­ionals

Step 8

Process embedded templates
Apply redirect
 

Step 9

Parse user-d­efined global variables
Parse other built-in global variables (see below)

Late-P­arsed Global Variables

{app_b­uild}
{location}
{app_v­ersion}
{membe­r_g­roup}
{build}
{membe­r_id}
{captcha}
{membe­r_p­rof­ile­_link}
{charset}
{path}
{cp_url}
{priva­te_­mes­sages}
{debug­_mode}
{scree­n_name}
{doc_url}
{site_­index}
{email}
{site_­name}
{encode}
{site_url}
{group­_de­scr­iption}
{style­sheet}
{group_id}
{total­_co­mments}
{group­_title}
{total­_en­tries}
{gzip_­mode}
{total­_fo­rum­_posts}
{hits}
{total­_fo­rum­_re­plies}
{homepage}
{total­_fo­rum­_to­pics}
{ip_ad­dress}
{username}
{ip_ho­stname}
{version}
{lang}
{webma­ste­r_e­mail}
           
 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          PHP Cheat Sheet
          JavaScript Cheat Sheet
          drush commands Cheat Sheet