Why does this work?
{exp:channel:entries entry_id="48"}
but this not?
{preload_replace:eId='48'}
{exp:channel:entries entry_id="{eId}”}
Thanks!
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
May 26, 2012 9:13pm
Subscribe [2]#1 / May 26, 2012 9:13pm
Why does this work?
{exp:channel:entries entry_id="48"}
but this not?
{preload_replace:eId='48'}
{exp:channel:entries entry_id="{eId}”}
Thanks!
#2 / May 29, 2012 1:38pm
Hi sandyyu,
ExpressionEngine’s Parse Order allows for this, you just need to change this:
{preload_replace:eId="48"}
{exp:channel:entries entry_id="{eId}"}Check out Low’s post on using Preload Replace and Snippets in templates. Very informative!
Cheers,
#3 / Jul 01, 2012 6:41pm
Sorry - this was sent prematurely.
#4 / Jul 02, 2012 3:34pm
Hey sandyyu,
No worries.
Is there anything else we can help with?
Cheers,