When I try to override a user page in panels 3 a few strange things happen.

1. Javascript is not available on this page
- i have placed a gmap that works on other pages but not the user page.
- all minipanels and other elements that I use on the user page, I placed on regular panels pages as a test and they show up perfectly

2. I think the styles issues come up because javascript is not present on this page. The styles are not working.

Chris

Comments

socialnicheguru’s picture

I tested the above with no panels enabled or as default from a module.

Then I tried something different. I tried using the advanced profile kit with the same result when I saved a change.

I was using apk. out of the box the page worked great and javascript was enabled.

As soon as I made a change and saved it and overwrote the default value, the above issues happened

socialnicheguru’s picture

I looked in firebug and here is the javascript error that I get only on this page

elem is undefined

[Break on this error] script.appendChild(document.createTextNo...y(object[name],args)===false)break;}else
jquery.min.js?g (line 19)

elem is undefined
nodeName()()jquery.min.js?g (line 19)
tabify()()ui.tabs.js?g (line 192)
tabs()()ui.tabs.js?g (line 60)
(?)()()ui.tabs.js?g (line 28)
nodeName()()jquery.min.js?g (line 21)
filter()()jquery.min.js?g (line 12)
tabs()()ui.tabs.js?g (line 23)
tabs()(Document 1)tabs.js?g (line 23)
(?)()()drupal.js?g (line 42)
nodeName()(Object, function(), undefined)jquery.min.js?g (line 20)
attachBehaviors()(Document 1)drupal.js?g (line 41)
(?)()()drupal.js?g (line 276)
onreadystatechange()()jquery.min.js?g (line 27)
onreadystatechange()()jquery.min.js?g (line 27)
nodeName()([function(), function(), function(), 7 more...], function(), undefined)jquery.min.js?g (line 21)
onreadystatechange()()jquery.min.js?g (line 27)
[Break on this error] script.appendChild(document.createTextNo...y(object[name],args)===false)break;}else

socialnicheguru’s picture

Project: Panels » Chaos Tool Suite (ctools)
Version: 6.x-3.x-dev » 6.x-1.x-dev

Javascript is being disabled on pages that are overwritten.

merlinofchaos’s picture

That looks like jquery UI is crashing on this page for some reason. Panels doesn't use jquery UI so I'm not sure what to suggest; that is coming from something else. Maybe the theme is expecting something?

socialnicheguru’s picture

Project: Chaos Tool Suite (ctools) » Flickr

I found the issue. I had a mini panel that I created from elements of the flickr module.

I am shifting the issue over.

Thanks for your patience.

Chris

socialnicheguru’s picture

Priority: Normal » Critical

The error above is introduced when the user has not entered a Flickr username.

Once they have then everything works.

is there a quick way to correct this.

Took me a roundabout path to find this.

Chris

I marked this critical because this error propagates through a site causing many errors and unknown behaviors.

ksenzee’s picture

Priority: Critical » Normal

Panels 3 isn't even released, so I don't think this counts as critical. But I would like to get it fixed. Can you provide a way to replicate the error?

socialnicheguru’s picture

create a mini panel with the flickr blocks in it
create a panel page
do not enter your flickr id in user/uid/edit
place the mini panel in the panel
place another mini panel or block on the same page
You will notice that the other blocks on the page do not show up

btw- panels 3 link: http://drupal.org/node/468632
I did initally mark as critical because of this bugs effect on other modules. That was just my reasoning.

socialnicheguru’s picture

any thoughts?

lolandese’s picture

Title: user/%user override causes javascript to be disabled on just that page » Panels 3: user/%user override causes javascript to be disabled on just that page
Category: Bug report » Feature request
Issue summary: View changes
Status: Active » Postponed (maintainer needs more info)

Cleaning up the issue queue.

Compatibility issues with other contrib modules are not bugs. It can be a feature request (e.g. "Play nice with Panels 3").

Many code changes have taken place since, both in Flickr as in Panels. Is this still an issue?

Thanks.

lolandese’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing for lack of activity.

Feel free to reopen if this still is an issue with the latest versions of Flickr and Panels.

Another Panels related issue #1462084: Panels: Flickr does not show the right images on user profiles.

Thanks.