Hello,
I’m trying something that I suppose it should be easy… let’s see:
a. Two weblogs: japan | korea
b. One group category (countries [1]) including this categories: Weather | Population | Politics
c. Both weblog have the same group category assigned.
d. In the index page I want to show two lists:
:: Japan ::
Weather [C1]
Population [C2]
Politics [C3]
:: Korea ::
Weather [C4]
Population [C5]
Politics [C6]
* Note: Category numbers [Cn] are not shown on the page.
——————————————————
This the code is embedded on the index page using {embed="includes/side-content"}. I suppose that I’m missing something because it’s not working:
—- includes/side-content—-
{assign_variable:my_weblog="default_site|japan|korea"}
{assign_variable:my_template_group="site"}
<div class="leftBox">
<h4>Japan</h4>
<p>{exp:weblog:categories weblog="{japan}" category_group="1" style="nested"}<br />
<a href="http://{path={my_template_group}/category}">{category_name}</a><br />
{/exp:weblog:categories}</p>
<p></div></p>
<p><div class="rightBox"><br />
</p><h4>Korea</h4>
<p>{exp:weblog:categories weblog="{korea}" category_group="1" style="nested"}<br />
<a href="http://{path={my_template_group}/category}">{category_name}</a><br />
{/exp:weblog:categories}</p>
<p></div>
—-
Thank you.