So I have code something like this
{exp:channel:entries channel="page|news" disable="categories|category_fields|member_data|pagination"}
{!-- do some things here --}
{exp:channel:entries channel="mychannel" dynamic="no" limit="1" orderby="random" category="not 90"}
This is the title: {title}
{/exp:channel:entries}
{/exp:channel:entries}These are nested channel entry tags, but they are not pulling from the same channel… the inside tag is pulling from “mychannel”. But {title} is returning the outside channel title (the one from “page|news” channels…) If I move the inside channel entries tag outside of the other channel entries tag so that it’s not nested, then everything works as expected…
Is there any way to have it the way I currently have it and still be able to reference the inside tags like {title}? I know I can do it with embeds, but I want to avoid the performance hit… Is there a way to do it without embeds? Thanks!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.