Differences

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

english:phpwcms_replacer_rts:frontend_render:galleryx:galleryx-v1-2-2 [2009/12/17 09:45]
Knut Heermann (flip-flop) created
english:phpwcms_replacer_rts:frontend_render:galleryx:galleryx-v1-2-2 [2018/06/03 18:09] (current)
Line 7: Line 7:
I think that is the last version before everyone writes an module part (e.g. galleryx tag generator). All parameters prepared for doing such a issue. \\ I think that is the last version before everyone writes an module part (e.g. galleryx tag generator). All parameters prepared for doing such a issue. \\
 +
Thanks to "claus" who had talked about and tested many many hours. :!: Thanks to "claus" who had talked about and tested many many hours. :!:
-**What is new (1.2.2):** 
- - New sort by number implemented 
- - Special images in sub gallery (list) -> sort number -1, -2, -3 ..... 
- - Optional faster thumbs/images output (processing during first call in fe) 
-**What is new (1.2.1):** +\\ 
- - Switch for list title & date - detail title & date [on|off] +----
- - Prioritization of copyright - 1. DB, 2. RT, 3. file galleryx and [on|off] +
- - Switch for copyright - off, at caption, at SLimbox, all +
- - Switch for caption - off, at caption, at SLimbox, all, some prefix/suffix variables created +
- - Splitting in different files: +
-**User editable files:** \\ 
-PHP: /template/inc_script/galeryx/galleryx_main_v122.inc.php (parameter set: User edit file) \\ 
-CSS: /template/inc_css/specific/galleryx.css (css for the output) \\ 
-Templ.: /template/inc_cntpart/filelist/galleryx.html (Download template) \\ 
-**Non editable files:** \\ +Docu: -- \\ 
-PHP: /template/inc_script/galeryx/galleryx_main_v122.doc.php (little doc) \\ +Forum: [[http://forum.phpwcms.org/viewtopic.php?f=8&t=18266]] 
-PHP: /template/inc_script/frontend_render/galleryx_call_v122.php (init file in frontend_render) \\ + 
-PHP: /template/inc_script/galeryx/galleryx_main_v122.php (main function) \\ + 
-PHP: /include/inc_lib/imagegalleryx122.inc.php (basic functions) \\+**Autor:**  K.Heermann (flip-flop) http://planmatrix.de \\ 
 +**CMS version:** >= 1.3.x \\  
 +**Version:** V1.2.2 \\ 
 + 
 +  
 + 
 +Tag: See the description \\ 
 + 
 +Fileiname: See the description 
 + 
 +Folder:  See the description 
 + 
 +**Condition:**  -> [[http://www.phpwcms-docu.de/conf_inc_php_en.phtml|/config/phpwcms/conf.inc.php]] \\ 
 + 
 +  * ##$phpwcms['allow_ext_render'] = 1;##  
\\ \\
-6. **User wants to edit only the file** ##/template/inc_script/galeryx/galleryx_main_v121.inc.php## \\ + 
-It isn´t necessary any more to comment out the corresponding variables in "SHORT DEFINATION" (like in v1.1). \\+**Since CMS version 1.6.528 (R528),** the function you need ## trimhtml ($......) ## is no longer present in the CMS.  
 + 
 +  * **Solution:** Replace the function calls ##trimhtml($......)## by ##html_specialchars(trim($......))## in the files  
 +    * /template/inc_script/galleryx/galleryx_main_v122.php 
 +    * /template/inc_script/galleryx/galleryx_main_v122.inc.php 
 + 
 +  * **In the download file of version 1.2.2a this bug is corrected since 07.02.2013.** 
 + 
 +\\ 
 + 
 +===== What is new (1.2.2): ===== 
 + 
 +  - New sort by number implemented 
 +  - Special images in sub gallery (list) -> sort number -1, -2, -3 ..... 
 +  - Optional faster thumbs/images output (processing during first call in fe) 
 + 
 +===== What is new (1.2.1): ===== 
 + 
 +  - Switch for list title & date - detail title & date [on|off] 
 +  - Prioritization of copyright - 1. DB, 2. RT, 3. file galleryx and [on|off] 
 +  - Switch for copyright - off, at caption, at SLimbox, all 
 +  - Switch for caption - off, at caption, at SLimbox, all, some prefix/suffix variables created 
 +  - Splitting in different files: \\ **User editable files:** \\ **PHP:** /template/inc_script/galeryx/galleryx_main_v122.inc.php //(parameter set: User edit file)// \\ **CSS:** /template/inc_css/specific/galleryx.css //(css for the output)// \\ **Templ.:** /template/inc_cntpart/filelist/galleryx.html //(Download template)// \\ **Non editable files:** \\ **PHP:** /template/inc_script/galeryx/galleryx_main_v122.doc.php //(little doc)// \\ **PHP:** /template/inc_script/frontend_render/galleryx_call_v122.php (init file in frontend_render) \\ **PHP:** /template/inc_script/galeryx/galleryx_main_v122.php //(main function)// \\ **PHP:** /include/inc_lib/imagegalleryx122.inc.php //(basic functions)// \\ 
 + 
 + 
 + 
 +**6.** **User wants to edit only the file** ##/template/inc_script/galeryx/galleryx_main_v121.inc.php## \\ 
 +It isn´t necessary any more to comment out the corresponding variables in "SHORT DEFINATION" //(like in v1.1)//. \\
Line 96: Line 127:
[[http://phpwcms.planmatrix.de/download/reptag/gallery/galleryx_forum_v12.zip|Download v1.2.0 (zip)]] \\ [[http://phpwcms.planmatrix.de/download/reptag/gallery/galleryx_forum_v12.zip|Download v1.2.0 (zip)]] \\
[[http://phpwcms.planmatrix.de/download/reptag/gallery/galleryx_forum_v121.zip|Download v1.2.1 (zip)]] \\ [[http://phpwcms.planmatrix.de/download/reptag/gallery/galleryx_forum_v121.zip|Download v1.2.1 (zip)]] \\
-[[http://phpwcms.planmatrix.de/download/reptag/gallery/galleryx_forum_v122.zip|Download v1.2.2 (zip)]] **recommended !** \\+[[http://phpwcms.planmatrix.de/download/reptag/gallery/galleryx_forum_v122.zip|Download v1.2.2 (zip)]]  
 + 
 +[[english/phpwcms_replacer_rts/frontend_render/galleryx/galleryx-v1-2-2/update-v1-2-2-a#download|Download v1.2.2a (zip)]]  **recommended !** \\
\\ \\
Line 123: Line 156:
**Basic tag:** ##{GALLERYX: galleryRoot_ID[int], subgallery_ID[int], subsubgallery_ID[int]}## **Basic tag:** ##{GALLERYX: galleryRoot_ID[int], subgallery_ID[int], subsubgallery_ID[int]}##
-<code php |h Basic tag |h >+<code php >
=========================================================================================== ===========================================================================================
Input parameter (handing over) Input parameter (handing over)
Line 157: Line 190:
</code> </code>
- +\\ 
-**2.** Second we must create a new tag: For this individual configuration you can see the parameter set above in "Input parameter //(handing over)//" //(the commented one - uncomment them and it ought to run.)// \\+**2.** Second we must create a new tag: For this individual configuration you can see the parameter set above in "Input parameter //(handing over)//" \\  
 +//(the commented one - uncomment them and it ought to run.)// \\
We have only two types of variables, **[int]** and **[string]**. We have only two types of variables, **[int]** and **[string]**.
Line 166: Line 200:
Figure out the **"short if syntax"** ([[http://www.scottklarr.com/topic/76/tip-of-the-day-php-short-hand-if-statement/]]) Figure out the **"short if syntax"** ([[http://www.scottklarr.com/topic/76/tip-of-the-day-php-short-hand-if-statement/]])
-<code php |h short if syntax |h >+<code php >
       [$variable       = (statement)           ? "return if true"  : "return if false";]        [$variable       = (statement)           ? "return if true"  : "return if false";]
Line 176: Line 210:
**3.** <del>Third we must comment out the coresponding variables in section "SHORT DEFINATION"</del> **3.** <del>Third we must comment out the coresponding variables in section "SHORT DEFINATION"</del>
 +\\
**[UPDATE]** **[UPDATE]**
Line 181: Line 216:
- +<code php >
- +
- +
- +
-\\ +
----- +
- +
-**rt_article_move_to_archive** V1.0  26.07.09   +
- +
-<code php |h short if syntax |h >+
// [0|1|2|3] [0=off | 1=info |2=off | 3=info and date ]   in sub gallery // [0|1|2|3] [0=off | 1=info |2=off | 3=info and date ]   in sub gallery
$my_list_descr_info_date_on  = 3;  // [0|1|2|3] Show description in list -> no separate date available $my_list_descr_info_date_on  = 3;  // [0|1|2|3] Show description in list -> no separate date available
Line 200: Line 226:
-<code php |h caption set in sub sub gallery |h >+<code php >
// caption set in sub sub gallery -> caption and/or lightbox // caption set in sub sub gallery -> caption and/or lightbox
// [0|1|2|3] [0=off | 1=capt |2=light | 3=capt&light ]   in sub sub gallery // [0|1|2|3] [0=off | 1=capt |2=light | 3=capt&light ]   in sub sub gallery
Line 207: Line 233:
-<code php |h title and date |h >+<code php >
// [0|1|2|3] [off | title=on | date=on | title and date = on]   in sub sub gallery // [0|1|2|3] [off | title=on | date=on | title and date = on]   in sub sub gallery
$my_detail_title_date        = 3; $my_detail_title_date        = 3;
Line 213: Line 239:
-<note important>Before installing the new file struct, disable the file /template/inc_script/frontend_render/galleryx.php</note> +<note important> 
-After you have uploaded, compare your settings and tags in galleryx.php -> /template/inc_script/galeryx/galleryx_main_v121.inc.php.+Before installing the new file struct, disable the file \\ 
 +##/template/inc_script/frontend_render/galleryx.php## 
 +</note> 
 + 
 +After you have uploaded, compare your settings and tags in **galleryx.php ->** ##/template/inc_script/galeryx/galleryx_main_v121.inc.php##.
**[/UPDATE]** **[/UPDATE]**
Line 241: Line 271:
-Add, if you want, this css snippet to the bottom into /template/slimbox/css/slimbox.css+Add if you want, this css snippet to the bottom into ##/template/slimbox/css/slimbox.css##
-<code css |h slimbox |h >+<code css >
#lbCaption { /* kh changed */ #lbCaption { /* kh changed */
   font-weight: normal; /* bold; */    font-weight: normal; /* bold; */
Line 260: Line 290:
**[UPDATE v1.2.2]** **[UPDATE v1.2.2]**
-<code php |h sort mode |h >+sort mode: 
 +<code php >
// LIST THUMB ------------------------------------------ // LIST THUMB ------------------------------------------
Line 295: Line 326:
-Docu: -- \\ 
-Forum: [[http://forum.phpwcms.org/viewtopic.php?f=8&t=18266]] 
-**Autor:**  K.Heermann (flip-flop) http://planmatrix.de \\ 
-**CMS version:** >= 1.3.x \\  
-**Version:** V1.0 \\ 
- 
-  
- 
-Tag: -- \\ 
- 
-Fileiname: **rt_article_move_to_archive.php**  
- 
-Folder:  ** template/inc_script/frontend_render/ **  
- 
-**Condition:**  -> [[http://www.phpwcms-docu.de/conf_inc_php_en.phtml|/config/phpwcms/conf.inc.php]] \\ 
- 
-  * ##$phpwcms['allow_ext_render'] = 1;##  
- 
- 
----- 
----- 
-<code php |h rt_article_move_to_archive |h > 
english/phpwcms_replacer_rts/frontend_render/galleryx/galleryx-v1-2-2.1261039531.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