Question about Global Block
Permalink
Hey Guys,
I have contact info that should display on every page.
This contact info should automaticly change on every page when I edit it.
I have achieved this by creating a Global Block:
1. Create block on page and fill with content
2. Choose 'Copy to Scrapbook'
3. Select 'Global Scrapbook'
4. Select 'Alias original to Scrapbook'
5. Click 'Add block to Scrapbook'
However, every time I add a new page I have to add this Global Block myself. What do I have to do to automaticly include this Global Block in my new page?
I have contact info that should display on every page.
This contact info should automaticly change on every page when I edit it.
I have achieved this by creating a Global Block:
1. Create block on page and fill with content
2. Choose 'Copy to Scrapbook'
3. Select 'Global Scrapbook'
4. Select 'Alias original to Scrapbook'
5. Click 'Add block to Scrapbook'
However, every time I add a new page I have to add this Global Block myself. What do I have to do to automaticly include this Global Block in my new page?

go to dashboard, pages themes, page types, defaults.
You still need to add the following code to your page template to create a global area block. If you just add a block to a new content area then it won't appear on all pages already created in your site.
<?php $a = new GlobalArea('Area Name'); $a->display($c); ?>
FYI: This thread was started when Global Areas didn't exist.