Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'm trying to change the style of some regions in "panels - custom layout".
I'm changing the style of a region then saving but when I open the layout again I see there is no styling properties at all.
Also when I try to add content to the layout it just doesn't appears.
I tried the same on a different layout, but with no success.
My goal is to make a designed view's panel layout for a catalog of pages.
Thanks,
Amir.
Comment | File | Size | Author |
---|---|---|---|
#8 | layout export.txt | 1.84 KB | rafaqz |
Can't change the style | 54.44 KB | amirc |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedThe part you have circled says that the style is currently 'Default', and if you click 'Change' it will allow you to change this. What happens when you click change?
Comment #2
amirc CreditAttribution: amirc commentedI can change to what ever I like.
Then it looks like it works but when I save it and edit again the layout region's style are "default".
When I try to add content to a region, the "add content" menu is open I can choose a content.
But after I choose a custom content thers no change at all in the layout.
Comment #3
Letharion CreditAttribution: Letharion commentedCan you try creating a new panel page with a fixed layout, and see if the same problem happens there too?
Comment #4
amirc CreditAttribution: amirc commented"panel page" is working great.
But I need custom layout for Views.
Comment #5
merlinofchaos CreditAttribution: merlinofchaos commentedCheck your php and watchdog logs. Is there some kind of database error when saving the panel?
Comment #6
amirc CreditAttribution: amirc commentedThere are no errors at all =\
b.t.w
Im working with CTools 7.x-1.0-rc1.
is it fine?
Comment #7
amirc CreditAttribution: amirc commentedI have an idea,
I want to import a layout with custom style.
Can someone please add some custom "Stylizer" style to this layout and post it back?
Thanks,
Amir.
Comment #8
rafaqz CreditAttribution: rafaqz commentedI am having the same problem attempting to set the style of a region of a flexible layout (I'm hoping all pages using the layout will inherit that style?). Everything works as normal except that after save the style is still just the default. If I export the layout before saving (when the edit is still visible) the export still does not contain the style information and is identical to the export after saving.
I've attached the export of the layout, and as far as I can see it has no style information at all, though I have saved style edits multiple times, of multiple different types. There just doesn't seem to be a layouts version of
$display->panel_settings = array(
'style_settings' => array(
...
being saved or exported anywhere.
Thanks