Trimmer plugin breaks magpie
Posted: 23 March 2008 10:07 PM   [ Ignore ]  
Summer Student
Total Posts:  28
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 ]  
Grad Student
Rank
Total Posts:  100
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

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

Thanks, Jensa, that did the trick.

-Eli

 Signature 

Eli Van Zoeren
http://elivz.com

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1743, on December 02, 2009 03:47 PM
Total Registered Members: 120376 Total Logged-in Users: 56
Total Topics: 126497 Total Anonymous Users: 24
Total Replies: 665217 Total Guests: 314
Total Posts: 791714    
Members ( View Memberlist )