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
how to limit article menu content part...?
how to limit article menu content part...?
There is no page like home page...
Re: how to limit article menu content part...?
@baklavoni
use {NEW:x} Replacementtag for that, see here, scroll a bit down:
http://www.phpwcms-docu.de/link_tags.phtml
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...?
Thanks breitsch,
This is exactly what I was looking for!
phpwcms rocks!
This is exactly what I was looking for!
phpwcms rocks!
There is no page like home page...
Re: how to limit article menu content part...?
How can I make this article list without showing date of its creation (in red block on attached picture).
- Attachments
-
- block.jpg (16.26 KiB) Viewed 2205 times
There is no page like home page...
Re: how to limit article menu content part...?
Hi, please have a look
Knutconf.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
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Re: how to limit article menu content part...?
Knut,
once again you helped me
This is exactly what I was looking for.
Thanks a lot!
I owe you a beer
once again you helped me
This is exactly what I was looking for.
Thanks a lot!
I owe you a beer
There is no page like home page...