I want to be able to control certain content to show up only when the site is on a given level.
Say for instance i want certain content to be displayed by the template to show up when it is on the homepage or a given section/page, how do i achieve that?
Do i use PHP to create an "if..else" check and is there a feature in CMSmadesimple that i can then reference to detect what page it is?
Or is there some other way of doing this?
[SOLVED] Inserting content for specific pages or site levels
[SOLVED] Inserting content for specific pages or site levels
Last edited by merlowe on Mon Oct 25, 2010 10:26 am, edited 1 time in total.
Re: Inserting content for specific pages or site levels
{if $page_alias == home}some thing{elseif $page_alias == another-alias}another thing{else}some default text{/if}
If you are looking for section/parent page stuff it involves more smarty...
If you are looking for section/parent page stuff it involves more smarty...