.panels-flexible-region-14-leftleft4441px.panels-flexible-region-14-left4441%

jwells - June 26, 2009 - 04:52
Project:Panels
Version:6.x-3.0-beta2
Component:Mini panels
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Not really sure I have done to cause this.

.panels-flexible-region-14-leftleft4441px.panels-flexible-region-14-left4441%

it shows up below my first pane in a mini

see attached

AttachmentSize
SP32-20090625-215049.gif5.13 KB

#1

sdboyer - June 30, 2009 - 18:29

Looks like flexible layout barfing on the way it pulls things together. An export of your panel would help a lot sorting this one out. Put it in an attachment please, don't paste it straight into the comment box :)

#2

jackiepeters - July 1, 2009 - 04:52

I am also having this problem.

I get this .panels-flexible-region-1-videosvideos6151px.panels-flexible-region-1-videos6151%

And the source code looks like this:

iv class="panels-flexible-splitter flexible-splitter-for-panels-flexible-region-1-videos">
.panels-flexible-region-1-videos
videos
615
1
px
.panels-flexible-region-1-videos

615
1
%

#3

jackiepeters - July 1, 2009 - 05:17

UPDATE:
Fix found
on line 345 in flexible.inc

change

if ($max == $position && $location == 'left') {

to

if (($renderer->admin) && ($max == $position && $location == 'left')) {

The problem is that that stuff is SUPPOSED to show up in admin section, but not on the actual page.

UPDATE:
It breaks the admin side, I'll go through commenting out code till I find the specific piece causing it and will update again later

OK, I found a fix but I'm not sure if it will break anything else

In plugins->layouts->flexible->flexible.inc I commented out most of the function that makes that splitter row, just leaving the open and close parent div

#4

servantleader - July 2, 2009 - 17:43
Priority:normal» critical

I have the same bug
I see:
.panels-flexible-column-1-13134031px.panels-flexible-column-1-134031%

I am not sure if I want to just comment out code, but it looks like we are close to a fix.

This should be considered critical because it breaks all the output on several people's sites.

#5

mathieu - July 3, 2009 - 15:19

I had a very quick look at this - I'm no panels specialist. Any change in function panels_flexible_render_splitter() seems to break the "layout designer" in the admin section. I've got the feeling that maybe this function is called in a place (or a way) it shouldn't.

That's all I can do in 15 minutes, but I thought it was better than just adding another "subscribe" message.

#6

omar - July 3, 2009 - 21:01

I have experienced this too. Here is export of the minipanel that uses flexible layout along with the specific strings generated by it.

The leftmost regions shows ".panels-flexible-region-10-about_tniabout_tni4841px.panels-flexible-region-10-about_tni4841%"
The center regions shows ".panels-flexible-region-10-newsletternewsletter1001px.panels-flexible-region-10-newsletter1001%"
The right regions shows ".panels-flexible-region-10-donatedonate2131px.panels-flexible-region-10-donate2131%

I hope that this is helpful in some way.

Omar

AttachmentSize
flexible_minipanel_export.txt 4.17 KB

#7

omar - July 13, 2009 - 20:26
Version:6.x-3.0-beta2» 6.x-3.0-beta4

I just upgraded to beta4 and the problem seems to persist.

In case it makes a difference, note that I didn't try to recreate the panel from scratch.

Omar

#8

merlinofchaos - July 13, 2009 - 20:27
Version:6.x-3.0-beta4» 6.x-3.0-beta2
Status:active» fixed

jackiepeters: I tried out your solution and I couldn't see where it broke the admin side. So I have committed that.

#9

System Message - July 27, 2009 - 20:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#10

xdecibelx - September 6, 2009 - 23:21

Thanks for the quick fix, I had the same issue!

 
 

Drupal is a registered trademark of Dries Buytaert.