1 jibberjab May 19, 2014 23:50
3 jibberjab May 20, 2014 19:49
Yes I've already been reading all those sections on the adsense site. One thing I'm wondering is how people are modifying the "touch" skin in an efficient way.. For example, on the desktop I can load a desktop b2evo skin, open it in firefox Web Developer plugin, and modify the CSS in realtime.. How do you do that for a mobile skin without making one change, uploading, refeshing on your cellphone, ad infinitum..? Is there some kind of mobile emulator for working with the mobile skins, or a way to load the mobile skin from a desktop computer, bypassing the mobile detection?
4 mgsolipa May 20, 2014 22:20
@jibberjab there is a way to work directly in your desktop bypassing the type detection of the skin, maybe it is not the best way but it's quite easy. Just go to the file blogs/skins/touch/_skin.class.php
, locate the method get_default_type
and change its return value to normal (it should be currently set as mobile). After that, uninstall the skin and install it again (only at the back-office, you should not delete the files - http://b2evolution.net/man/introducing-evoskins/). From now on you may assign this skin as Default to any collection.
After finishing your customizations, just rollback the changes made in get_default_type
and repeat the unistall/install process again.
Regards!
5 jibberjab May 20, 2014 22:51
Ah, very cool.. Going to try that out this weekend on my local installation. Thanks for the tip!
jj.
@jibberjab While we wait for the answer from someone else, this could be a good starting point: https://support.google.com/adsense/topic/3641113?hl=en&ref_topic=1307438. Google says that is possible to create responsive ad units, so they should be automatically adapted to the user's screen resolution.
Regards!