Page 1 of 1

serendipity_fetchPrintEntries

Posted: Mon May 03, 2010 3:48 pm
by reinhardl
hi,
I want to change

Code: Select all

{serendipity_fetchPrintEntries category=$template_option.catfeat full=true fetchDrafts=false noSticky=true limit="0,3" template="entries_lcol.tpl"}
to

Code: Select all

{serendipity_fetchPrintEntries category=$template_option.catfeat full=true fetchDrafts=false noSticky=true limit="0,$template_option.catcount" template="entries_lcol.tpl"}

but that doesn`t work. Any idea?

thanks ;-)
Reinhard

Re: serendipity_fetchPrintEntries

Posted: Mon May 03, 2010 4:01 pm
by reinhardl
Solved:

Code: Select all

		{assign var=anzahl value='0,'+'$template_option.catcount'}
            {serendipity_fetchPrintEntries category=$template_option.catfeat full=true fetchDrafts=false noSticky=true limit=$template_option.catcount template="entries_lcol.tpl"}