|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Custom Solutions mobile |
mobile |
Hello,
Is there someone that can explain me how to use this code? My goal is to have a pc version and a mobile version. Thanks |
martimarti, before you use it activate first the pda in the main setting of your website cpanel then if you want it to view as a mobile while in desktop you can specify a placeholder where the address is this code $USER_AGENT_PDA$.
1F4BF3B
Post edited by Cyberdasm - Wednesday, 2017-03-22, 5:14 AM
|
Hello, Is there someone that can explain me how to use this code? My goal is to have a pc version and a mobile version. Thanks Like this: <?if($USER_AGENT_PDA$)?>You are using mobile template<?else?>You are using PC template<?endif?> Or <?if($USER_AGENT_PDA$)?>You see this text because you are using mobile device.<?endif?> |
| |||
| |||