Topic on Extension talk:MobileFrontend

Using with Maps extension

6
Summary by Jdlrobson

Maps extension my not be compatible with MobileFrontend

Maru333 (talkcontribs)

When toggle to mobile view, wiki page could not load google maps data by Maps extension.

In checking the Chrome Developer Tools, I can't find "/load.php?debug=false&modules=ext.maps.common%2Cgooglemaps3".

Florianschmidtwelzow (talkcontribs)

Does the Maps extension define the module to be loaded in mobile (target = mobile)? If not, it will not be loaded in mobile view, thi is,ostly, a problem in the other extension, not MobileFrontend itself :)

Jdlrobson (talkcontribs)
Jdlrobson (talkcontribs)

(or is the extension different from your maps service?)

Maru333 (talkcontribs)
Florianschmidtwelzow (talkcontribs)

Yep, you need to add the mobile target to any module, which is really needed (see the resources file). But please (think about the data plans of your visitors :P) don't simply add the mobile target without thinking about the module. Mobile-friendly modules should be as small as possible to save as much data as possible. For this, you should only load modules you _really_ need to do what the extension should do. Maybe you've do rewrite modules to work with as less (external) dependencies as possible.