Hi:
I have run into this a few times now. When I try to dynamically pass an ID to an EE weblog tag, it doesn’t work. Example:
{exp:weblog:entries weblog="requests" category="78" dynamnic="off" status="open" entry_id="<? echo($row["entry_id"]); ?>"}This code returns no results. If I remove the entry_id parameter, the entire list shows up as expected. If I ‘break’ the tag, the ID shows up as expected:
{ exp:weblog:entries weblog="requests" category="78" dynamnic="off" status="open" entry_id="23841"}So it appears that the EE tag is being evaluated before the PHP code (as: entry_id=”“), but changing the Parse Order (input/output) makes no difference. Is it possible to ensure that the PHP code runs first?
Any help would be appreciated.
Scott
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.