Difference Between Page Defaults & Global Scrapbook?
Permalink 1 user found helpful
I just set up my first C5 site the other day and I used Page Defaults to get my navigation and sidebar items to appear on every new page of the site by default.
My question is this...what if I want to change the content of my sidebar and have the change be made across the whole site at once? I tried changing it on the homepage, but the change was only on the homepage.
If I change the content on my Page Defaults and then use the Publish to Child Pages option, will it go through and update that block or add an entirely new block?
How do other people handle updating global content easily?
My question is this...what if I want to change the content of my sidebar and have the change be made across the whole site at once? I tried changing it on the homepage, but the change was only on the homepage.
If I change the content on my Page Defaults and then use the Publish to Child Pages option, will it go through and update that block or add an entirely new block?
How do other people handle updating global content easily?
Thanks for the help! I found this page very helpful:http://www.weblicating.com/index.php/c5/cheat-sheet...
Specifically for this task the part "Insert a Block In a Page"
Specifically for this task the part "Insert a Block In a Page"
This has always been a bit of a pain point with C5. What I've found to be the best solution is using the free "Global Areas" addon:
http://www.concrete5.org/marketplace/addons/global-areas...
Build out your sidebar on the home page. Then go to the Page Defaults and add one of these "Global Area" blocks to the sidebar there and set it to pull content from the home page. Then click on that block in the page defaults and do "Setup on Child Pages" and choose every page EXCEPT the home page. (Note that you may need to repeat these steps for different page types if more than one page type has that sidebar.) Now all you have to do to make changes across the whole site is edit the sidebar on the home page!
One little caveat here is if you put an autonav block and tell it to show pages at the "current level" (like a sectional nav), it won't work right, but there's a relatively easy fix you can make to an autonav code file to fix that -- seehttp://www.concrete5.org/community/forums/usage/change-positioning-... . Also, form blocks won't work exactly right, but the free "Ajax Form" template fixes that problem:http://www.concrete5.org/marketplace/addons/ajax-form...
Hope that helps!
-Jordan
http://www.concrete5.org/marketplace/addons/global-areas...
Build out your sidebar on the home page. Then go to the Page Defaults and add one of these "Global Area" blocks to the sidebar there and set it to pull content from the home page. Then click on that block in the page defaults and do "Setup on Child Pages" and choose every page EXCEPT the home page. (Note that you may need to repeat these steps for different page types if more than one page type has that sidebar.) Now all you have to do to make changes across the whole site is edit the sidebar on the home page!
One little caveat here is if you put an autonav block and tell it to show pages at the "current level" (like a sectional nav), it won't work right, but there's a relatively easy fix you can make to an autonav code file to fix that -- seehttp://www.concrete5.org/community/forums/usage/change-positioning-... . Also, form blocks won't work exactly right, but the free "Ajax Form" template fixes that problem:http://www.concrete5.org/marketplace/addons/ajax-form...
Hope that helps!
-Jordan
Went through the same learning curve recently.
At first I edited the "Page Defaults" which meant when new pages were added, they contained the correct blocks. However, when I needed to change a block, changing it in Page Defaults didn't update all of the existing pages. When I used "Publish to child pages" this seemed to add a brand new block rather than changing the one that was already there.
The solution in the end seemed to be to add the block to the global scrapbook. Then add the block from the scrap book to the page default. When you want to make changes, make it from within the scrap book (rather than within page defaults) and the changes should cascade through to the page defaults and also all of the existing pages.
I hope this makes some sense. It seemed to work for me.