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

Tips for parsing $this->EE->TMPL->tagdata?

Development and Programming

upshot's avatar
upshot
85 posts
14 years ago
upshot's avatar upshot

I’m trying to parse $this->EE->TMPL->tagdata in this simple plugin I’m trying to build but I’m having a tough time. For instance, this returns FALSE:

strpos($this->EE->TMPL->tagdata, “<”);

This is an HTML string with a strlen() of 1600+ characters. Yet it can’t find an opening or closing bracket… very strange.

Is there a preferred way of parsing HTML strings with CI/EE?

       
upshot's avatar
upshot
85 posts
14 years ago
upshot's avatar upshot

EDIT: This thread can be deleted. It’s some kind of issue with parsing template embeds within my plugin. I’ve started a new thread: http://ellislab.com/forums/viewthread/188904/

       

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.