Differences

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

english:phpwcms_replacer_rts:frontend_render:lightbox-prev-next-threading [2009/12/18 10:41]
Knut Heermann (flip-flop) created
english:phpwcms_replacer_rts:frontend_render:lightbox-prev-next-threading [2018/06/03 18:09] (current)
Line 1: Line 1:
{{indexmenu_n>620}} {{indexmenu_n>620}}
-====== LightBox Prev/Next bind up ======+====== LightBox Prev/Next image threading ======
-**RT which all images of the content parts of a category in which the LightBox //(SlimBox)// is used combines.**+**RT for threading all images of the content parts of a category where the LightBox //(SlimBox)// is used.**
FIXME better translate FIXME better translate
-If larger picture quantities are present in a category, it is not simply to handle in backend, if all pictures lie in one CP. Therefore, this pictures  stock is distributed among several CPs. However the LightBox scrolls the pictures not automatically from a CP to the next //(Prev/Next)//, but stops at the beginning/end of the respective CPs. +If larger picture quantities are present in a specific category, it is not so simple to be handled in the backend if all pictures are positioned in one CP. Therefore, this pictures  stock is distributed among several CPs. However the LightBox scrolls the pictures not automatically from one CP to the next //(Prev/Next)//, but will stop at the beginning/end of the respective CPs.
-To include all the images of the category CP-spreading  into the rolling process you can use this RT. \\+To include all the images of the several CPs into the sliding process you can use this RT. \\
(Alternatively, of course, the  scripts gallery or galleryX can be used. //(other logic, installation more complex)//).   (Alternatively, of course, the  scripts gallery or galleryX can be used. //(other logic, installation more complex)//).  
 +//(Also works with the extension MediaBox-Advanced).// \\
-{{:deutsch:ersetzer_rts:frontend_render:rt_lightbox_prev_next_all_01.gif?300}}+{{:deutsch:ersetzer_rts:frontend_render:rt_lightbox_prev_next_all_01.gif}}
<note> <note>
-The RT in the current form also includes the picture from the CP **text w/image**, if the LightBox were activated here.+This RT will include the pictures of the CP **text w/image** also, if the LightBox were activated here.
</note> </note>
Line 33: Line 34:
**CMS Version:** >= 1.3 \\ **CMS Version:** >= 1.3 \\
**Version:** V1.0 \\ **Version:** V1.0 \\
 +**Update 05.08.2011 KH:** Bug solved "If no category is specified in the array".\\
   
Line 55: Line 57:
In the range **=== CUSTOM INPUT ===** of the RT can be indicated, for which categories this behavior is desired. In the range **=== CUSTOM INPUT ===** of the RT can be indicated, for which categories this behavior is desired.
-For this we registered the IDs of the categories into the Array ##$_categories = array(  );##. \\ +For this we registered the IDs of the categories into the Array ##$_categories = array(  );##.  
-Two characteristics: Include ot exclude this behavior. +Two characteristics: Include ot exclude this behavior. \\
Whether include or exclude is set up with the switch ##$inc_categories = true/false;##. Whether include or exclude is set up with the switch ##$inc_categories = true/false;##.
Line 87: Line 89:
 New rel for all LB pictures is called: rel="lightbox[catid-XX]"  New rel for all LB pictures is called: rel="lightbox[catid-XX]"
 Where XX is the current category ID.  Where XX is the current category ID.
 + Update 05.08.2011 KH: If no category is specified in the array
   
 Filename: rt_lighbox_prev_next_all.php  Filename: rt_lighbox_prev_next_all.php
Line 114: Line 117:
$cat_id = $content['cat_id']; // current category ID $cat_id = $content['cat_id']; // current category ID
 +if (count($_categories) == 0 ) $_categories[0] = $cat_id;  // Update 05.08.2011 KH: If no category is specified in the array
if ($inc_categories ) {  // include active? if ($inc_categories ) {  // include active?
english/phpwcms_replacer_rts/frontend_render/lightbox-prev-next-threading.1261129292.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