Download & Extend

When a Mini Panel is being rendered as a block, no $display->css_id is set

Project:Panels
Version:5.x-2.0-beta5
Component:Code
Category:bug report
Priority:normal
Assigned:Wim Leers
Status:closed (fixed)

Issue Summary

Title says it all. This causes some panel styles (at least panels_tabs) to behave awkwardly, because it relies on $display->css_id to generate a unique ID (which is later used in JS).

AttachmentSize
mini_panel_as_block_generate_css_id.patch993 bytes

Comments

#1

Status:reviewed & tested by the community» fixed

Brilliant. Thanks Wim. Committed.

#2

Status:fixed» closed (fixed)

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

#3

Is this patch included in the Dev version?

#4

I can confirm this problem with the following setup

Panels 5.x-2.0-rc1a
Tabs panel style 5.x-1.5
Tabs 5.x-1.1

In a tabs layout, nothing shows up, but with a default or rounded corners layout, all 3 panes (with views embedded) show up.

nobody click here