NAVIGATION
This shows you the differences between two versions of the page.
english:phpwcms_replacer_rts:frontend_render:newx [2012/02/15 08:00] Knut Heermann (flip-flop) |
english:phpwcms_replacer_rts:frontend_render:newx [2018/06/03 18:09] (current) |
||
---|---|---|---|
Line 6: | Line 6: | ||
===== {NEWX: Counter : category-IDs : Keywords : Mode [hidden categories]} ===== | ===== {NEWX: Counter : category-IDs : Keywords : Mode [hidden categories]} ===== | ||
- | FIXME Beta -> TRANSLATE please test | + | FIXME TRANSLATE please test |
Original TAG [[http://www.phpwcms-docu.de/link_tags_.phtml|{NEW:Amount_of_shown_links:ID}]] enhanced to allow a search for articles keywords in different categories.. \\ | Original TAG [[http://www.phpwcms-docu.de/link_tags_.phtml|{NEW:Amount_of_shown_links:ID}]] enhanced to allow a search for articles keywords in different categories.. \\ | ||
Line 105: | Line 105: | ||
~~UP~~ | ~~UP~~ | ||
- | ==== Script V 0.9 ==== | + | ===== Script V 0.9 ===== |
File: template/inc_script/frontend_render/rt_newx.php | File: template/inc_script/frontend_render/rt_newx.php | ||
Line 1178: | Line 1178: | ||
- | |||
- | |||
- | |||
- | |||
- | ==== Adjustments: ==== | ||
- | |||
- | **In file:** config/phpwcms/conf.template_default.inc.php | ||
- | |||
- | **Example:** | ||
- | <code php> | ||
- | // new articles | ||
- | $template_default['news']['before'] = '<div class="new-tag">'; | ||
- | $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 | ||
- | $template_default['news']['date_before'] = '<span class="datelink"> '; | ||
- | $template_default['news']['date_after'] = ' - </span>'; | ||
- | $template_default['news']['sort_by'] = 'udate'; // 'cdate' = Creation date, or 'udate' = update date, ldate = start date, kdate = end date | ||
- | |||
- | </code> | ||
- | |||
- | |||
- | \\ | ||
Line 1238: | Line 1209: | ||
\\ | \\ | ||
- | === CSS: === | + | ==== CSS: ==== |
File: e.g. in template/inc_css/frontend.css | File: e.g. in template/inc_css/frontend.css | ||
Line 1263: | Line 1234: | ||
\\ | \\ | ||
- | |||
- | ==== CSS: ==== | ||
- | |||
- | File: e.g. in template/inc_css/frontend.css | ||
- | |||
- | **Example:** | ||
- | <code css> | ||
- | /* NEW TAG --------------------------------- */ | ||
- | |||
- | .new-tag { | ||
- | font-family: verdana; /* "Courier New", monospace; */ | ||
- | font-size:90%; | ||
- | } | ||
- | |||
- | .new-tag a { | ||
- | color: red; | ||
- | } | ||
- | |||
- | .new-tag .datelink { | ||
- | font-size:80%; | ||
- | color: darkred; | ||
- | } | ||
- | </code> | ||
- | |||
- | \\ | ||