KurtWagnerOne / wp-constructor

Automatically exported from code.google.com/p/wp-constructor
0 stars 0 forks source link

Constructor conflict with updated NextGEN Gallery #127

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

I just updated my NextGEN gallery to version 1.7.0 and now the admin panel 
functions for NextGEN no longer function. When I switch to a theme other than 
Constructor, everything is fine.  Also, the customize -> theme selection panel 
for Constructor seems to break if NextGEN 1.7.0 is activated.

The front-end functions for NextGEN gallery still seem to work. It's only the 
back-end functions in the admin panel that are broken, and only when 
Constructor is my chosen theme.  It looks like a lot of the javascript there is 
suddenly failing.

I am using the latest Constructor version 1.3.1. When running this with the 
latest NextGEN 1.7.0, I get the following error reported in firebug console:

$(".constructor-accordion").accordion is not a function
[Break On This Error] navigation: true 

IE reports the following:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; 
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; 
Media Center PC 6.0; .NET4.0C)
Timestamp: Mon, 13 Dec 2010 08:21:11 UTC

Message: Object doesn't support this property or method
Line: 99
Char: 5
Code: 0
URI: http://{my 
url}/wp-content/themes/constructor/admin/js/settings.js?ver=3.0.3

The block of js code from the theme that chokes everything is:

// Accordion
$('.constructor-accordion').accordion({
 autoHeight: false,
 navigation: true
 });

I don't know much about js, but this function looks pretty basic. I'm guessing 
there is some deeper underlying conflict that is causing the issue.

More details of the issue are described in the Wordpress support forum here:

http://wordpress.org/support/topic/plugin-nextgen-gallery-after-nextgen-170-upgr
ade-most-backend-functions-not-operational-1

Alex Rabe (NexGEN author) has suggested that is it backend javascript calls 
from the theme that is causing the issue and that it needs to be addressed in 
the theme coding.  

Other Info:
WP: 3.0.3
Constructor: 1.3.1
NextGEN: 1.7.0
PHP: 5
Browser: IE & FF & assume all others as well
OS: Linux on server / Windows on client

Please help. I have put a lot of time into customizing my Constructor themed 
site, and now it isn't operational. I know Constructor was designed with 
NextGEN gallery in mind, so I hope this issue can be resolved effectively.

Thanks.

Original issue reported on code.google.com by ronsd...@hotmail.com on 13 Dec 2010 at 10:30

GoogleCodeExporter commented 8 years ago
JS error fixed in new version of Constructor
Wait it

Original comment by AntonShe...@gmail.com on 14 Dec 2010 at 7:43

GoogleCodeExporter commented 8 years ago
Just upgraded to Constructor 1.4.1 and everything is playing nice again.

Thanks.

Original comment by ronsd...@hotmail.com on 20 Dec 2010 at 9:45

GoogleCodeExporter commented 8 years ago

Original comment by AntonShe...@gmail.com on 13 Mar 2011 at 6:15