Page 1 of 1

text in footer should only appear on 1 page

Posted: Fri Jun 01, 2007 3:39 pm
by mev
Hi all,
I want to hade a line of text inside the footer-div, to appear only on one page.
At the same time I don't want my client to be able to edit or delete any of it.

So, for this I cannot use another content block or a global_content in the template.

How could I accomplish such a thing (also getting it at the right position in that one page, down under inside the footer)
whithout having the make 2 different templates?

Thanks very much in advance

willemijn

Re: text in footer should only appear on 1 page

Posted: Fri Jun 01, 2007 4:00 pm
by calguy1000
put the footer text (or gcb) into your page template with some smarty logic to only display it on one page:

{if $page_alias == 'home'}{global_content name='footer'}{/if}

Re: text in footer should only appear on 1 page

Posted: Fri Jun 01, 2007 10:17 pm
by mev
hi callguy,
Yep this works! Thanks a lot for your help & trick !!


Willemijn