NAVIGATION
This shows you the differences between two versions of the page.
english:phpwcms-system:article:templates:article-list:paginate-and-float [2009/12/25 21:59] Knut Heermann (flip-flop) created |
english:phpwcms-system:article:templates:article-list:paginate-and-float [2018/06/03 18:09] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
{{indexmenu_n>10}} | {{indexmenu_n>10}} | ||
- | ====== Artikel paginieren und float ====== | + | ====== Article paginate and float ====== |
- | FIXME translate | ||
- | Es besteht die Möglichkeit, Artikel aus der Listendarstellung heraus zu paginieren, z.B. von 6 vorhandenen Artikeln jeweils 3 auf einer Seite anzuzeigen. | + | It is possible to paginate articles in list view, e.g. display 3 of 6 existing articles on one page and the other 3 on the next page. |
+ | |||
+ | ---- | ||
**Docu:** -- \\ | **Docu:** -- \\ | ||
Line 11: | Line 12: | ||
**Forum:** [[http://forum.phpwcms.org/viewtopic.php?p=115328#p115328|Articlelisting zweispaltig]] \\ | **Forum:** [[http://forum.phpwcms.org/viewtopic.php?p=115328#p115328|Articlelisting zweispaltig]] \\ | ||
- | **Autor:** K.Heermann (flip-flop) http://planmatrix.de //2009/12/25 // \\ | + | **Author:** K.Heermann (flip-flop) http://planmatrix.de //2009/12/25 // \\ |
**CMS Version:** >= V1.3x \\ | **CMS Version:** >= V1.3x \\ | ||
**Version:** V1.0 \\ | **Version:** V1.0 \\ | ||
**Update:** -- \\ | **Update:** -- \\ | ||
- | **Tag:** ##**--**## | + | **Tag:** -- |
- | Dateiname: **conf.template_default.inc.php** \\ | + | Filename: **conf.template_default.inc.php** \\ |
- | Verzeichnis: ** /config/phpwcms/ ** | + | Folder: ** /config/phpwcms/ ** |
Line 26: | Line 27: | ||
- | **Bedingung:** | + | **Condtion:** -- |
\\ | \\ | ||
---- | ---- | ||
Line 32: | Line 33: | ||
\\ | \\ | ||
- | ===== Paginieren ===== | + | ===== Paginate ===== |
Line 40: | 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 49: | 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 111: | 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 128: | 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 189: | 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/ ** |