Recent Topics

1 May 19, 2014 23:50    

Has anyone worked with adsense ads (or any other ad network) on the mobile skin? Does the mobile skin "scale down" the size of the ads to the appropriate width or are there some other tricks, or do you essentially just create mobile-specific ads in adsense and then drop that code in the mobile skin? What size adsense ads have you found work best for the mobile skin, etc etc.. Basically looking for insight from folks who may have worked with this before and who may be able to shed some light on it.

jj.

3 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 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 May 20, 2014 22:51

Ah, very cool.. Going to try that out this weekend on my local installation. Thanks for the tip!

jj.


Form is loading...