Page 1 of 1
how to limit article menu content part...?
Posted: Wed 9. Jan 2008, 00:59
by baklavoni
is there any way to limit number of articles shown at frontend, with use of article menu content part?
and this is what i need to get (limited to 5 latest articles):
i need to limit articles shown only on one page, while at all others it need to show all available articles...
any idea?
thanks
Re: how to limit article menu content part...?
Posted: Wed 9. Jan 2008, 01:25
by breitsch
@baklavoni
use {NEW:x} Replacementtag for that, see here, scroll a bit down:
http://www.phpwcms-docu.de/link_tags.phtml
Re: how to limit article menu content part...?
Posted: Wed 9. Jan 2008, 12:59
by baklavoni
Thanks breitsch,
This is exactly what I was looking for!
phpwcms rocks!
Re: how to limit article menu content part...?
Posted: Sat 2. Feb 2008, 20:12
by baklavoni
How can I make this article list without showing date of its creation (in red block on attached picture).
Re: how to limit article menu content part...?
Posted: Sat 2. Feb 2008, 20:51
by flip-flop
Hi, please have a look
conf.template_default.inc.php wrote:// new articles
$template_default['news']['before'] = '<div class="news">';
$template_default['news']['after'] = '</div>';
$template_default['news']['link_before'] = '<p>';
$template_default['news']['link_after'] = '</p>';
$template_default['news']['link_symbol'] = '';
$template_default['news']['link_target'] = '';
$template_default['news']['link_length'] = 0; //if 0 no limit
$template_default['news']['cut_title_add'] = '…';
$template_default['news']['date_language'] = 'DE'; // DE=German, IT=Italian, FR=French, ES = Spanish, DA = Danish, NO = Norwegian
$template_default['news']['date_format'] = 'd.m.Y'; //if empty -> no Date Y/m/d
$template_default['news']['date_before'] = '<span class="datelink">';
$template_default['news']['date_after'] = ' - </span>';
$template_default['news']['sort_by'] = 'cdate'; // 'cdate' = Creation date, or 'udate' = update date, ldate = start date, kdate = end date
Knut
Re: how to limit article menu content part...?
Posted: Sun 3. Feb 2008, 01:53
by baklavoni
Knut,
once again you helped me

This is exactly what I was looking for.
Thanks a lot!
I owe you a beer
