Welcome to the MetaMod and Chameleon Support Forums.

Before posting, please check out the FAQs.

helpme

 

Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.

 

VM Module shows up on evey page of website

VM Module shows up on evey page of website

Hi,

i am having this issue that on the main page of website there is module named Latest Products. i want to restrict it on the main page only.

i am using joomla 1.5.6 with VM 1.1.4

e.g when i browse shop by brand it also appears on that too.
website: www.alfantrading.com
when you go for any shop by brand on top of that page latest product appears and after that all the products.

i want to restrict latest product on main page only.

any solution for that?

waiting for the kind reply.

Regards,

Faraz

Edited By: sirgroh
05-Nov-12 05:34:12

sirgroh
Beginner Modder
ranks
useravatar
Offline
3 Posts
Administrator has disabled public posting

Re: VM Module shows up on evey page of website

Hi Faraz,

yes, MetaMod can take care of this.

Please read the instructions and prepare the Latest Products module as per the Quick Start guide on this site.
Then put a published MetaMod into user1 position, and use the following PHP code:

if ($core_genius->check("pagetype = frontpage")) return XXX;
// replace XXX with the module id of the latest products module.


Cheers,
Stephen

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3313 Posts
User info in posts
Administrator has disabled public posting

Re: VM Module shows up on evey page of website

thanks for the reply

i have done every thing but nothing happened.

as i am new to this and have no idea how to do it

sirgroh
Beginner Modder
ranks
useravatar
Offline
3 Posts
Administrator has disabled public posting

Re: VM Module shows up on evey page of website

Bro it would be great if you can help me in this regard

sirgroh
Beginner Modder
ranks
useravatar
Offline
3 Posts
Administrator has disabled public posting

Re: VM Module shows up on evey page of website

Check the following:

1 - MetaMod is assigned to ALL pages, and to the module position where you want the Latest Products module to appear.
2 - MetaMod is published, and has the PHP code mentioned above.
3 - XXX has to be replaced with the module ID of the module that you want to show only on the front page (the Latest Products module)
4 - the Latest Products module has to be set to Menu Items: none. Important!
5 - leave the "Quick module id/position include" box in the MetaMod EMPTY.


Try that and get back to me if you're still making no progress.

Best regards,
Stephen

Stephen Brandon
MetaMod / Chameleon developer
If you use MetaMod or Chameleon, please post a rating and a review at the Joomla! Extensions Directory: Chameleon | MetaMod

metamodguy
useravatar
Offline
3313 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1667
Total Polls:
6
Total Posts:
5910
Total Posts Today:
1
User Info:
 
Total Users:
10152
Newest User:
kasautiizindagiikay
Members Online:
0
Guests Online:
225

Online: 
There are no members online

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked