Differences

This shows you the differences between two versions of the page.

english:phpwcms_replacer_rts:frontend_render:xdownload [2010/05/21 17:51]
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  //(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, greedy|ungreedy, max count, sort by" //(V1.2)//+  * Optional parameter input: ":template name, AND|OR|NOT, ungreedy|greedy, max count, sort by" //(V1.2/3)//
  * -   * -
  * **sort order** [string]   * **sort order** [string]
Line 95: Line 100:
**Update:** template 19.05.2010 KH: Optional lightBox feature inserted and small bugs removed\\ **Update:** template 19.05.2010 KH: Optional lightBox feature inserted and small bugs removed\\
**Update:** V 1.2 20.05.2010 KH: optional parameter input by tag **Update:** V 1.2 20.05.2010 KH: optional parameter input by tag
 +**Update:** V 1.3 21.05.2010 KH: enhanced with logical operators [AND|OR|NOT] if tag selected
   
Line 105: 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, greedy, 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, greedy, 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")// \\
  * or like v1.1   * or like v1.1
 +
 +\\
 +
 +**Tag v1.3:**  \\
 +  * **%%[xdownload= t: tag1, tag2, tag3 : template, operator, greedy, max_count, sort_by /]%%**   -> selected by tags
 +  * **%%[xdownload= f: id1, d2, d3 : template, operator, , max_count, sort_by /]%%**      -> selected by folder ids
 +  * **%%[xdownload= id1, id2, id3 : template, operator, , max_count, sort_by /]%%**       -> image ids
Line 135: 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 168: Line 181:
 *   - Copyright            = copyright  *   - Copyright            = copyright
 *  *
 + * http://www.phpwcms-howto.de/wiki/doku.php/english/phpwcms_replacer_rts/frontend_render/xdownload
 * *****************************************************************************  * *****************************************************************************
*/ */
Line 189: 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 465: 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 508: Line 522:
 *   - Copyright            = copyright  *   - Copyright            = copyright
 *  *
 + * http://www.phpwcms-howto.de/wiki/doku.php/english/phpwcms_replacer_rts/frontend_render/xdownload
 * *****************************************************************************  * *****************************************************************************
*/ */
Line 537: 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 817: 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 872: Line 887:
 *   - Copyright            = copyright  *   - Copyright            = copyright
 *  *
 + * http://www.phpwcms-howto.de/wiki/doku.php/english/phpwcms_replacer_rts/frontend_render/xdownload
 * *****************************************************************************  * *****************************************************************************
*/ */
Line 901: 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 1179: 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
english/phpwcms_replacer_rts/frontend_render/xdownload.1274457068.txt.gz · Last modified: 2018/06/03 18:08 (external edit)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0