How Do You Add Blocks Into Other Blocks Or Put 3 Add Ons In The Same Block2 users found helpful
But you have to use two content blocks if you want to place another block like zoom image between the content...
Do you know how I do that? I know how to manipulate html and css but not sure how these blocks inside blocks work.
For all intents and purposes, blocks are 'atomic' by nature. Blocks can't contain other blocks (without some pretty sophisticated and unreliable hoop-jumping). What you want is a 'molecule'. These molecules are built by manipulating divs which contain C5 areas which then contain individual blocks.
In your question, you speak of wanting a container 'block' to hold all your other blocks. The container 'block' you desire is actually the page itself so you have to manipulate that container.
The easiest way to get started with this would be to make a copy of the page template file that most closely matches your desired layout (e.g. root/themes/your_theme/three_column.php) and call it something like 'multimedia.php'. This new page type will not show up automatically for you to use within C5. Once you put that file in your theme folder, you must to go to 'Dashboard->Themes' and 'Inspect' your theme to 'Ok' the addition of this new page type.
Now that the new page type is available, you can edit the 'multimedia.php' file to add divs (and C5 areas inside those divs) and manipulate the css to float, position and otherwise cajole your areas to appear where you want them on the page. By adding various slideshows, videos, text and images to these new areas you will have yourself a page full of multimedia.
Stacks are another way to add a bunch of different blocks to a page but C5 simply spits out the blocks in the stack sequentially (like a stack of pancakes) with limited ability to manipulate the ultimate placement of the blocks from the stack.
Just not as easy to or should I say not as straight forward as I find building using Dreamweaver. I am hoping to build a site that can then be updated by a none technical person but I am not sure Concrete5 is all that logical. Thanks The site ishttp://billanddonnasadventures.com...
Build the page like you've always done but put this code inside each div replacing 'UniqueName' with a unique name for each area. Your name must be in quotes. It doesn't matter what name you give to them. The '$a' and '$c' variable names should be the same in all the divs. Only the unique name must be different.
<?php $a = new Area('UniqueName'); $a->display($c); ?>
Add that page to C5 the way I mentioned above. Add a page to your site and tell it to use this new 'page type' file. Put this new page in edit mode and start adding your slideshows, videos, text, etc to your empty areas. Your end user can now put anything they want in those areas, not just what you used to hard-coded in.
Hey, 8 months ago, I came to C5 from the land of 'Classic ASP', Frontpage and IIS so it's been a learning experience for me as well. Stick with it and you'll see the benefits.
Are you working with a specific theme from the C5 installation? Perhaps I can mock up a page for you and attach it here so you can add it to your site.
The other area I always like to make more robust is the footer but it sure seems to be lacking in C5.
Thanks for your help
just want to let you know that other guys have also read the stuff which you took time to write and explain so nicely. As a noobie to c5 with just enough (amateur) knowledge of html, php, css (and asp) to have some fun and get me into some trouble, I appreciate your description and explaination.
I was also wondering if one can put a block in a block. But now I have a good idea as to how I can proceed.
again many thanx
Yesterday, I had to build a new page in an old site written in Classic ASP and it damn near took me all day for something it would literally take 10 minutes to accomplish in C5. I actually considered just putting an iframe in the asp page and linking it to a C5 solution but then the client couldn't maintain it. Damn clients are stunting my creativity ;-)
If you're interested in building your own C5 blocks, you must try jordanlev's excellent free add-on called "Designer Content" found here:
That will keep you busy for months and get you in all kinds of trouble!