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.
Here are some ideas I have for this module:
- Add a "Grid settings" fieldset where you can set grid-1, grid-2 etc. and alpha and omega classes.(Like the precision grid style)
- This can actually be done manually, but the interface of the precision grid style is nice..
- Porhaps if you set semantic panels region style you only set the grid size and semantic panels adds alpha and omega classes automatically as needed?
- Make sure that the region style works 100%..
- Make a couple of presets so you quickly can get "no extra markup" for example
- Set a preset as default?
- Ability for the site builder to create and save own presets!
- Add option to make all panes in a region be equal height(probably with jquery plugin), this is good for when panes are floated and different height
- Another solution to this is to make a "row separator" ctools content type(pane) to clear floats. Pro: no extra js Con: extra markup and wont work if you need the panes to connect(border or bg color that is equal height for example)
- Ability to set semantic style as default for new panes?
Comments
Comment #0.0
emattias CreditAttribution: emattias commentedIs the nice precision ui neccessary?
Comment #1
Letharion CreditAttribution: Letharion commentedI believe both of the last two have corresponding feature requests in the Panels queue. Being able to set a default style (per page?) for all panes seems like a reasonable feature request for Panels. The equal height thing is probably better of here though.
Comment #1.0
Letharion CreditAttribution: Letharion commentedequal heights
Comment #2
emattias CreditAttribution: emattias commented@Letharion: You wouldn't happen to have the corresponding issues? :)
Comment #3
Letharion CreditAttribution: Letharion commentedSorry, I didn't want to spend the time finding them during work hours. #874002: Option to choose a default style for all new panes is relevant. I was wrong about equal height, I was thinking of something else.
Comment #3.0
Letharion CreditAttribution: Letharion commentedPresets!
Comment #3.1
emattias CreditAttribution: emattias commentedrow separator
Comment #4
Letharion CreditAttribution: Letharion commentedI have posted an initial patch to #874002: Option to choose a default style for all new panes.
Comment #5
mcjim CreditAttribution: mcjim commentedThanks for writing this module.
We've been using a patched version, which applies http://drupal.org/node/1826764 and http://drupal.org/node/1424910 and also amends to add arbitrary wrappers for the regions themselves. I've also made an adjustment to the UI, so that the fieldsets are open if any of the extra attributes are set and other minor tweaks.
Using this, we've been able to output panels with no markup at all, and only add wrappers as and when needed. Fantastic!
I'm also going to experiment with a flexible-builder template so we can easily add as many regions as we need. This is currently making more sense to us than a series of fixed templates as we're taking a content-outward approach to building our content.
So, I guess the question is, how best to share all of this? I got a little carried away and changed more than I originally anticipated (oops…!), but would like to share it somehow if you're interested in these features.
Comment #6
timbrandin CreditAttribution: timbrandin commentedI guess it would be gr8 to also work with the upgrade problems that occur for this module when changing to newer version.
For example mentioned in #1851778: After disabling module my panel page gets wsod.
// T
Comment #7
emattias CreditAttribution: emattias commentedI'll close this. We can talk about the other bugs in their respective issue.
Comment #8
mcjim CreditAttribution: mcjim commentedHey emattias. Posted some code here if you're interested: http://drupal.org/sandbox/mcjim/1899120
Comment #8.0
mcjim CreditAttribution: mcjim commentedauto alpha and omega