Can't configure while using my theme
mikeage
![]()
Joined: 2005-01-23
Posts: 138 |
![]() |
Hi, When my theme is selected as the default theme, the admin interface is shown using my theme. In that case, I can't configure the blocks displayed. Clicking on a block does not open the inline configuration; firefox's error console shows: Error: returnElement has no properties If I switch the default theme to classic, then I can change whatever I need, and the changes go into effect. After that, I can switch back to my theme as the default, and everything works just fine. Any ideas? I'm running G2.2RC1 now, but this happened with 2.1.2 as well. Gallery URL (optional): http://mikeage.net/content/gallery/ (multisite) |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
You could make the default theme a stock theme so that the admin inteface works. Then configure all other albums to use your theme that does not work. But I guess you tried that and found the the dynamic albums will not use your custom theme. I had a custom theme that did something similar ( dont recall how I fixed or if I fixed it ) Dave |
|
mikeage
![]()
Joined: 2005-01-23
Posts: 138 |
![]() |
Right now, I leave my theme as the default (for the dynamic albums, and for any new albums), and just switch it if I need to configure a block. It works, but it's an ugly solution. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Can you post your theme? I am no Javascript expert but I suspect that your theme has a JS error as you reported. Dave |
|
mikeage
![]()
Joined: 2005-01-23
Posts: 138 |
![]() |
See http://mikeage.net/content/gallery-codebase/themes/mikeage/ It includes the JS from Lightbox JS 2.0... I wonder if that could have something to do with it. |
|
mikeage
![]()
Joined: 2005-01-23
Posts: 138 |
![]() |
Ok, found where the problem is (I think). Lightbox includes prototype.js, which is acausing the problems. If I remove that, everything works great. Now to figure out why... |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
mikeage wrote:
See http://mikeage.net/content/gallery-codebase/themes/mikeage/ Can you zip it up? I don't want to download each file one at a time to see the error. Dave |
|
mikeage
![]()
Joined: 2005-01-23
Posts: 138 |
![]() |
I can reproduce the problem simply by adding prototype.js (from mikeage.net/common/lightbox) to any theme. Unfortuntely, prototype.js is already the latest version (1.4 - from prototype.conio.net), and Lightbox JS 2.0 requires it. |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
I added the js file from prototype.conio.net and then addedthe code: Dave |
|
mikeage
![]()
Joined: 2005-01-23
Posts: 138 |
![]() |
I didn't try matrix -- just classic and some classic derived themes. |
|
gwmbox
Joined: 2007-05-08
Posts: 38 |
![]() |
Was there a fix for this, I have the same issue? |
|
mikeage
![]()
Joined: 2005-01-23
Posts: 138 |
![]() |
I haven't found a fix, but the workaround is to temporarily change the default theme. |
|