CCAFS / AMKN

Adaptation and Mitigation Knowledge Network
http://amkn.org
GNU General Public License v3.0
2 stars 2 forks source link

Allow AMKN to be embedded in external websites. (3h) #57

Open htobon opened 11 years ago

htobon commented 11 years ago

So far, create a system that allow external websites to embed the AMKN map.

camilor67 commented 10 years ago

A new system of called was created to load AMKN map without header, footer and left panel. This system consist in add an url parameter called "type" with value 1.

htobon commented 10 years ago

Excellent. Please keep in mind the following:

  1. Could you please change the name of the parameter? Instead of "type", is more convenient to name it as "enbedded".
  2. Did you fix all the internal URLs to work with this parameter? Keep in mind the users will navigate throw the enbedded window.
htobon commented 10 years ago

@camilor67 could you please tell me what's the status of this issue and why is marked as fixed? From my understanding, this is not finished yet.

camilor67 commented 10 years ago

Technically AMKN is able to be embeded. This functionality consist in pass three parameters by URL, those parameters are: embedded=1, height and width of window (iframe size). EX: http://amkn.org/?embedded=1&width=600&height=400#/bm=basemap_5/ctr=2906307.34193225;1105842.6010915139/lvl=3/pts=ccafs_sites,

The pending problem is how to display the information of the CCAFS-sites, It is related in the issue #56.

htobon commented 10 years ago

So, this issue is not fixed yet.

camilor67 commented 10 years ago

Para embeber el mapa de AMKN mediante un iframe se genero la nueva URL http://amkn.org/ccafs-sites-embed/ , igual mente se le puede pasar como parámetro el alto y ancho (height, width). .

htobon commented 10 years ago

Podrías por favor avisar a David de esta implementación y continuar con la inserción de este código en el atlas de ccafs? http://ccafs.cgiar.org/atlas-ccafs-sites

Gracias.

camilor67 commented 10 years ago

En una reunión que tuve con David el 1 de agosto le mostré esta implementacion. @htobon me podrias por favor indicar como seria el proceso de inserción del código en ccafs.cgiar.org

htobon commented 10 years ago

Hay que comunicarnos con Vanessa. Si puedes por favor hablar con David al respecto? Paola también nos puede colaborar.