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
text in footer should only appear on 1 page
text in footer should only appear on 1 page
Last edited by mev on Fri Jun 01, 2007 3:47 pm, edited 1 time in total.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: text in footer should only appear on 1 page
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}
{if $page_alias == 'home'}{global_content name='footer'}{/if}
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: text in footer should only appear on 1 page
hi callguy,
Yep this works! Thanks a lot for your help & trick !!
Willemijn
Yep this works! Thanks a lot for your help & trick !!
Willemijn