NAVIGATION
A category can contain one or many articles which will be displayed depending on the mode you choose.
An article is consisting of Article Head, Title, Subtitle, Time settings for switching visibility depending on date, Article Alias Name, Templates, Summary and pictures, one for the article itself, another one for the article listing mode, just to name a few important ones.
An Article now can contain one or many Content Parts (CPs).
Artikcle generally always output in the tag {CONTENT}.
There are two modes, the one is called article display mode, the other is the article listing mode.
You can set up the mode by going to (ADMIN→Site Structure→Categoryname) for the complete category. The field Top article count: will define, which display mode will take place within this particular category.
There is a default for a simple display mode - you'll see a preset of -1. (this simply means that by default the complete article will be displayed with all content parts).
To get into article listing mode you'll simply enter a number > 0 which ist defining the number of displayed articles. (articles of this category will now be delivered showing their “Summary”- text only one after the other. In dieser Listenübersicht werden also lediglich die Artikelköpfe (der Schlagtext und ein Bild) angezeigt ohne deren CPs).
better translate
The title of the article head must be created. It automatically the alias of the article is formed, which can be replaced with a different name.
So now this article is first on the alias of the category and second on the alias of the article available.
This mode is certainly the most in use.
In the category the point top article count: is set to -1 (default).
site structure and article list
This is the minimum configuration of the article. For the article detail display mode, no additional settings are required.
This mode is to be ideally over e.g. represented products or pieces of news in an overview briefly and scarcely.
In the category top article count: is set to >1 (eg, 10).
If the article and the following CPs are not to be visible during editing or creating in the FE, then may status: public [] in the article not set (down center).
Condition:
In config/phpwcms/conf.inc.php set $phpwcms['SESSION_FEinit'] = 1;.
Page template:
<div id="outer"> {CONTENT} </div>
Article template:
<div id="outer"> <div class="list-item">entry 1</div> <div class="list-item">entry 2</div> <div class="list-item">entry 3</div> </div>
CSS:
#outer .list-item { /* whatever */ }
List-mode tags:
<!--IF_LIST_MODE_START//--><div class="list-items"><!--IF_LIST_MODE_END//--> <!--ELSE_LIST_MODE_START//--><div class="full-article"><!--ELSE_LIST_MODE_END//--> {CONTENT} <!--ELSE_LIST_MODE_START//--></div><!--ELSE_LIST_MODE_END//--> <!--IF_LIST_MODE_START//--></div><!--IF_LIST_MODE_END//-->