Closed (fixed)
Project:
Radix Layouts
Version:
7.x-3.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2014 at 00:44 UTC
Updated:
24 Nov 2014 at 00:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
barrapontoI think Radix Layouts shouldn't add its CSS unless required.
Comment #2
shadcn commentedI was actually working on this bug yesterday. I'll push.
Do you have a screenshot or steps to reproduce?
Thanks
Comment #3
barrapontoI've got better: a patch :D
The issue is that radix_layouts.css applies styles to
.container, which is used by Bootstrap (and added in radix'spage.tpl.php). My patch avoids adding radix_layouts.css by default, instead declares the CSS to be used in the layout plugin (usinghook_ctools_plugin_pre_alterbecause adding the css key to every single layout plugin would be a pain).BTW, come back to #panopoly on IRC
Comment #4
shadcn commentedThanks for the patch Capi.
The problem with this approach is that if you have custom layouts in your module then this does not get executed.
Comment #5
barrapontoWell, if you have custom layouts in another module, add the CSS from the other module (drupal_get_path will be useful).
Comment #6
barrapontoNo really, no idea what went into that patch of mine. Here's a sane patch.
Comment #7
PI_Ron commentedI think an issue I am seeing may be related to this. Please see attached screenshots of site layouts after enabling radix_core & dependencies (with & without radix theme & subtheme enabled).
Disabling radix modules fixes the layout.
Comment #8
barrapontoI'll really need steps to reproduce this error. And try not to use Radix_Core right now, because I don't think it's up to date.
Comment #9
PI_Ron commentedSo just download radix_layouts & radix_admin manually?
Comment #10
PI_Ron commented@barraponto please see my comment #15 & #16 in this issue, they have steps I took to produce this error, including using radix_core:
https://drupal.org/comment/8602937#comment-8602937
Comment #11
PI_Ron commentedWhich version is this patch meant to be applied to?
Comment #12
PI_Ron commentedAfter some testing it appears the layout overlapping issues mentioned in https://drupal.org/comment/8602937#comment-8602937 only appear when using Panopoly 1.2
I've reverted Panopoly to 1.1 and the layouts are working fine.
Comment #13
shadcn commentedThis is now all fixed. See #2334871: Radix Layouts breaks Panopoly for nested panels (e.g. teaser lists).