Elxis CMS Forum
Extensions => Templates => Topic started by: stepsdesigns on February 02, 2011, 22:11:36
-
iam using phlinex templeat and iam making a web site using IOSR
now i need to but module to be shown in the front page only
and to do that i go to the module i need to but it in the front page
i chose it to be in the hedare position and chose the Page/item
chose only (main menu-home and top menu home )
and this work for main pages but when i go to the reservations page the module is visbile and when i go to any city or hotel page the module is visble too
how i do make a module appear only in home page ???
-
Administration->Modules->Site Modules->Your Module. Then Select HomePage in Pages/Items tab. That's all.
-
Administration->Modules->Site Modules->Your Module. Then Select HomePage in Pages/Items tab. That's all.
i did that but still visibal in other pages not the front page only i mean
-
You can add to your template something like this:
<?php if($option =='com_frontpage'){mosloadmodules('header', -2); } ?>
-
You can add to your template something like this:
<?php if($option =='com_frontpage'){mosloadmodules('header', -2); } ?>
i but this insted of
{mosloadmodules('header', -2);
u mean ??
-
I don't understand. Has this solved your problem?
-
I don't understand. Has this solved your problem?
iam not using com_frontpage it is not puplished coz i don't need it
so my home page is my first item in main menu and it is a component link to component front page
now i need to but module to be visible only in the front page i did that and chose the pages/items just my home page but the module still visible in IOSR pages
and this didn't solve the problem :S
-
Can you give me the link to your site?