NAVIGATION
This shows you the differences between two versions of the page.
english:phpwcms_replacer_rts:frontend_render:xdownload [2010/05/21 17:57] Knut Heermann (flip-flop) |
english:phpwcms_replacer_rts:frontend_render:xdownload [2018/06/03 18:09] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
{{indexmenu_n>20}} | {{indexmenu_n>20}} | ||
- | ====== xdownload by ids, tags, folder ids ====== | + | ====== [xdownload=IDs||t:ags||f:older-IDs/] ====== |
Download rt for files from file center. | Download rt for files from file center. | ||
Line 15: | Line 15: | ||
**E.g. v1.2:** ##%%[xdownload= t: a string tag, tag05, tag06 : template, greedy, max_count, sort_by /]%%## | **E.g. v1.2:** ##%%[xdownload= t: a string tag, tag05, tag06 : template, greedy, max_count, sort_by /]%%## | ||
+ | |||
+ | **E.g. v1.3:** ##%%[xdownload= t: a string tag, tag05, tag06 : template, operator, greedy, max_count, sort_by /]%%## | ||
\\ | \\ | ||
Line 23: | Line 25: | ||
V1.2: ##%%[xdownload= t: a string tag, tag05, tag06 : x_download_01, 1, 5, ext_asc /]%%## | V1.2: ##%%[xdownload= t: a string tag, tag05, tag06 : x_download_01, 1, 5, ext_asc /]%%## | ||
+ | |||
+ | V1.3: ##%%[xdownload= t: a string tag, tag05, tag06 : x_download_01, OR, 1, 5, ext_asc /]%%## | ||
\\ | \\ | ||
Line 31: | Line 35: | ||
\\ | \\ | ||
- | **Overview file infos** //(a very special filebrowser: comming soon)//: | + | **Overview file infos** //(a very special filebrowser: [[english/other-enhancements/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|}} | ||
Line 49: | Line 53: | ||
* **Output:** template based like filelist | * **Output:** template based like filelist | ||
* **tag search** is "word sensitive" or "%%*all character strings*%%" [ungreedy=0|greedy=1] | * **tag search** is "word sensitive" or "%%*all character strings*%%" [ungreedy=0|greedy=1] | ||
- | * **logical operators** [AND|OR|NOT] if tag is selected | + | * **logical operators** [AND|OR|NOT] if tag is selected //(V1.3) (only important in tag mode)// |
* **max count** files are displayed [int] | * **max count** files are displayed [int] | ||
- | * minimal **key lenght** [int] | + | * minimal **key lenght** [int] //(only important in tag mode)// |
* - | * - | ||
- | * Optional parameter input by tag: ":template name, AND|OR|NOT, greedy|ungreedy, max count, sort by" //(V1.2/3)// | + | * Optional parameter input: ":template name, AND|OR|NOT, ungreedy|greedy, max count, sort by" //(V1.2/3)// |
* - | * - | ||
* **sort order** [string] | * **sort order** [string] | ||
Line 107: | Line 111: | ||
**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 /]%%** -> selected by tags | ||
- | * **%%[xdownload= f: id1, d2, d3 : template, <del>greedy</del>, max_count, sort_by /]%%** -> selected by folder ids | + | * **%%[xdownload= f: id1, d2, d3 : template, , max_count, sort_by /]%%** -> selected by folder ids |
- | * **%%[xdownload= id1, id2, id3 : template, <del>greedy</del>, max_count, sort_by /]%%** -> image ids | + | * **%%[xdownload= id1, id2, id3 : template, , max_count, sort_by /]%%** -> image ids |
* - or e.g. | * - or e.g. | ||
* **%%[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 /]%%** -> image ids //(The "template" is located in template/inc_cntpart/filelist/* with the name e.g. "template.html")// \\ | ||
Line 117: | Line 121: | ||
**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 /]%%** -> selected by tags | ||
- | * **%%[xdownload= f: id1, d2, d3 : template, operator, <del>greedy</del>, max_count, sort_by /]%%** -> selected by folder ids | + | * **%%[xdownload= f: id1, d2, d3 : template, operator, , max_count, sort_by /]%%** -> selected by folder ids |
- | * **%%[xdownload= id1, id2, id3 : template, operator, <del>greedy</del>, max_count, sort_by /]%%** -> image ids | + | * **%%[xdownload= id1, id2, id3 : template, operator, , max_count, sort_by /]%%** -> image ids |
Line 144: | Line 148: | ||
/** | /** | ||
* ***************************************************************************** | * ***************************************************************************** | ||
- | * 14.05.2010 K.Heermann http://planmatrix.de | + | * 14.05.2010 V1.1 K.Heermann http://planmatrix.de |
* Update 18.05.2010 V1.1: Update parsing bbcode and call lang_replace if available | * Update 18.05.2010 V1.1: Update parsing bbcode and call lang_replace if available | ||
* | * | ||
Line 177: | Line 181: | ||
* - Copyright = copyright | * - Copyright = copyright | ||
* | * | ||
+ | * http://www.phpwcms-howto.de/wiki/doku.php/english/phpwcms_replacer_rts/frontend_render/xdownload | ||
* ***************************************************************************** | * ***************************************************************************** | ||
*/ | */ | ||
Line 198: | Line 203: | ||
$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 474: | Line 479: | ||
/** | /** | ||
* ***************************************************************************** | * ***************************************************************************** | ||
- | * 14.05.2010 K.Heermann http://planmatrix.de | + | * 14.05.2010 V1.2 K.Heermann http://planmatrix.de |
* Update 18.05.2010 V1.1: Update parsing bbcode and call lang_replace if available | * Update 18.05.2010 V1.1: Update parsing bbcode and call lang_replace if available | ||
* Update 20.05.2010 V1.2: Update optional parameter input by tag | * Update 20.05.2010 V1.2: Update optional parameter input by tag | ||
Line 517: | Line 522: | ||
* - Copyright = copyright | * - Copyright = copyright | ||
* | * | ||
+ | * http://www.phpwcms-howto.de/wiki/doku.php/english/phpwcms_replacer_rts/frontend_render/xdownload | ||
* ***************************************************************************** | * ***************************************************************************** | ||
*/ | */ | ||
Line 546: | Line 552: | ||
$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 826: | Line 832: | ||
/** | /** | ||
* ***************************************************************************** | * ***************************************************************************** | ||
- | * 14.05.2010 K.Heermann http://planmatrix.de | + | * 14.05.2010 V1.0 K.Heermann http://planmatrix.de |
* Update 18.05.2010 V1.1: parsing bbcode and call lang_replace if available | * Update 18.05.2010 V1.1: parsing bbcode and call lang_replace if available | ||
* Update 20.05.2010 V1.2: optional parameter input by tag | * Update 20.05.2010 V1.2: optional parameter input by tag | ||
Line 881: | Line 887: | ||
* - Copyright = copyright | * - Copyright = copyright | ||
* | * | ||
+ | * http://www.phpwcms-howto.de/wiki/doku.php/english/phpwcms_replacer_rts/frontend_render/xdownload | ||
* ***************************************************************************** | * ***************************************************************************** | ||
*/ | */ | ||
Line 910: | Line 917: | ||
$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 1188: | Line 1195: | ||
===== Template: ===== | ===== Template: ===== | ||
- | Update: 19.05.2010 KH: optional lightBox feature inserted and small bugs removed | + | **Update: 19.05.2010 KH:** optional lightBox feature inserted and small bugs removed |
**File:** template/inc_cntpart/filelist/x_download.html | **File:** template/inc_cntpart/filelist/x_download.html |