Following a tutorial to pass global variables to embedded templates - succeeded for one install of EE. Attempting the same procedure for another website - cannot get the weblog to filter based on selected category. Any ideas where the difference could be - what am I leaving out?
On weblog index template, assigning the variables:
{assign_variable:my_weblog="weblog"}
{assign_variable:my_template_group="weblog"}
{assign_variable:my_embedded_template_group="embeds"}
{assign_variable:my_index_template=""}
{assign_variable:my_comments_template="comments"}
{embed="{my_embedded_template_group}/html_header" my_page_title="Weblog"}and passing to embedded templates:
{embed="{my_embedded_template_group}/weblog_categories" the_index_template="{my_index_template}" the_template_group="{my_template_group}" the_weblog="{my_weblog}"}
{embed="{my_embedded_template_group}/monthly_archives" the_index_template="{my_index_template}" the_template_group="{my_template_group}" the_weblog="{my_weblog}"}From embedded template:
{exp:weblog:categories weblog="{embed:the_weblog}" style="linear"}
<li <a href="http://{homepage}/{embed:the_template_group}/category/{category_url_title}/">{category_name}</a></li>
{/exp:weblog:categories}