So out of the box Aurora/Corona subtheme on empty D7 site. I go to Page Manager and add a new page. Walking through the wizard, when I get to the point where I've selected the HTML5 Sections layout and I'm determining the sections/regions, I can't seem to add new sections or regions. Also, unlike the Flexible Layout, there is no helper boundary (which isn't necessary, but might be a little more helpful from a UI perspective). In any case, am I doing something wrong here? Could you write a little documentation walking a user through the creation of a very basic HTML5 Section-based layout, maybe a 3-section layout? I'd love to also get a better understanding of how I would use Singularity/Aurora to take advantage of Panels, as opposed to Panels getting in the way.
Thanks!
Comments
Comment #1
mausolos CreditAttribution: mausolos commentedCorrection, it does seem to add new sections, but does not refresh the page to show this to you. You have to go back to a previous part of the wizard, then advance forward again to see the new section/region. Hmm.
Comment #2
mausolos CreditAttribution: mausolos commentedAlso, you can't seem to add more than one region to a section. Is that what's intended? Furthermore, you can't indicate the position of one region in relation to another. But perhaps that's because you just indicate that with your styling?
Comment #3
cameron prince CreditAttribution: cameron prince commentedI noticed the same issue with new sections/regions not displaying when initially adding them. A work-around is update/save after adding each one. This is rather painful because you have to re-enable the layout designer again each time, but at least you can see what's going on.
Each region works out to be an
<aside>
in the rendered output. Each block assigned to a region is wrapped in a<section>
inside its parent<aside>
. I believe it is intentional to only allow one region per section as you've discovered.Comment #4
Snugug CreditAttribution: Snugug commentedWe are working on an update to this feature, once we have the functionality sketched out and built we will be updating it. It's on the roadmap, but I can't give a strict release date at the moment.
Comment #5
mausolos CreditAttribution: mausolos commentedLet me know if there's anything I can do to help.
Comment #6
iamcarrico CreditAttribution: iamcarrico commented@mausolos if you want to take a look at the code in the "ds_layouts" folder--- feel free.
It is currently more or less a copy of the Flexible layout builder, but clearly needs a bit more work. What we are trying to get is a custom-layout builder that does not have "columns" but instead just sections that can be moved about. Currently, I believe @snugug uses a hook to then change what container each section is in, but using settings might be preferable if we can do that.
I have this on my list of to-do's, but I am not sure when I will have the time to give it the love it deserves.
Comment #7
mausolos CreditAttribution: mausolos commentedSo right now, this looks like a pancake stack, visually. Moving forward, is it supposed to continue to look more or less like that? That's fine, from a CSS-theming standpoint, of course. Then when you say "move around", I assume you mean, "drag and drop"? So just re-ordering the pancakes in the stack, so to speak?
Comment #8
iamcarrico CreditAttribution: iamcarrico commentedYes.
Comment #9
iamcarrico CreditAttribution: iamcarrico commentedI just talked this over with @snugug, and we are removing this from the next release entirely. I put the reasons in #2026053-9: Document the removal of Panels integration, but simply--- this was the wrong way to solve the problem.
Comment #10
iamcarrico CreditAttribution: iamcarrico commentedI just talked this over with @snugug, and we are removing this from the next release entirely. I put the reasons in #2026053-3: Document the removal of Panels integration, but simply--- this was the wrong way to solve the problem.
Comment #11
iamcarrico CreditAttribution: iamcarrico commented