Page 1 of 1

[solved] Display content block in footer

Posted: Sun Jun 22, 2008 10:36 pm
by baresi
Is there a way to grab the text from a content block and display it in each own page's footer?

For example

In my template:
{content block='something'}

And my  {global_content name='footer'} is:
2002-2008

{content block='something'} <-----the text is from the currently loaded page, not global

There is probably something simple right in front of me, like cms_selflink, and I am just missing it. Any help would be appreciated.

Re: Display content block in footer

Posted: Mon Jun 23, 2008 12:52 am
by Dr.CSS
Adding {content block='something'} any where is going to make a... oh I think I think I know what you are trying to do...

See we have to read minds when we get ?s with very little info...

You want to have a content edit box in the template and have the same info show up in the footer but each page will be diff. because it will have diff. info in each page, you can just put the content block in the footer and edit in each page...

Re: Display content block in footer

Posted: Mon Jun 23, 2008 1:43 am
by baresi
Sorry about the lack of info and not being clear. Yes thats what I am looking for except for one addition.
The content already exists on the page, not being added via an additional edit box. I am wondering how I can grab some content from each individual page and 're-display' it inside the footer of that (same) page
(Sort of like having the pagetitle appear on the page and also in the footer)

Thanx again.

Re: Display content block in footer

Posted: Mon Jun 23, 2008 1:48 am
by calguy1000
see the help for the cgsimplesmarty module.

Re: Display content block in footer

Posted: Mon Jun 23, 2008 2:04 am
by baresi
Thank you, will do that. Apologies again for any unclear and redundant posts, I will add [solved] here soon