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

How to repeat a Variable Pair within a plugin start end tag

Development and Programming

chrcollins's avatar
chrcollins
77 posts
15 years ago
chrcollins's avatar chrcollins

I wrote a plugin, called exhibit” that has a variable pair called “images”. Within the exhibit plugin start and end tag I would like to uses the variable pair “images in two different places …..

{exp:exhibit}

   {images}

    ... do some stuff ....

   {/images}

    ... do more some stuff ....

   {images}
   
    ... do some different stuff ....

   {/images}
        
{/exp:exhibit }

Right now the second images variable pair does not display anything. If I comment out the first images variable pair the second one work ok. This seems like it should not be difficult for the template processing to handle.

Any suggestions on how to handle this or links to code examples in the forum that could help?

       

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.