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.

 

I have a web that have Mobile device layout...need different module

I have a web that have Mobile device layout...need different module

I have a web that have Mobile device layout...

How can use metamod for select a different module depends the device that i use tho see the web?

It´s possible with metamod?

Thanks

mknofler
Beginner Modder
ranks
useravatar
Offline
5 Posts
Administrator has disabled public posting

Re: I have a web that have Mobile device layout...need different module

Yes, I have been doing that myself recently.

Make sure you read the Quick Start guide to understand the basic setup:

http://www.metamodpro.com/metamod/quick-start

Then:
- unpublish the target module(s) or set them to a "virtual" module position e.g. "right-virtual"
- create a MetaMod, publish it and assign to the real position e.g. "right" (and assign to the correct menu items)
- in the MetaMod use rules like:

if ($core_genius->check("categorizr = mobile")) return XXX;
if ($core_genius->check("categorizr = tablet")) return YYY;
if ($core_genius->check("categorizr = desktop")) return ZZZ;
// replace XXX, YYY, ZZZ with the module ids of the modules you want to display for each device type

See this page for more details:

http://www.metamodpro.com/jomgenius/par … dcheckcore
(and look for the browsertype etc. parameters to test with $core_genius)

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
3312 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
1666
Total Polls:
6
Total Posts:
5909
Dormant:
User Info:
 
Total Users:
10093
Newest User:
lamanaudio
Members Online:
0
Guests Online:
109

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