Get attribute value from a topic category
Permalink
Hello guys,
I have a loop on my template that creates divs based on attributes gathered from my page.
For exemple, this code is working for me:
$sections = $c->getCollectionAttributeValue('position');
and then I create divs using $sections var.
But I'm using selection attribute type and instead I wanted $sections to be a list of a topics from a specific category.
Could someone give me a hint how to do this?
thanks!
I have a loop on my template that creates divs based on attributes gathered from my page.
For exemple, this code is working for me:
$sections = $c->getCollectionAttributeValue('position');
and then I create divs using $sections var.
But I'm using selection attribute type and instead I wanted $sections to be a list of a topics from a specific category.
Could someone give me a hint how to do this?
thanks!