Question:
I am trying to embed a template inside another container, such as:
{exp:weblog:entries...}
{ embed="templategroup/templatename"}
{/exp:weblog:entries}
But nothing gets shown, why?
Answer:
This is not an appropriate use of the embed tags. You can’t embed templates within tags. Embeds are considered template elements, not tag elements.
If you are just trying to pass a small snippet of information, then a user defined global variable would be far more appropriate.
There are exceptions to this with the ability to pass variables via embeds.
Category:Troubleshooting Category:Templates Category:Embeds
