Adding page sections on the fly

Permalink
I'm looking to see if some c5 functionality exists anywhere, either in the current framework, or through an add-on.

What I'm trying to accomplish is having a tool where I can build a page through the CMS. For example, assume that there is a global header and footer. Now, if you want to create a unique landing page, I'd like to add any number of sections. When a section is added (just like the LAYOUT functionality), it would allow me to add a class to that containing section (I don't think the current settings for an area would add a class to a section.

So, it might look something like this.

GLOBAL HEADER

Each section added would be...

<section class="test">EDITABLE AREA</section>

GLOBAL FOOTER

So, the <section> above could be added on the fly with the class name also being added. Then once that's added, it would be an editable region like normal.

As far as I know, the LAYOUT option doesn't handle things this way.

Thoughts?

 
mnakalay replied on at Permalink Reply
mnakalay
There is a one-page theme in the marketplace that does something a bit like that. It allows you to define how many areas you want on the page through a page attribute and you can add or remove areas as needed.

I think it's called long story short.

I am not sure whether it adds classes or not though.
blinkdesign replied on at Permalink Reply
blinkdesign
check out this older thread:
http://www.concrete5.org/community/forums/customizing_c5/one-page-d...
you only have to define he number of sections as as a 'num attribute'
it might help.