yep, for it works.
I thought I could just pass the current channel as a custom embedded variable to the embedded template :\
so {structure:child_listing:short_name} works but I will need to test more though because I’m not using listings ( at least yet )
However it does get me the correct channel content & seems to work at the moment.
What happened to that original tag to grab the current page’s channel?
here’s what my current code looks like btw for anyone else out for future reference for whomever it may benefit:
site/index
{embed="embeds/html_maincontent" current_channel="{structure:child_listing:short_name}" mypet="cat" the_url_title="{structure:top:slug}"}
embeds/html_maincontent:
{exp:channel:entries channel="{embed:current_channel}" url_title="{embed:the_url_title}" pet="{embed:mypet}" disable="categories|member_data|pagination" sort="asc" }
The Current Channel as channel_short_name is {channel_short_name}
The Current Channel as channel is {channel}
The Current Channel as embed:current_channel is {embed:current_channel}
The Current Channel as embed:channel is {embed:channel}
My Pet as pet is {pet}
My Pet as embed:mypet is {embed:mypet}
Title as title is {title}
Title as url_title is {url_title}
Title as embed:the_url_title is {embed:the_url_title}
Pagebody as page_body is {page_body}
{/exp:channel:entries}
Which returns:
The Current Channel as channel_short_name is contact
The Current Channel as channel is Contact
The Current Channel as embed:current_channel is
The Current Channel as embed:channel is
My Pet as pet is {pet}
My Pet as embed:mypet is cat
Title as title is Contact
Title as url_title is contact
Title as embed:the_url_title is contact
Pagebody as page_body is
“WOOT Content is showing up!”