ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Parse Order

May 25, 2012 6:31am

Subscribe [1]
  • #1 / May 25, 2012 6:31am

    Gareth Redfern

    86 posts

    I am trying to fully understand how the parse order works - not an easy thing but I am getting there (I think).

    I have Low’s PDF http://loweblog.com/downloads/ee-parse-order.pdf as the bible.

    My question is - the PDF states that global variables are parsed first but then states that user global variables and others are parsed last. So how do you know which global variables are parsed first? Is there a list somewhere, and could we add some more detail on this in the wiki?

    Thanks,

    gareth

  • #2 / May 25, 2012 10:06am

    Gareth Redfern

    86 posts

    An answer from Low himself on his new blog post: http://gotolow.com/blog/parse-order-and-low-variables

    “Early parsed global variables are Snippets, Segment variables and Embed variables. In addition to that, any variables defined in your index.php or config.php are also parsed early.

    All other global variables are parsed late. See also the EE docs on global template variables.”

    Thank you Low!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases