Skinning and designing Serendipity (CSS, HTML, Smarty)
-
reinhardl
- Regular
- Posts: 258
- Joined: Wed Jun 20, 2007 8:54 am
- Location: Germany
Post
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
-
reinhardl
- Regular
- Posts: 258
- Joined: Wed Jun 20, 2007 8:54 am
- Location: Germany
Post
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"}