NAVIGATION
This shows you the differences between two versions of the page.
|
english:phpwcms_replacer_rts:frontend_render:article-move-into-archive [2009/10/07 10:34] Knut Heermann (flip-flop) |
english:phpwcms_replacer_rts:frontend_render:article-move-into-archive [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 39: | 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 64: | 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 100: | 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(); | ||