Hi everyone,
I’ve spent hours this evening reading up on plugin/module development and working with single variables and variable pairs, running down code examples, other threads and core modules. I’m at a complete loss for a clear example of cleanly getting the inner contents of a variable pair. I’m working in the latest EE2 build (2.02) and am under the impression that I’ll still need to do a preg_match(_all), but none of the code examples I’m seeing are working.
I’m basically trying to get at multiple tag pairs and their contents. So:
{exp:my_module}
{tag}Some stuff here{/tag}
{tag}Some other stuff in this one{/tag}
{/exp:my_module}tagdata returns the contents of exp:my_module. Within that, what’s the quickest way to get the contents of the inner tags–those particular inner tags–into an array?
Thanks, Mark
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.