Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Currently, theme settings, is where the default adaptive response and widths are set for all the various layouts. These settings apply to every page/panel/variant on the site as one.
Next level awesomeness would be to allow these settings to be unique PER panels layout individually...
So for /frontpage I could have the AT_PE with a 25/50/25 layout, and for /users/%x a 50/50 layout that stacks differently, and for /somepage a 70/15/15, etc.
I can help with this but just curious if there is interest. Also, what would be the best way of implementing:
- In theme settings just list the known and active pages from page manager and apply settings to each individually, or..
- Create new panels "tasks" (is what I think he calls them), on the left under Layout and Content where we could have AdapativeTheme and set the settings unique to the current panel.
- I wonder if we can easily hook into the "Show layout settings" button similar to how the Panels flexible builder does it.
Comments
Comment #1
Jeff Burnz CreditAttribution: Jeff Burnz commentedWhat you are describing is the ultimate solution, not really sure this can be solved in a theme, more in a module that extends Panels, or simply replaces panels... aka Spark layout initiative for Drupal 8.
I'm all for it, but right now don't have the capacity to work on such a project, possibly closer to the end of the year but right now my plate is very full till the end of the year.