NAVIGATION
This shows you the differences between two versions of the page.
|
english:phpwcms-system:article:templates:article-list:paginate-and-float [2010/03/29 06:42] Knut Heermann (flip-flop) |
english:phpwcms-system:article:templates:article-list:paginate-and-float [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 33: | Line 33: | ||
| \\ | \\ | ||
| - | ===== Paginieren ===== | + | ===== Paginate ===== |
| Line 41: | Line 41: | ||
| - | **Frontendausgabe 01:** \\ | + | **Frontend output 01:** \\ |
| {{:deutsch:phpwcms-system:artikel:vorlagen:artikel-liste:article_float_and_pagination_fe_1.gif|}} | {{:deutsch:phpwcms-system:artikel:vorlagen:artikel-liste:article_float_and_pagination_fe_1.gif|}} | ||
| Line 50: | Line 50: | ||
| ==== Backend: ==== | ==== Backend: ==== | ||
| - | **ARTIKEL** \\ | + | **ARTICLE** \\ |
| {{:deutsch:phpwcms-system:artikel:vorlagen:artikel-liste:article_float_and_pagination_be_1.gif|}} | {{:deutsch:phpwcms-system:artikel:vorlagen:artikel-liste:article_float_and_pagination_be_1.gif|}} | ||
| - | **Annahme:** 6 Artikel vorhanden, 3 sollen pro Seite angezeigt werden. | + | **Adoption:** 6 Articles existing, 3 to display per page. |
| - | **ADMIN -> Seitenstruktur -> Kategorie** \\ | + | **ADMIN -> site structure -> category** \\ |
| {{:deutsch:phpwcms-system:artikel:vorlagen:artikel-liste:article_float_and_pagination_be_01_1.gif|}} | {{:deutsch:phpwcms-system:artikel:vorlagen:artikel-liste:article_float_and_pagination_be_01_1.gif|}} | ||
| - | Dazu wird bei eingeschalteter Paginierung eine eigene Navigation eingeblendet. | + | For this it is displayed a separate Navigation if pagination is turned on. |
| - | Diese Navigation wird in der Datei **/config/phpwcms/conf.template_default.inc.php** konfiguriert: | + | This menu is configured in the file **/config/phpwcms/conf.template_default.inc.php**: |
| - | ==== Beispiel Nr. 1 ==== | + | ==== Example No. 1 ==== |
| === Code === | === Code === | ||
| Line 112: | Line 112: | ||
| \\ | \\ | ||
| - | ==== Beispiel Nr. 2 ==== | + | ==== Example No. 2 ==== |
| - | - mit **{NAVI:123, .....** | + | - with **{NAVI:123, .....** |
| {{:deutsch:phpwcms-system:artikel:vorlagen:artikel-liste:article_float_and_pagination_fe_03_1.gif|}} | {{:deutsch:phpwcms-system:artikel:vorlagen:artikel-liste:article_float_and_pagination_fe_03_1.gif|}} | ||
| Line 129: | Line 129: | ||
| </code> | </code> | ||
| \\ | \\ | ||
| - | Der sebstkreierte Tag **{ART_PAGI_NAV}** ist ein Ersetzer für die Paginierungs-Navi. | + | |
| - | Der Tag kann irgendwo in der Vorlage platzieren werden, an der die Paginierungs-Navi stehen soll. | + | The self created tag **{ART_PAGI_NAV}** is a replacer for the pagination navigation. \\ |
| + | The tag can be placed anywhere in the template, at which the pagination Navi is to stand. | ||
| \\ | \\ | ||
| Line 190: | Line 191: | ||
| \\ | \\ | ||
| - | ===== Artikel float ===== | + | ===== Article float ===== |
| - | **Annahme:** Der den Content umschließende Container hat eine Breite von 700px. \\ | + | **Adoption:** The content of the enclosing container has a width of 700px. \\ |
| - | Die Container für jeden Artikel haben eine Breite von 300px. Mit ##float: left;## reihen wir nun diese Container aneinander, bis das Breitenmaß des umschließenden Containers erreicht ist. | + | |
| + | The containers for each article have a width of 300px. With ##float: left;## now we lined the containers to each other, until the width dimension of the surrounding container is reached. | ||
| * 300px + 5px + 300px + 5px = 610px | * 300px + 5px + 300px + 5px = 610px | ||
| * 700px - 610px = 90px | * 700px - 610px = 90px | ||
| - | * Es passt also kein dritter Artikel-Container //(300px + 5px)// in den umschließenden Container //(700px)//. Somit wird der dritte Artikel-Container (und alle folgenden) in den nächsten Zeilen dargestellt. | + | * It fits so no third article container //(300px + 5px)// into the surrounding container //(700px)//. Thus, the third article-container (and all following) is shown in next lones. |
| + | |||
| + | |||
| + | |||
| + | |||
| {{:deutsch:phpwcms-system:artikel:vorlagen:artikel-liste:article_float_and_pagination_fe_02_1.gif|}} | {{:deutsch:phpwcms-system:artikel:vorlagen:artikel-liste:article_float_and_pagination_fe_02_1.gif|}} | ||
| - | //(Siehe auch Bilder oben "Frontendausgabe")//. | + | //(See pictures above ("front output")//. |
| \\ | \\ | ||
| - | Dateiname: **list_float01.tmpl** \\ | + | Filename: **list_float01.tmpl** \\ |
| - | Verzeichnis: ** /template/inc_cntpart/articlesummary/list/ ** | + | Folder: ** /template/inc_cntpart/articlesummary/list/ ** |