I want a special div to show up on the landing page.
I want a special div to show up on the landing page.
I know in wordpress you can check to see if the page is home in a template to make something only happen if the page is set to be the landing page. I was wondering if there was a similar way to do this in CMSMS with smarty tags in the layout template. Thank you!
-
cyberman
Re: I want a special div to show up on the landing page.
You can use variable $page_alias for this like
Code: Select all
{if $page_alias == 'home'}
<p> Home content</p>
{else}
<p> Other content</p>
{/if}
