NAVIGATION
This shows you the differences between two versions of the page.
|
english:phpwcms-system:article:contentparts:filelist [2009/08/28 21:29] Knut Heermann (flip-flop) |
english:phpwcms-system:article:contentparts:filelist [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| FIXME translate | FIXME translate | ||
| - | Mit dem [[http://www.phpwcms-docu.de/index.php?aid=128&highlight=dateiliste|Content Part "Dateiliste"]] können Dateien aus der Dateizentrale zum Download angeboten werden. | + | Using the [[http://www.phpwcms-docu.de/content_part_file_list.phtml|content part "File list"]] you can offer files from the file center for download. |
| - | Seit der [[http://code.google.com/p/phpwcms/source/list?start=354|Version V1.4.2 r354]] ist es nun möglich, eine Bildvorschau mit Hilfe der LightBox zu generieren. | + | Since [[http://code.google.com/p/phpwcms/source/list?start=354|version V1.4.2 r354]] it is possible to generate a picture preview with the help of the LightBox. |
| - | Außerdem ist noch eine Bildparameterausgabe hinzugekommen. | + | In addition still an output for picture parameter was added. |
| ===== Template ===== | ===== Template ===== | ||
| - | ==== Aufbau ==== | + | ==== Structure ==== |
| - | Das Template gliedert sich in drei Teile: | + | The Template is divided into three parts: |
| - | **1. Der Initialisierunsteil** | + | **1. The Initialisation part** |
| <code> | <code> | ||
| <!--FILE_SETTINGS_START//--> | <!--FILE_SETTINGS_START//--> | ||
| Line 27: | Line 27: | ||
| </code> | </code> | ||
| - | \\ | + | \\ |
| - | **2. Der Datenteil** wird für jede Datei die angeboten wird durchlaufen, hier werden die Formatierungen und Tags eingesetzt. | + | **2. The data division** is parsed for every file, here the formatting and tags are placed. |
| <code> | <code> | ||
| <!--FILE_ENTRY_START//--> | <!--FILE_ENTRY_START//--> | ||
| Line 37: | Line 37: | ||
| \\ | \\ | ||
| - | **3. Teil** alles außerhalb dieser Begrenzer wird nur einmal abgearbeitet. | + | **3. part** everything outside of these limiters is only once processed. |
| \\ | \\ | ||
| - | ==== Der ini Teil ==== | + | ==== The ini part ==== |
| - | Hier können einige Paramter eingstellt werden: | + | Here some parameters can be adjusted: |
| <code> | <code> | ||
| <!--FILE_SETTINGS_START//--> | <!--FILE_SETTINGS_START//--> | ||
| Line 65: | Line 65: | ||
| \\ | \\ | ||
| - | ==== Das gesamte Tag-Set ==== | + | ==== The entire tag set ==== |
| - | innerhalb von <code><!--FILE_ENTRY_START//--> ......... <!--FILE_ENTRY_END//--></code> \\ | + | within <code><!--FILE_ENTRY_START//--> ......... <!--FILE_ENTRY_END//--></code> \\ |
| - | mit [Beispielen] sieht nun so aus: | + | with [examples] looks now in such a way: |
| <code> | <code> | ||
| <!-- | <!-- | ||
| - | Bezeichnung {TAG............} [Beispiel....................] | + | Description {TAG............} [Examplel....................] |
| ====================+======================+============================== | ====================+======================+============================== | ||
| FILE_ICON: {FILE_ICON} [img/icons/small_icon_pix.gif] | FILE_ICON: {FILE_ICON} [img/icons/small_icon_pix.gif] | ||
| Line 96: | Line 96: | ||
| \\ | \\ | ||
| - | <note>Mit dem Tag **{FILE_ID}** ist es u.a. nun möglich, Bilder in vergrößerter Form als Vorschau anzubieten. </note> | + | <note>With the tag **{FILE_ID}** it is now possible to offer pictures in increased form as preview. </note> |
| - | === Beispiel LightBox: === | + | |
| + | |||
| + | === Example LightBox: === | ||
| <code html> | <code html> | ||
| Line 105: | Line 107: | ||
| <img src="{FILE_IMAGE}" alt="{FILE_NAME}" border="0" /> | <img src="{FILE_IMAGE}" alt="{FILE_NAME}" border="0" /> | ||
| </code> | </code> | ||
| - | Es würde ein Bild mit den maximalen Abmaßen 800x600px generiert und in der LightBox ausgegeben (ohne Next/Prev). Ist das Vor/Zurückschalten gewünscht, wird aus ##rel="lightbox[XYZ{FILE_ID}]"## --> ##rel="lightbox[XYZ]"##. (//Die Abgrenzung der einzelnen Bilder gegeneinander wird aufgehoben).// | + | |
| + | A picture with the maximum dimensions 800x600px was generated and spent in the LightBox (without Next/Prev). Is the before/back shifting desired , change ##rel="lightbox[XYZ{FILE_ID}]"## --> ##rel="lightbox[XYZ]"##. (//The demarcation of the individual pictures is waived against each other).// | ||
| \\ | \\ | ||
| - | ==== Beispiel-Template: ==== | + | ==== Example template: ==== |
| - | **mit LightBox Aufruf** (template/inc_cntpart/filelist/filelist_lightbox01.html) | + | **using a LightBox call** (template/inc_cntpart/filelist/filelist_lightbox01.html) |
| ---- | ---- | ||
| {{:deutsch:phpwcms-system:artikel:contentparts:dateiliste:fe_filelist_lightbox01.gif|}} | {{:deutsch:phpwcms-system:artikel:contentparts:dateiliste:fe_filelist_lightbox01.gif|}} | ||
| Line 172: | Line 176: | ||
| <!-- | <!-- | ||
| - | Bezeichnung {TAG.................} | + | Description {TAG.................} |
| - | +====================+====================== | + | +===================+====================== |
| FILE_ICON: {FILE_ICON} | FILE_ICON: {FILE_ICON} | ||
| FILE_IMAGE: {FILE_IMAGE} | FILE_IMAGE: {FILE_IMAGE} | ||
| Line 207: | Line 211: | ||
| ===== Content Part ===== | ===== Content Part ===== | ||
| - | Die Angaben in der Beschreibungszeile übersteuern die Angaben im ini-Teil. \\ | + | The data in the description line override the data in ini-part. \\ |
| - | Die Beschreibungszeile folgt diesem Muster: | + | The description line follows this sample: |
| <code> | <code> | ||
| File-Description|File-Name|File-Title|File-Target|WxHxCxQ | File-Description|File-Name|File-Title|File-Target|WxHxCxQ | ||
| Line 215: | Line 219: | ||
| </code> | </code> | ||
| - | Das kleine Vorschaubild würde in der Größe 120x100px beschnitten in der Qualität 80 //(bei jpg)// dargestellt. | + | The small preview picture was represented in the quantity 120x100px, cropped and //quality 80 (only jpg)//. |
| + | |||
| + | <note>If in ini-part no Thumbnail is activated or in the description line no WxHxCxQ indicated , no picture is spent.</note> | ||
| + | |||
| + | |||
| + | |||
| - | <note>Ist im ini-Teil kein Thumbnail aktiviert oder in der Beschreibungszeile kein WxHxCxQ angegeben, wird kein Bild ausgegeben.</note> | ||