hi everyone,
How I would do this in my main template?
if page=hone
show {global_content name="Comments"}
else show {global_content name="MainSiteHeader"}
I can't find any infro on this.
Thank you
Andrew
Show Content on some pages
-
- Forum Members
- Posts: 127
- Joined: Fri Nov 28, 2008 10:28 pm
Re: Show Content on some pages
Hi Andrew.
It would be looking like this:
If you intend to use CMSMS on a regular basis, and I hope so, I suggest that you browse the Smarty Doku now and then. It's quite easy and lightweighted to read.
http://www.smarty.net/manual/en/
Bernd
It would be looking like this:
Code: Select all
{if $page_alias eq "home"}
{global_content name="Comments"}
{else}
{global_content name="MainSiteHeader"}
{/if}
http://www.smarty.net/manual/en/
Bernd
-
- Forum Members
- Posts: 127
- Joined: Fri Nov 28, 2008 10:28 pm
Re: Show Content on some pages
That was quick. Thank you very much, I well try it now.
Thank you
Andrew
Thank you
Andrew