Hi,
How do I assign a variable in a weblog?
{assign_variable:variable_name="value"}
This is what I want to do:
{exp:weblog:entries weblog="products"}
{categories}
{variable_name} = {category_id}
{/categories}
{/exp:weblog:entries}And later down in the template i want to use the category_id stored in {variable_name} in another weblog as a category parameter like this:
{exp:weblog:entries weblog="external_articles" category="{variable_name}"}All I want is to know what category the product belongs to and then show all external articles the belong to the same category.
Thanks in advance!