Trimmer plugin breaks magpie
Posted: 23 March 2008 10:07 PM   [ Ignore ]  
Grad Student
Rank
Total Posts:  35
Joined  02-11-2008

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.

 Signature 

Eli Van Zoeren
http://elivz.com

Profile
 
 
Posted: 25 March 2008 10:38 AM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  155
Joined  10-26-2007

@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://expressionengine.com/forums/viewthread/72070/

J

 Signature 

http://www.flashgamer.com
http://twitter.com/jenschr

Profile
 
 
Posted: 25 March 2008 01:28 PM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  35
Joined  02-11-2008

Thanks, Jensa, that did the trick.

-Eli

 Signature 

Eli Van Zoeren
http://elivz.com

Profile