The GMAP View I created only seems to be visible when it wants to be. For example:
http://ifp.hidefdev.com/en - you can see the map work fine!
http://ifp.hidefdev.com/es - you can see the map work fine!
http://ifp.hidefdev.com/fr - no map?
http://ifp.hidefdev.com/ru - no map?
http://ifp.hidefdev.com/zh-hans - no map?
The same works for the page created in the view process:
http://ifp.hidefdev.com/en/incidents - works
http://ifp.hidefdev.com/es/incidents - works
http://ifp.hidefdev.com/fr/incidents - doesn't work?
http://ifp.hidefdev.com/ru/incidents - doesn't work?
http://ifp.hidefdev.com/zh-hans/incidents - doesn't work?
If someone could please shed some light on this, I would be more than grateful. Thanks!
Comments
Comment #1
CWolff commentedUpdate...French is working...Russian, Arabic nor Simplified Chinese is working though.
Comment #2
tom_o_t commentedDifficult to give much advice with more info. Is there a reason why the theme doesn't work on your view when that url is accessed directly? (eg. http://ifp.hidefdev.com/es/incidents)
Do you use any arguments in your views? Does your theme do different things based on the current language? Does your view do different things based on the language? The French map seems to show different info to the English map.
Does it work if you do a list view, instead of a map view?
Comment #3
CWolff commentedHi there, there aren't any arugments in my view, just the fields as well as a node filter for content type of "map". Each language is supposed to display different nodes in their native language.
For example: english map has two markers, I translated only one of those nodes (markers) into spanish, thus the spanish map has only one marker. Trying the list thing now, will get back to you.
EDIT: the french doesn't have any nodes in the specified content type translated, yet the map shows up there.
Comment #4
CWolff commentedI translated one of the marker nodes into russian, and when I click russian, the list view shows up with the one node I translated into russian. The GMAP view seems to be the only one that doesn't show up.
EDIT: there have been no theming changes for the languages, they all use the same exact theme (the localization is using the i18n module)
Comment #5
tom_o_t commentedI see you've got it working now.
I think the problem was that the map doesn't load if there are no results returned by the view. So when you switch to Chinese, if there are no nodes in Chinese then the map is not shown (always a good idea to put 'empty text' in your views!)
Good luck with the project.