Different Subside

User avatar
wiz
Admin
Posts: 600
Joined: Sat Oct 30, 2010 12:23 am

Re: Different Subside

Post by wiz »

Code: Select all

In your theme.php, you can use the following example, meaning this can be solved with PHP only.
- This should show your about area only on the about page.
<?php
if ($Wcms->currentPage == 'about) {
    echo $Wcms->block('newEditableArea');
    } else {
}

if ($Wcms->currentPage == 'anotherPage) {
    echo $Wcms->block('newEditableArea2');
    } else {
}
?>
Be sure to change newEditableArea to the actual name of the editable area you've created prior.
Post Reply