Autore Topic: Is it posible ?  (Letto 2671 volte)

Offline jamarchi

  • Nuovo arrivato
  • *
  • Post: 8
    • Mostra profilo
Is it posible ?
« il: 04 Lug 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


Offline .:Fox:.

  • Appassionato
  • ***
  • Post: 330
  • Sesso: Maschio
    • Mostra profilo
Re:Is it posible ?
« Risposta #1 il: 05 Lug 2012, 01:43:02 »
You need to create a new ContentMap module and set "External Data Source" in the module properties.


Offline jamarchi

  • Nuovo arrivato
  • *
  • Post: 8
    • Mostra profilo
Re:Is it posible ?
« Risposta #2 il: 13 Ago 2012, 22:16:48 »
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

Offline jamarchi

  • Nuovo arrivato
  • *
  • Post: 8
    • Mostra profilo
Re:Is it posible ?
« Risposta #3 il: 17 Ago 2012, 18:09:22 »



Hi there....


Any idea about this ?


Regards,

Offline .:Fox:.

  • Appassionato
  • ***
  • Post: 330
  • Sesso: Maschio
    • Mostra profilo
Re:Is it posible ?
« Risposta #4 il: 27 Ago 2012, 10:11:13 »
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"

 

Host

Torna su