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

Trimmer plugin breaks magpie

Development and Programming

EliVZ's avatar
EliVZ
37 posts
17 years ago
EliVZ's avatar EliVZ

Maybe I am missing something, but using the Trimmer plugin inside my Magpie block breaks Magpie. My code is:

{exp:trimmer left="3" right="4"}{description}{/exp:trimmer}

I am trying to cut the paragraph tags off the ends of the description, but instead I get “script”, which threw me of for a while, until I realized that “script” is “{description}” with the first 3 and the last 4 characters cut off.

So how do I get EE to process the Magpie tag before the Trimmer tag? Am I doing something really stupid here? Thanks.

       
jensa's avatar
jensa
109 posts
17 years ago
jensa's avatar jensa

@EliVZ Check out this page http://expressionengine.com/docs/templates/plugins.html and look for: parse=”inward”. You can find an example with Magpie here:

http://ellislab.com/forums/viewthread/72070/

J

       
EliVZ's avatar
EliVZ
37 posts
17 years ago
EliVZ's avatar EliVZ

Thanks, Jensa, that did the trick.

-Eli

       

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.