Page 1 of 1

CGGoogleMaps2 and cmsms 2.0.1.1

Posted: Tue Nov 10, 2015 9:55 am
by antiheld2000
Hi,

I can't get CGGoogleMaps2 and cmsms to work. The template stops working, when I put the code for the map inside the template. It stops working at the following line:

Code: Select all

obj.cggm2({$generator->get_map_options_js()});
The result is an error:

Code: Select all

<b>Fatal error</b>:  Call to a member function get_map_options_js() on a non-object in …/templates_c/CGGoogleMaps2^e871a53ed83a560399b2c7c1dbd28416675bec6e.module_db_tpl.CGGoogleMaps2;maptemplate_1.php</b> on line <b>82</b><br />
Any suggestions?

Regards
anti

Re: CGGoogleMaps2 and cmsms 2.0.1.1

Posted: Fri Nov 27, 2015 9:51 pm
by darconny
Its not working for me too on 2.011. I get this error in the page:
Notice: Undefined index: map in C:\xampp\htdocs\cmsms-2.011\lib\smarty\sysplugins\smarty_internal_templatebase.php(151) : eval()'d code on line 63

All other settings are the same as on 1.12 instance.