Multiple blocks area in the scrapbook.

Permalink
I have a zone with three different layouts that either have two divs (1 for text and 1 for an image) or three divs (1 main text and 2 smaller text divs).

I was hoping that instead of having three different templates, the client could select 1 of the 3 from the scrapbook? Is there any way to create either a content block with multiple div areas or a scrapbook snippet that contains several blocks already defined?

I hope this makes sense.

 
synlag replied on at Permalink Reply
synlag
zone, i guess you mean area, or page type?
have a look at advanced permission, to limit the blocks your client could select.
create global blocks via dashboard->scrapbook->global and make them addable for your client group.
you can switch then in the wysiwyg editor to html view, and define your divs there.

helps?
liminal replied on at Permalink Reply 2 Attachments
There are two different layouts here, i'd essentially like to be able to select only this area depending on it being 2 columns or 3?

I haven't used the page types yet and to be honest they confuse me.

Does this help?
synlag replied on at Permalink Reply
synlag
like so

<div id="main">
    <div class="page_margins">
      <div class="page">
        <div class="subcolumns">
          <div class="c50l">
            <div class="subcl">
            <?php          
              $a = new Area('Main');
              $a->display($c);         
            ?>          
            </div>
          </div>
          <div class="c25l">
            <div class="subc">
              <!-- Insert your subtemplate content here -->


the classes are from yaml css framework. see the example at nutzleistung.de
i'll submit the next 'the column cruiser' theme version of this as far as possible.
liminal replied on at Permalink Reply
I'll have a look into this in a bit and see if she works.

Thanks for taking the time to post!

Ryan