NAVIGATION
This shows you the differences between two versions of the page.
english:phpwcms-system:article [2010/07/03 10:24] Knut Heermann (flip-flop) |
english:phpwcms-system:article [2018/06/03 18:09] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
====== ARTICLE ====== | ====== ARTICLE ====== | ||
- | FIXME translate | + | |
==== How articles are made up ==== | ==== How articles are made up ==== | ||
Line 12: | Line 12: | ||
An Article now can contain one or many Content Parts (CPs). | An Article now can contain one or many Content Parts (CPs). | ||
+ | |||
+ | Artikcle generally always output in the tag {CONTENT}. | ||
Line 21: | Line 23: | ||
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)//. | 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)//. | + | 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 this list overview only the article heads (the "Summary"- text and a picture) is displayed without their CPs)//. |
+ | |||
+ | If you have e.g. 8 articles and in "top article count:" the number of ##2## is selected, the "Summary"- text of the first 2 article is displayed. The other 6 articles are only displayed by a simple link. | ||
+ | |||
+ | {{:deutsch:phpwcms-system:seitenstruktur_artikelliste_be_artikelliste_fe.gif|}} | ||
+ | |||
+ | \\ | ||
+ | |||
Line 33: | Line 43: | ||
So now this article is first on the alias of the category and second on the alias of the article available. | So now this article is first on the alias of the category and second on the alias of the article available. | ||
- | ==== Mode: Article display ==== | + | ==== Mode: Article detail display ==== |
This mode is certainly the most in use. | This mode is certainly the most in use. | ||
Line 45: | Line 55: | ||
* If the article is created, now the different **content parts** (CPs) can be selected and filled with content. | * If the article is created, now the different **content parts** (CPs) can be selected and filled with content. | ||
- | This is the minimum configuration of the article. For the **article display** mode, no additional settings are required. | + | This is the minimum configuration of the article. For the **article detail display** mode, no additional settings are required. |
==== Mode: Article list display ==== | ==== Mode: Article list display ==== | ||
Line 52: | Line 62: | ||
In the category ##top article count:## is set to ##>1## (eg, ##10##). \\ | In the category ##top article count:## is set to ##>1## (eg, ##10##). \\ | ||
- | * For the article creation from the principle the same is valid as under **Article display**, with the difference that within a category (side level) several articles are put on (should). | + | * For the article creation from the principle the same is valid as under **Article detail display**, with the difference that within a category (side level) several articles are put on (should). |
- | * In list mode is the head of each article of particular importance. The output of the article is placed with start and end date in a time window. | + | * In article list mode is the head of each article of particular importance. The output of the article is placed with start and end date in a time window. |
- | *For the list and detailed view of each, separate templates can be integrated. (Found in /template/inc_cntpart/articlesummary/list/* or /article/* ). | + | * For the list and detailed view of each, separate templates can be integrated. (Found in /template/inc_cntpart/articlesummary/list/* or /article/* ). |
- | * The summary text (from the wysiwyg editor) can be limited to a specified number of characters and are provided with a ##more ...## Link. //(Only the truncated (limited) article summary text is displayed in the **Article list output**. With one click on ##more...## the entire article with the image in ##article detail## and its CPs (if available) spent). // | + | |
+ | * **Limted summary text:** | ||
+ | * The summary text (from the wysiwyg editor) can be limited to a specified number of characters and are provided with a ##more ...## Link. | ||
+ | * Since version 1.5 r427 the string ##%%-//-%%## can also be used as a delimiter in the text. | ||
+ | * Only the truncated (limited) article summary text is displayed in the **Article list output**. \\ With one click on ##more...## the entire article with the image in ##article detail## and its CPs //(if available)// spent. | ||
+ | <note important> | ||
+ | **Hidden editing articles and CPs:** | ||
+ | |||
+ | 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;##. | ||
+ | </note> | ||
<note tip> | <note tip> | ||
If the image is not enlarged in the article list mode, just click on this image to view the details (complete presentation of the article) to be delivered. | If the image is not enlarged in the article list mode, just click on this image to view the details (complete presentation of the article) to be delivered. | ||
</note> | </note> | ||
+ | |||
\\ | \\ | ||
Line 92: | Line 114: | ||
\\ | \\ | ||
- | **List-mode tags:** | + | **List-mode tags in main template:** |
<code html> | <code html> | ||
<!--IF_LIST_MODE_START//--><div class="list-items"><!--IF_LIST_MODE_END//--> | <!--IF_LIST_MODE_START//--><div class="list-items"><!--IF_LIST_MODE_END//--> |