Joomla.it Forum
Joomla! 3 => Joomla! 3 => : jamarchi 04 Jul 2012, 19:49:04
-
Hi
I have the nex situation, I have to connect to another data base in other server and get some information, in that information that I request I can get the longitude and latitude for many meetings, so the question here is how or where can I create a new map with all the longitudes and latitudes that i got in a new map ?
I hope that you can understand me
thank you for your help
-
You need to create a new ContentMap module and set "External Data Source" in the module properties.
-
Hi Fox
thank you for answered me, I created the new module and in Data source I choosed External connector and now what ? do you have a example o manual that I can see in order to do that ?
thenk you for your help
-
Hi there....
Any idea about this ?
Regards,
-
You need a php file on the server where your information are, which extract and returns data in json format.
Finally in the module you have to point the URL of the data source to the php file mentioned above.
You already have sample files. Take a look into the directory libraries/contentmap/json/
- joomlausers.php extracts data from a local or remote Joomla installations while
- smf.php extracts data from a local or remote "Simple Machine Forum"