Here’s a summarised version of our issue.
We have a plugin that pulls various fields out of a query.
They are then pushed to the template via this method - for example, for author name.
$tagdata = $TMPL->swap_var_single($key, $row[‘author’], $tagdata);
Then our template code for example is:
{exp:entrylinks orderby="latest" weblog="{my_weblog}” parse=”inward”} {author} {/exp:entrylinks}
Unfortunately, when this returns multiple rows, and multiple authors, the Author name will not change.
e.g. if our result set is Jim, Harry, Jim, Ben
EE will output
Jim, Jim, Jim, Jim
Is there a method of variable flushing or something like that, which has been overlooked?
Moved to Plugins: Technical Assistance by Moderator
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.