#1 2013-03-07 17:40:26

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14100

GPC + AMM + Piwigo 2.5

Hi grum,

I'm testing Advanced Menu Manager on Piwigo 2.5.

I've found a blocking bug: when you click on "Add a link" nothing happens. Same problem on "Add a new block".

I think jqueryUI has changed its packaging: we have to explicitely load jquery.ui.button. So, I have applied this change:

$ svn diff GrumPluginClasses/
Index: GrumPluginClasses/classes/GPCCore.class.inc.php
===================================================================
--- GrumPluginClasses/classes/GPCCore.class.inc.php     (revision 21311)
+++ GrumPluginClasses/classes/GPCCore.class.inc.php     (working copy)
@@ -816,6 +816,7 @@
           self::addHeaderCSS('gpc.inputListT', sprintf($themeFile, 'inputList'));
           self::addHeaderJS('jquery.ui', 'themes/default/js/ui/jquery.ui.core.js', array('jquery'));
           self::addHeaderJS('jquery.ui.widget', 'themes/default/js/ui/jquery.ui.widget.js', array('jquery.ui'));
+          self::addHeaderJS('jquery.ui.button', 'themes/default/js/ui/jquery.ui.button.js', array('jquery.ui'));
           self::addHeaderJS('gpc.inputList', GPC_PATH.'js/ui.inputList.js', array('jquery.ui.widget'));
           break;
         case 'inputNum':

And now it works fine.

1) can you check that I have added the code in the right place?
2) can you publish a new version of GPC compatible 2.5 and a new version of AMM compatible 2.5 ?

(AMM includes other changes never published and I would also like to propose auto-disable of randomPic for search engine robots, I have the code ready)

Offline

 

#2 2013-03-07 17:47:08

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: GPC + AMM + Piwigo 2.5

among those uncommited changes in AMM there is the support of extended descriptions in personal menu :-)

Offline

 

#3 2013-03-12 13:50:57

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
14100

Re: GPC + AMM + Piwigo 2.5

After a private discussion with grum,

1) GPC 3.5.5 published
2) AMM 3.2.5 published

Offline

 

Board footer

Powered by FluxBB