On my Homepage I display only the titles with "see more".
On a detailpage I display the whole newsarticles.
That works fine.
My problem: I want to display on every page the newstitles, but only for one category.
for example: page "dog" only the newsitems with category "dog", page "cat" only the newsitems with category "cat".
So the code is than
Code: Select all
{news number='5' category='dog'} for the page "dog"
{news number='5' category='cat'} for the page "cat"
Something like this (but it doesn't work)
Code: Select all
{news number='5' category=$page-alias}