NAVIGATION
This shows you the differences between two versions of the page.
|
deutsch:ersetzer_rts:frontend_render:xdownload [2010/05/26 14:45] Knut Heermann (flip-flop) |
deutsch:ersetzer_rts:frontend_render:xdownload [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | {{indexmenu_n>20}} | + | {{indexmenu_n>25}} |
| - | ====== {XDOWNLOAD:IDs||t:ags||f:older-IDs} ====== | + | ====== [xdownload=IDs||t:ags||f:older-IDs/] ====== |
| FIXME translate | FIXME translate | ||
| - | Download rt for files from file center. | + | Download Replacement TAG für Dateien aus der Dateizentrale. |
| - | File download selected by **tags** or **image ids** or **folder ids**. | + | Mögliche Auswahl für den Datei-download: **TAGs** oder **Bilder-IDs** oder **Verzeichnis-IDs**. |
| - | The entries description, file name, copyright, ...., come directly from file center. | + | Die Beschreibungen für, Dateiname, Copyright, ...., kommen direkt aus der Dateinzentrale. |
| - | Output is generated by the basic function from the CP filelist. | + | Die Ausgabe wird generiert durch die Basisfunktion vom CP Dateiliste. |
| - | **E.g. v1.1:** ##%%[xdownload= t: a string tag, tag05, tag06/]%%## | + | **Z.B. v1.1:** ##%%[xdownload= t: Eine Zeichenkette als tag, tag05, tag06/]%%## |
| - | **E.g. v1.2:** ##%%[xdownload= t: a string tag, tag05, tag06 : template, greedy, max_count, sort_by /]%%## | + | **Z.B. v1.2:** ##%%[xdownload= t: Eine Zeichenkette als tag, tag05, tag06 : Template, gierig, max.-Anzahl, Sortierreihenfolge /]%%## |
| - | **E.g. v1.3:** ##%%[xdownload= t: a string tag, tag05, tag06 : template, operator, greedy, max_count, sort_by /]%%## | + | **Z.B. v1.3:** ##%%[xdownload= t: Eine Zeichenkette als tag, tag05, tag06 : Template, Operator, gierig, max.-Anzahl, Sortierreihenfolge /]%%## |
| \\ | \\ | ||
| - | **Backend** e.g. CP plain text: | + | **Backend** z.B. CP Einfacher Text: |
| Line 32: | Line 32: | ||
| \\ | \\ | ||
| - | **File center:** | + | **Dateizentrale:** |
| {{:english:phpwcms_replacer_rts:frontend_render:xdownload_filecenter01_en_1.gif|}} | {{:english:phpwcms_replacer_rts:frontend_render:xdownload_filecenter01_en_1.gif|}} | ||
| \\ | \\ | ||
| - | **Overview file infos** //(a very special filebrowser: comming soon)//: | + | **Übersicht Dateiinformationen** //(ein sehr spezieller Datei-Brwoser: [[deutsch/andere-erweiterungen/backend/custom-links-in-home/filebrowserx]])//: |
| {{:english:phpwcms_replacer_rts:frontend_render:xdownload_filebrowser02_en_1.gif|}} | {{:english:phpwcms_replacer_rts:frontend_render:xdownload_filebrowser02_en_1.gif|}} | ||
| \\ | \\ | ||
| - | **Frontend** output using a template from cp filelist: | + | **Frontend** Ausgabe mit einem Template vom CP Dateiliste: |
| {{:english:phpwcms_replacer_rts:frontend_render:xdownload_fe02_en_1.gif|}} | {{:english:phpwcms_replacer_rts:frontend_render:xdownload_fe02_en_1.gif|}} | ||
| Line 49: | Line 49: | ||
| \\ | \\ | ||
| - | ===== Short Description: ===== | + | ===== Kurze Beschreibung: ===== |
| - | **possible opportunities:** | + | **Mögliche Einstellungen:** |
| - | * **Output:** template based like filelist | + | * **Ausgabe:** Template basierend auf dem CP Dateiliste |
| - | * **tag search** is "word sensitive" or "%%*all character strings*%%" [ungreedy=0|greedy=1] | + | * **"tag"-Suche** ist "wortsensitiv" oder "%%*alle Zeichenketten*%%" [nicht gierig=0|gierig=1] |
| - | * **logical operators** [AND|OR|NOT] if tag is selected //(V1.3) (only important in tag mode)// | + | * **Logische Operatoren** [AND|OR|NOT] wenn "tag" ausgewählt ist //(V1.3) (nur wichtig im "tag"-Modus)// |
| - | * **max count** files are displayed [int] | + | * **Max.-Anzahl** Dateien werden angezeigt [int] |
| - | * minimal **key lenght** [int] //(only important in tag mode)// | + | * minimale **Schlüssellänge** [int] //(nur wichtig im "tag"-Modus)// wird im Script eingestellt |
| * - | * - | ||
| - | * Optional parameter input: ":template name, AND|OR|NOT, ungreedy|greedy, max count, sort by" //(V1.2/3)// | + | * Optionale Parametereingabe: ":Templatename, AND|OR|NOT, nicht gierig|gierig, max.-Anzahl, Sortierreihenfolge" //(V1.2/3)// |
| * - | * - | ||
| - | * **sort order** [string] | + | * **Sortierreihenfolge** [string] |
| * - sort_asc / sort_desc | * - sort_asc / sort_desc | ||
| * - tstamp_asc / tstamp_desc | * - tstamp_asc / tstamp_desc | ||
| Line 76: | Line 76: | ||
| * - FILE_NAME = filename | * - FILE_NAME = filename | ||
| * - FILE_TITLE = short info | * - FILE_TITLE = short info | ||
| - | * - _target = set up in RT (see in CUSTOM VAR or template) | + | * - _target = set up in RT (bitte in CUSTOM VAR oder Template nachsehen) |
| - | * - WxHxC = set up in RT (see in CUSTOM VAR or template) | + | * - WxHxC = set up in RT (bitte in CUSTOM VAR oder Template nachsehen) |
| * - Copyright = copyright | * - Copyright = copyright | ||
| * - | * - | ||
| - | * V1.1: BB code and lang replace like [en]...[/en] [de]...[/de] available | + | * V1.1: BB Code und "lang" ersetzen wie [en]...[/en] [de]...[/de] möglich |
| Line 90: | Line 90: | ||
| - | **rt_xdownload** V1.0 14.05.10 | + | **rt_xdownload** V1.0 14.05.2010 |
| Docu: -- \\ | Docu: -- \\ | ||
| Line 99: | Line 99: | ||
| **CMS Version:** >= 1.46 r402 \\ | **CMS Version:** >= 1.46 r402 \\ | ||
| **Version:** V1.0 \\ | **Version:** V1.0 \\ | ||
| - | **Update:** V 1.1 18.05.2010 KH: Parsing bbcode and call lang_replace if available \\ | + | **Update:** V 1.1 18.05.2010 KH: Interpretieren von bbcode und "lang_replace" wenn vorhanden möglich \\ |
| - | **Update:** template 19.05.2010 KH: Optional lightBox feature inserted and small bugs removed\\ | + | **Update:** Template 19.05.2010 KH: Optionales lightBox-Feature eingefügt und einige kleine Fehler beseitigt \\ |
| - | **Update:** V 1.2 20.05.2010 KH: optional parameter input by tag | + | **Update:** V 1.2 20.05.2010 KH: Optionale Parametereingabe über den RT \\ |
| - | **Update:** V 1.3 21.05.2010 KH: enhanced with logical operators [AND|OR|NOT] if tag selected | + | **Update:** V 1.3 21.05.2010 KH: Erweitert mit den logischen Operatoren [AND|OR|NOT] wenn mit tags selektiert wird |
| **Tag v1.1:** \\ | **Tag v1.1:** \\ | ||
| - | * **%%[xdownload= t: tag1, tag2, tag3/]%%** -> selected by tags | + | * **%%[xdownload= t: tag1, tag2, tag3/]%%** -> Selektion mit tags |
| - | * **%%[xdownload= f: id1, d2, d3/]%%** -> selected by folder ids | + | * **%%[xdownload= f: id1, d2, d3/]%%** -> Selektion mit Verzeichnis-IDs |
| - | * **%%[xdownload= id1, id2, id3/]%%** -> image ids | + | * **%%[xdownload= id1, id2, id3/]%%** -> Bilder-IDs |
| \\ | \\ | ||
| **Tag v1.2:** \\ | **Tag v1.2:** \\ | ||
| - | * **%%[xdownload= t: tag1, tag2, tag3 : template, greedy, max_count, sort_by /]%%** -> selected by tags | + | * **%%[xdownload= t: tag1, tag2, tag3 : template, greedy, max_count, sort_by /]%%** -> Selektion mit tags |
| - | * **%%[xdownload= f: id1, d2, d3 : template, , max_count, sort_by /]%%** -> selected by folder ids | + | * **%%[xdownload= f: id1, d2, d3 : template, , max_count, sort_by /]%%** -> Selektion mit Verzeichnis-IDs |
| - | * **%%[xdownload= id1, id2, id3 : template, , max_count, sort_by /]%%** -> image ids | + | * **%%[xdownload= id1, id2, id3 : template, , max_count, sort_by /]%%** -> Bilder-IDs |
| - | * - or e.g. | + | * - oder z.B. |
| - | * **%%[xdownload= XX, XX, XX : template,,, sort_by /]%%** -> image ids //(The "template" is located in template/inc_cntpart/filelist/* with the name e.g. "template.html")// \\ | + | * **%%[xdownload= XX, XX, XX : template,,, sort_by /]%%** -> Bilder-IDs //(Das "Template" befindet sich in template/inc_cntpart/filelist/* mit dem Namen z.B. "template.html")// \\ |
| - | * or like v1.1 | + | * oder wie V1.1 |
| \\ | \\ | ||
| **Tag v1.3:** \\ | **Tag v1.3:** \\ | ||
| - | * **%%[xdownload= t: tag1, tag2, tag3 : template, operator, greedy, max_count, sort_by /]%%** -> selected by tags | + | * **%%[xdownload= t: tag1, tag2, tag3 : template, operator, greedy, max_count, sort_by /]%%** -> Selektion mit tags |
| - | * **%%[xdownload= f: id1, d2, d3 : template, operator, , max_count, sort_by /]%%** -> selected by folder ids | + | * **%%[xdownload= f: id1, d2, d3 : template, operator, , max_count, sort_by /]%%** -> Selektion mit Verzeichnis-IDs |
| - | * **%%[xdownload= id1, id2, id3 : template, operator, , max_count, sort_by /]%%** -> image ids | + | * **%%[xdownload= id1, id2, id3 : template, operator, , max_count, sort_by /]%%** -> Bilder-IDs |
| \\ | \\ | ||
| - | Filename: **rt_xdownload.php** | + | Dateiname: **rt_xdownload.php** |
| - | Folder: ** template/inc_script/frontend_render/ ** | + | Verzeichnis: ** template/inc_script/frontend_render/ ** |
| - | **Condition:** -> [[http://www.phpwcms-docu.de/config_dateien.phtml|/config/phpwcms/conf.inc.php]] \\ | + | **Bedingung:** -> [[http://www.phpwcms-docu.de/confincphp_de.phtml|/config/phpwcms/conf.inc.php]] \\ |
| * ##$phpwcms['allow_ext_render'] = 1;## | * ##$phpwcms['allow_ext_render'] = 1;## | ||
| Line 143: | Line 143: | ||
| ===== PHP v1.1: ===== | ===== PHP v1.1: ===== | ||
| - | **File:** template/inc_script/frontend_render/rt_xdownload.php | + | **Datei:** template/inc_script/frontend_render/rt_xdownload.php |
| Line 205: | Line 205: | ||
| $download_template = 'x_download.html'; // template in "template/inc_cntpart/filelist/*" | $download_template = 'x_download.html'; // template in "template/inc_cntpart/filelist/*" | ||
| - | $key_lenght = 2; //Min lenght of entry | + | $key_lenght = 1; //Min lenght of entry |
| $max_count = ''; // Max count of files | $max_count = ''; // Max count of files | ||
| Line 467: | Line 467: | ||
| ===== PHP v1.2: ===== | ===== PHP v1.2: ===== | ||
| - | **Update 20.05.2010 V1.2:** optional parameter input by tag | + | **Update 20.05.2010 V1.2:** Optional: Parametereingabe über den RT-Aufruf |
| * [xdownload= t: tag1, tag2, tag3 : template, greedy, max_count, sort_by /] | * [xdownload= t: tag1, tag2, tag3 : template, greedy, max_count, sort_by /] | ||
| * e.g. | * e.g. | ||
| * [xdownload= t: tag1, tag2, tag3 : x_download_01, 1, 5, ext_asc /] | * [xdownload= t: tag1, tag2, tag3 : x_download_01, 1, 5, ext_asc /] | ||
| - | * tag1, tag2, tag3 : search by tag : using the template x_download_01.html, all character strings from tag, sort by file extension | + | * tag1, tag2, tag3 : Suche mit tags : verwende das Template x_download_01.html, alle Zeichenketten fom tag, sortiert nach Datei-Extension |
| - | * (In this case "x_download_01" is the name of file in template/inc_cntpart/filelist/ without an extend). | + | * (In diesem Fall ist "x_download_01" der Name der Datei in template/inc_cntpart/filelist/ ohne Extend). |
| \\ | \\ | ||
| - | **File:** template/inc_script/frontend_render/rt_xdownload.php | + | **Datei:** template/inc_script/frontend_render/rt_xdownload.php |
| Line 554: | Line 554: | ||
| $download_template = 'x_download.html'; // template in "template/inc_cntpart/filelist/*" | $download_template = 'x_download.html'; // template in "template/inc_cntpart/filelist/*" | ||
| - | $key_lenght = 2; //Min lenght of entry | + | $key_lenght = 1; //Min lenght of entry |
| $max_count = ''; // Max count of files | $max_count = ''; // Max count of files | ||
| Line 820: | Line 820: | ||
| ===== PHP v1.3: ===== | ===== PHP v1.3: ===== | ||
| - | **Update 21.05.2010 V1.3:** enhanced with logical operators [AND|OR|NOT] if tag selected | + | **Update 21.05.2010 V1.3:** Erweitert durch die logischen Operatoren [AND|OR|NOT] wenn mit tags selektiert wird |
| * [xdownload= t: tag1, tag2, tag3 : template, operator, greedy, max_count, sort_by /] | * [xdownload= t: tag1, tag2, tag3 : template, operator, greedy, max_count, sort_by /] | ||
| * e.g. | * e.g. | ||
| Line 827: | Line 827: | ||
| * (In this case "x_download_01" is the name of file in template/inc_cntpart/filelist/ without an extend). | * (In this case "x_download_01" is the name of file in template/inc_cntpart/filelist/ without an extend). | ||
| \\ | \\ | ||
| - | **File:** template/inc_script/frontend_render/rt_xdownload.php | + | **Datei:** template/inc_script/frontend_render/rt_xdownload.php |
| Line 919: | Line 919: | ||
| $download_template = 'x_download.html'; // template in "template/inc_cntpart/filelist/*" | $download_template = 'x_download.html'; // template in "template/inc_cntpart/filelist/*" | ||
| - | $key_lenght = 2; //Min lenght of entry | + | $key_lenght = 1; //Min lenght of entry |
| $max_count = ''; // Max count of files | $max_count = ''; // Max count of files | ||