Adding A Block in Concrete5 to Multiple Pages

childpages.jpgThis is one of those, "I wish I knew that before" blog posts.  After using Concrete5 for longer than I care to admit in this post, I just discovered a "new" tool that would have saved my dozens of hours over the last year if I had known about it.  The tool is the Setup on Child Pages tool that is found in the Default Page Types in the Dashboard.  With this tool you can add a block to multiple pages on a website by just click the block while in edit mode and then choosing Setup on Child Pages.  I actually brought up the need for something like this to Franz, CEO of Concrete5, a while back and he said, "Ya, I know."  Didn't know that he did it and it has been in Concrete5 for the last two versions.  Great tool to use when you need to make an update on mutliple pages of your website after the pages have already been created.


If you need to add blocks to new pages automatically when they are created you simply add the block to your Default page layout in the same section of the Dashboard.  Any new pages created from that point forward will then have the block applied to it (I've know about this tool for a long time).

Have questios about Concrete5?  Please leave a comment below or feel free to contact us.





Please add a comment

Posted by Jordan Lev on
Nice post! Even though that is a long-time built-in feature of C5, it is very out of the way and not easily discoverable. Just want to point out that there is a potential issue with adding blocks that way -- if you ever delete the block from the Page Defaults, then the blocks will also disappear from child pages (unless you're edited a specific block on a child page, in which case it becomes "disconnected" from the Page Defaults, but in order to do that on every page you're back at square one with having to edit every single page to get what you want).

A very common use case for adding blocks to many pages is when you have a common sidebar. I'm not sure if this is what you were going after in your situation above, but if so, I've found that a better solution is to use the free "Global Areas" addon, which I explain here:
http://www.concrete5.org/community/forums/usage/difference-between-page-defaults-andamp-global-scrapbook/#176928

-Jordan

PS - if you're designing sites for other people and you haven't checked out the free Designer Content addon, you definitely should as it will save you a ton of time and make the site even easier for your clients to manage:
http://www.concrete5.org/marketplace/addons/designer-content
Leave a Reply



(Your email will not be publicly displayed.)





For more information about this blog or Concrete5 please contact Jamie Johnson.