NAVIGATION
This shows you the differences between two versions of the page.
|
english:phpwcms-system:article [2010/07/03 09:47] 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. | ||
| - | === Der Artikelkopf: === | + | {{:deutsch:phpwcms-system:seitenstruktur_artikelliste_be_artikelliste_fe.gif|}} |
| - | FIXME | + | |
| + | \\ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | === The article head: === | ||
| + | FIXME 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. | 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. | ||
| 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. | ||
| - | ==== Modus: Artikeldarstellung ==== | + | ==== Mode: Article detail display ==== |
| - | Dieser Modus wird sicher am häufigsten verwendet. | + | This mode is certainly the most in use. |
| - | In der Kategorie ist ##Anzahl an Top-Artikeln:## auf ##-1## eingestellt (Voreinstellung). \\ | + | In the category the point ##top article count:## is set to ##-1## (default). \\ |
| - | * Unter **ARTIKEL->Seitenstruktur und Artikelliste** //(die Struktur ist wie unter ADMIN->Seitenstruktur abgebildet)// wird nun der Artikel mit ##+## angelegt. | + | site structure and article list |
| - | * Verlangt wird in jedem Fall der Titel, damit ein Alias generiert werden kann. | + | |
| - | * Der Artikel muss auf ##[x] sichtbar## gestellt werden (unten links). | + | |
| - | * Ist der Artikel angelegt, können nun die verschiedenen **Contentparts** (CPs) ausgewählt und befüllt werden. | + | |
| - | Dies ist die Minimalkonfiguration des Artikels. Für den Modus **Artikeldarstellung** sind keine zusätzlichen Einstellungen notwendig. | + | |
| - | ==== Modus: Artikellistendarstellung ==== | + | * In **ARTICLE->site structure and article list** //(The structure is shown at ADMIN->site structure)// the article now is created with ##+##. |
| - | Dieser Modus ist ideal um z.B. Produkte oder Neuigkeiten in einer Übersicht kurz und knapp darzustellen. | + | * In each case the title is required, so that an alias can be generated. |
| + | * The article must be switched to ## [x] visible## (at the bottom left hand corner). | ||
| + | * If the article is created, now the different **content parts** (CPs) can be selected and filled with content. | ||
| - | In der Kategorie ist ##Anzahl an Top-Artikeln:## auf ##>1## eingestellt (z.B. ##10##). \\ | + | This is the minimum configuration of the article. For the **article detail display** mode, no additional settings are required. |
| - | * Für die Artikelerstellung gilt vom Prinzip her das selbe wie unter **Artikeldarstellung**, mit dem Unterschied, dass innerhalb einer Kategorie (Seitenebene) mehrere Artikel angelegt werden (sollten). | + | |
| - | * In Listenmodus kommt dem einzelnen Artikelkopf eine besondere Bedeutung zu. Die Ausgabe des Artikels wird mit Start- und Enddatumin in ein Zeitfenster gelegt. | + | |
| - | * Für die Listen- und Detaildarstellung können jeweils separate Vorlagen eingebunden werden. (Zu finden in /template/inc_cntpart/articlesummary/list/* oder /article/* ). | + | |
| - | * Der Schlagtext (aus dem wysiwyg-Editor) kann auf eine bestimmte Anzahl Zeichen begrenzt und mit einem ##Weiter...## Link versehen werden. //(Nur dieser abgeschnittene (begrenzte) Artikelschlagtext wird in der **Artikellistendarstellung** ausgegeben. Bei einem Klick auf ##weiter...## würde der gesamte Artikel mit dem Bild unter ##Artikeldetail## und seine CPs (wenn vorhanden) ausgegeben).// | + | |
| + | ==== Mode: Article list display ==== | ||
| + | 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##). \\ | ||
| + | * 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 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/* ). | ||
| + | |||
| + | * **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> | ||
| - | Wird das Bild im Artikellistenmodus nicht vergrößert, reicht ein Klick auf dieses Bild, um die Details (komplette Darstellung des Artikels) auszuliefern. | + | 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 87: | 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//--> | ||