We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Did the parse order of plugins change in 2.0?

Development and Programming

Brian Litzinger's avatar
Brian Litzinger
711 posts
16 years ago
Brian Litzinger's avatar Brian Litzinger

In 1.6, I use a wymeditor and used urldecode() on the data before it’s saved, so {exp:page_url entry_id='4'} would be saved as a non-encoded string, and thus it would actually parse without needing the allow_ee_code plugin.

I’m converting these to 2.0, and page_url works fine if I print it in a template, but if I do the same urldecode() on {exp:page_url entry_id='4'}, and it’s saved properly, but it doesn’t parse at all in the template, thus it leads me to believe that the parse order was changed… and not in a good way.

So did the parsing order change? I understand that, by default, EE will encode all EE tags when saving a field, but if I create a plugin/fieldtype and choose to bypass this, it should be allowed.

Moved to Plugins by Moderator

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
16 years ago
Sue Crocker's avatar Sue Crocker

This is probably going to be moved to the plugins forum, we don’t provide direct support for coding plugins or fieldtypes. I’ve asked the dev team for clarification, Thanks in advance for your patience.

       
Sue Crocker's avatar
Sue Crocker
26,054 posts
16 years ago
Sue Crocker's avatar Sue Crocker

Moving to Plugins forum..

       
Robin Sowell's avatar
Robin Sowell
13,255 posts
16 years ago
Robin Sowell's avatar Robin Sowell

No- there shouldn’t have been a significant change in parse order. I’m not up on the plugin and having a little trouble following how it breaks down- but if you var_dump, that give any hints as to what’s up?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.