Mobile options

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Jan 10, 2013 1:06 pm
Reply with quote
Report this post
Hi

I need to know if I can change the content and modules for the mobile version.
I visited your Knowledge database in gavern-3-0-mobile-layouts but this template does not have the option "Mobile Layouts".


Thanks
User avatar
Fresh Boarder

GK User
Thu Jan 10, 2013 1:11 pm
Reply with quote
Report this post
Hi,

You can use for modules the following suffixes:

- notablet
- nomobile
- onlytablet
- onlymobile

these suffixes specifies when the some modules will be displayed (on which devices).
User avatar
Administrator

GK User
Thu Jan 10, 2013 1:48 pm
Reply with quote
Report this post
Hi

Thank you for your quick response. Now works properly.

But, is it possible to have a unique menu for mobile?
I installed the quickstart and see a menu Mobile, but do not know how to associate for this devices. In Gavern menu don't have the mobile option.
User avatar
Fresh Boarder

GK User
Thu Jan 10, 2013 3:13 pm
Reply with quote
Report this post
The responsive templates have the same menu for all devices.
User avatar
Administrator

GK User
Thu Jan 10, 2013 4:32 pm
Reply with quote
Report this post
Hi

Please could you tell me how to add "nomobile" in suffixes, because if I add the suffix or replaced, the module disappears from the web.

thanks
User avatar
Fresh Boarder

GK User
Thu Jan 10, 2013 4:42 pm
Reply with quote
Report this post
Please remember that you have to use the space at the beginning of the suffix name.
User avatar
Administrator

GK User
Thu Jan 10, 2013 5:11 pm
Reply with quote
Report this post
Thank you, I have not forgotten the space.

I still have the problem, for example in a module News Show Pro GK4 3.3.5 I have this module with suffix " nsp arrow color bigtitle". If I add "nomobile" at the end: " nsp arrow color bigtitle nomobile" module is not displayed anywhere.
User avatar
Fresh Boarder

GK User
Thu Jan 10, 2013 6:02 pm
Reply with quote
Report this post
same problem here, with suffix ' nomobile' the module is no more diplayed, on PC, tablet or smartphone
User avatar
Fresh Boarder

GK User
Thu Jan 10, 2013 11:41 pm
Reply with quote
Report this post
OK, now I've found a reason of the problem, please open the css/template.css file and remove the following code:
Code: Select all
.notablet {
   display: none;
}

.nomobile {
   display: none;
}
User avatar
Administrator

GK User
Fri Jan 11, 2013 12:03 pm
Reply with quote
Report this post
Works fine

Thanks
User avatar
Fresh Boarder

GK User
Sun Jan 20, 2013 11:36 am
Reply with quote
Report this post
Hello to all
it is possible utilizare nomobile notable together.
I tried but does not work.
Can you help?
Or better use onlypc ...
User avatar
Junior Boarder

GK User
Mon Jan 21, 2013 10:58 am
Reply with quote
Report this post
@maurizioto73 - please add in the tablet.css file at end the following CSS code:

Code: Select all
.box.onlydesktop {   
display: none!important;
}


and then apply this suffix to module - it will dissapear on the tablet and smartphones :)
User avatar
Administrator


cron