I’m working on a plugin to display entries with a reverse relationship to the selected entry. I started to use the reverse_related_entries tag until I found that it is not possible to filter the entries returned by category or other properties.
the default variable names for the related entries are available within reverse_related_entries tag, but don’t seem to be within my plugin’s tag.
{exp:weblog:entries weblog="weblogname"}
<h2>{title}</h2>
{exp:related:reverse category="{category_id}" entry_id="{entry_id}"}
<h3>{title}</h3>
{/exp:related:reverse}
{/exp:weblog:entries}
with the above code, the $TMPL->tagdata variable has the actual value for {title} of the entry determined by the exp:weblog:entries tag.
I do understand I can use a different variable name within the custom tag, but I’d much prefer to use the real variable name, for the sake of cleanliness or whatever.
is this possible?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.