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

embeds in entries with Allow eecode

Development and Programming

designbuddy's avatar
designbuddy
6 posts
14 years ago
designbuddy's avatar designbuddy

Hi there,

I am trying to use embed variables within an entry, I load up a template as an embed and can pass the variables into the template but not into the entries, all of my ee code works within the entry using allow eecode except for the embeds…. any help?

here’s my template:

{exp:allow_eecode embed=“y”}
       {embed:current_time}
       {copy}
{/exp:allow_eecode}

and here’s the code for the entry field copy:

{exp:channel:entries channel="links" entry_id="23" dynamic="no"}<a href="http://{site_url}link/{mask}">{default_offer_text}_{start_date}_{expire_date}<br>{embed:current_time}</a>{/exp:channel:entries}

embed works in the template but not in the entry - can anyone help?

       
the3mus1can's avatar
the3mus1can
426 posts
14 years ago
the3mus1can's avatar the3mus1can

Check your embed syntax.

       

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.