Page 1 of 1

Same block on all pages, how to do that ?

Posted: Sun Feb 12, 2006 10:27 am
by quentin2
Hello,

I'm trying to design  a few pages with three content block on them.
Only Once content changes on all pages and the other two are the same on all pages.

When i want to update the fixed two content, do i have to go to all pages and change the content ? Or is there a way to update the content just once and it wil be reflected on all pages ?

Thanks ;)

Re: Same block on all pages, how to do that ?

Posted: Sun Feb 12, 2006 12:56 pm
by quentin2
Thanks a lot Patricia, that was very quick ! :D

Re: Same block on all pages, how to do that ?

Posted: Wed Mar 22, 2006 3:22 pm
by mannivw
Hi Patricia

In my Global Content Blocks I have this and it's called pageload:


And in one of my pages I have {global_content name='pageload'}
But when I view the page I see this:

Instead of the contents of pageload.php

What am I doing wrong? Do I have to enable something?
Thanks

Re: Same block on all pages, how to do that ?

Posted: Wed Mar 22, 2006 3:26 pm
by calguy1000
php stuff like this should go into a user defined tag, not an html blob.
but you could try putting {literal} and {/literal} at the top and bottom of your blob/global content block

Re: Same block on all pages, how to do that ?

Posted: Wed Mar 22, 2006 3:33 pm
by mannivw
calguy1000
Thanks for the quick reply.
I put this into my global content block
{literal}

{/literal}
and it still just shows what's between the literal's on the page.
In case it wasn't obvious today is my first attempt at using CMS made simple

Thanks

Re: Same block on all pages, how to do that ?

Posted: Wed Mar 22, 2006 5:37 pm
by calguy1000
then the best way would be to remove your global content block and create a user defined tag with the include statement on it.