NAVIGATION
This shows you the differences between two versions of the page.
english:phpwcms_replacer_rts:frontend_render:article-move-into-archive [2009/07/29 00:40] Knut Heermann (flip-flop) |
english:phpwcms_replacer_rts:frontend_render:article-move-into-archive [2018/06/03 18:09] (current) |
||
---|---|---|---|
Line 14: | Line 14: | ||
If you don´t like this behavior, please open the switch **[ ] Archive** in category. Thus the script runtime increases a little, since the database must be addressed immediately. With small sides (number of articles < 300) that is uncritical. | If you don´t like this behavior, please open the switch **[ ] Archive** in category. Thus the script runtime increases a little, since the database must be addressed immediately. With small sides (number of articles < 300) that is uncritical. | ||
- | Eine Navigation für abgelaufenen Artikeln im Archive ist hier verfügbar: Artikelmenü (+Archiv) | ||
A navigation for terminated articles in archive are available: [[english/phpwcms_replacer_rts/frontend_render/article-menu-archive]] | A navigation for terminated articles in archive are available: [[english/phpwcms_replacer_rts/frontend_render/article-menu-archive]] | ||
Line 40: | Line 39: | ||
**CMS version:** >= 1.3.x \\ | **CMS version:** >= 1.3.x \\ | ||
**Version:** V1.0 \\ | **Version:** V1.0 \\ | ||
+ | <code txt|h Update |h> | ||
+ | **27.12.09 KH** | ||
+ | $content['list_mode'] == true | ||
+ | changed to | ||
+ | $content['struct'][$content['cat_id']]['acat_topcount'] > 1 | ||
+ | </code> | ||
Line 65: | Line 70: | ||
26.07.09 V1.0 Knut Heermann (flip-flop) http://planmatrix.de | 26.07.09 V1.0 Knut Heermann (flip-flop) http://planmatrix.de | ||
+ | |||
+ | 27.12.09 Update KH: | ||
+ | $content['listmode'] == true | ||
+ | changed to | ||
+ | $content['struct'][$content['cat_id']]['acat_topcount'] > 1 | ||
Bedingung // Condition: | Bedingung // Condition: | ||
Line 101: | Line 111: | ||
// Nur ausfuehren wenn der Listenmodus in der Kategorie eingeschaltet und die angegebene Kategorie aktiv ist | // Nur ausfuehren wenn der Listenmodus in der Kategorie eingeschaltet und die angegebene Kategorie aktiv ist | ||
// Only run if list mode in category is true and the specified category is active | // Only run if list mode in category is true and the specified category is active | ||
- | if( $content['list_mode'] == true && $content['cat_id'] == $my_article_cat) { | + | // if( $content['list_mode'] == true && $content['cat_id'] == $my_article_cat) { |
+ | |||
+ | // Update 27.12.09 KH: | ||
+ | // Nur ausfuehren wenn in der Kategorie "Anzahl an Top-Artikeln:" > 1 und die angegebene Kategorie aktiv ist | ||
+ | // Only run if in category "top article count:" > 1 and the specified category is active | ||
+ | if( ($content['struct'][$content['cat_id']]['acat_topcount'] > 1) && ($content['cat_id'] == $my_article_cat) ) { | ||
$article = array(); | $article = array(); |