I have CMSMS 1.0.4 and I would like to use only one template on all pages and for that I need a way to put news items from NEWS-module (2.2) only on frontpage. The functionality I am looking for is something as described below
Code: Select all
if (page == frontpage) {
echo '<div id="extras">\n';
{cms_module module="news" number="2"}
echo '</div>\n';
} else {
echo '<div id="zip"></div>';
}

