Closed (fixed)
Project:
Panels
Version:
5.x-2.x-dev
Component:
Plugins - layouts
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 May 2008 at 16:59 UTC
Updated:
12 Aug 2008 at 11:13 UTC
Jump to comment: Most recent file
Comments
Comment #1
merlinofchaos commentedOther than the excess markup, does this differ significantly from the one column?
I.e, if we reduced one column to minimal markup, would there be any real problems? I'd rather do that than add a new layout which, to a user, looks the same.
Comment #2
sunI'm afraid that altering the one-column layout might break sites that already use this layout and applied CSS styles to the surrounding container.
Having a separate Plain layout makes perfectly sense. It avoids unnecessary HTML markup where it is not needed.
Comment #3
smk-ka commentedIf we rename the Single column layout files but don't overwrite what's possibly in use, there should be no problem, and would be my preferred solution, too.
Comment #4
sdboyer commentedIt seems like an optimal solution here might be adding something to the existing one-col layout by implementing the 'settings form' and 'settings submit' properties. It doesn't need to be anything more than a simple checkbox that says "Use minimalistic layout;" you can then return one or the other layout style conditionally on whether it's been set.
'Use minimalistic layout' would be the way to do it, to...because that implies that it has to be checked, aka == TRUE, so we wouldn't have any of the nightmares we've had with $pane->shown...
Comment #5
merlinofchaos commentedI agree with sdboyer. If you'd like to reroll the patch with his suggestions, that's likely to get a go.
Comment #6
sdboyer commentedYep. Again, I'd like to see this in for RC, but it needs that refactoring done!
Comment #7
smk-ka commentedHere you go.
Comment #8
sunChanged settings key to 'plain' and re-worded layout settings option.
Comment #9
sunWell, just added an E^ALL fix, and this is ready to go.
Comment #10
sdboyer commentedNicely done, Kudweins. Thanks, and committed!
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.