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

PDF Plugin not parsing embeds

Development and Programming

Brent Cartier's avatar
Brent Cartier
87 posts
17 years ago
Brent Cartier's avatar Brent Cartier

I’m experimenting creating a ‘PDF Version’ plugin using TCPDF. When I try grab the $TMPL->tagdata, it’s not parsing the embedded templates -just displaying the actual {embed="x"} tags in the resulting pdf. Here’s what I’m trying:

{exp:pdf_version}
   {exp:weblog:category_heading weblog="links"  parse="inward"}
      <h1>{category_name}</h1>
      {category_description}

      {embed="includes/.display_collection" collection="{collection}"}
      {embed="includes/.display_subcats" mycat="{category_id}"}

   {/exp:weblog:category_heading}
{/exp:pdf_version}

I’m very new to plugins, but I assume it’s a parse order issue? I tried setting PHP parsing to input and output with the same result.

Any help would be really appreciated. Thanks!

       
richhayler's avatar
richhayler
53 posts
17 years ago
richhayler's avatar richhayler

This sounds like a really cool plugin, I really hope you get some feedback as I would love to see this materialize.

       

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.