I am trying to set a variable for the entry id for use in:
{exp:channel:entries channel="channelname" entry_id="{embed:foo}” dynamic=“no” require_entry=“yes” limit=“1” disable=“pagination|member_data|categories|category_fields”}<title>{title}</title>{/exp:channel:entries}
I can use {segment_3} for example without issue.
I try to set
{preload_replace:foo="12345"} and it doesnt worked with {embed:foo} or just {foo}
I wrote a plugin that returns the value—{exp:entryid}
That will output the number but it doesn’t seem to stick on the entry_id variable.
I suspect its something simple I am doing wrong but at this point I am just going in circles.
In the plugin I return the value—$this->return_data = “12345”;
Any tips or insight is much appreciated.
Thanks!