Need extra help with your Joomla site? Consider paid Joomla support by the developer of Chameleon and MetaMod.
- Index
- » MetaMod Pro
- » MetaMod Pro General Support
- » I have a web that have Mobile device...
I have a web that have Mobile device layout...need different module
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
- Index
- » MetaMod Pro
- » MetaMod Pro General Support
- » I have a web that have Mobile device...
Board Info
- Board Stats:
- Total Topics:
- 1699
- Total Polls:
- 6
- Total Posts:
- 5965
- Posts this week:
- 3
- User Info:
- Total Users:
- 8012
- Newest User:
- grant1ab
- Members Online:
- 0
- Guests Online:
- 133
- 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