Differences

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

Link to this comparison view

dev:changes_in_2.6 [2013/06/18 10:34]
mistic100 [SwitchBox]
— (current)
Line 1: Line 1:
-====== Technical changes in Piwigo 2.6 ====== 
  
-===== Jquery UI 1.9 ===== 
-Jquery ui effects filename have changed. For example change 
-<file>footer|combine_script require='jquery.effects.blind'</file> 
-to 
-<file>footer|combine_script require='jquery.ui.effect-blind'</file> 
-We had backward naming compatibility for 2.5 but not for 2.6. 
- 
-===== jGrowl CSS file ===== 
-the file //admin/themes/default/uplodify.jgrowl.css// was moved to //themes/default/js/plugins/jquery.jgrowl.css// 
- 
-use this line to include the file in your template : 
-<code>{combine_css path="themes/default/js/plugins/jquery.jgrowl.css"}</code> 
-no changes for the javascript file 
- 
- 
-===== Add action buttons ===== 
-Following http://piwigo.org/doc/doku.php?id=dev:changes_in_2.5#add_action_buttons\\ 
-http://piwigo.org/dev/changeset/23263 
- 
-Themes have to handle two new template vars : //$PLUGIN_INDEX_BUTTONS// and //$PLUGIN_PICTURE_BUTTONS//\\ 
-Plugins creators SHOULD NOT add <li> or <div> or <span> around their buttons, it's now handled by the theme. 
- 
-===== TokenInput CSS + config ===== 
-TokenInput CSS was moved from //admin/themes/default/style.css// to //themes/default/js/plugins/jquery.tokeninput.css//. Needs to be explicitly imported with <code>{combine_css path="themes/default/js/plugins/jquery.tokeninput.css"}</code> 
-**allowCreation** parameter was renamed into **allowFreeTagging** 
- 
-===== SwitchBox ===== 
-SwitchBox are used for derivatives choices, sort options, LanguageSwitch, ThemeSwitch, etc.\\ 
-Now the JS code is factorized in a function available in //themes/default/js/switchbox.js//\\ 
-Usage : 
-<code>{combine_script id='core.switchbox' load='footer' require='jquery' path='themes/default/js/switchbox.js'} 
-{footer_script require='core.switchbox'}switchBox("#sortOrderLink", "#sortOrderBox");{/footer_script}</code> 
- 
-The CSS is still provided by themes. 
 
 
 
github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact