Google Maps Links

roghax85

New Member
Hello, I like to khow how can do it:

when show the list in front end, how can do to not show the img of the maps or the N15?30?45" W88?1?5" .

I like to show a link to new target and open the Google Maps?

how can do it.

thanks for all, the is my first time and sorry for my English
 
Add a calculation element to your list (hide in form, show in list).

Do some stringhandling to get the parameters you need for the google map link
Code:
$mapelement='{your-table___your_googlemap-element_raw}';//format of the googlemap element is (47.123, 8.234):9
...
$link= '<a target="_blank" href="......">xxx</a>';
return $link;

Set you googlemap element to show in list =NO
 
Add a calculation element to your list (hide in form, show in list).

Do some stringhandling to get the parameters you need for the google map link
Code:
$mapelement='{your-table___your_googlemap-element_raw}';//format of the googlemap element is (47.123, 8.234):9
...
$link= '<a target="_blank" href="......">xxx</a>';
return $link;

Set you googlemap element to show in list =NO

Thank you.

and sorry, I dont know how do it.

this is my gruoup of elements of the form where is the googlemaps (form "escuela)



and here I try to do a new element, but I dont know what type of element, and where write the calculation :(




do you can help to me with a picture?

Thanks and sorry for my English.
 
ok, first you must install the calculation element plugin:
1. update from GitHub
http://fabrikar.com/forums/index.php?wiki/update-from-github/

2. install and enable the fabrik element calculation plugin
http://fabrikar.com/forums/index.ph...s/#Installing_and_Enabling_Additional_Plugins

3. add a new element to your list, select "calc" from the plugin dropdown, this will show you a "Calculation" field where you put your php code.
http://fabrikar.com/wiki/index.php/Element_Calculation

Thanks man.

I am running J 2.5 and Fabrik 3.0.5.2 and I don?t find the calculation element to this version.

I can use it: http://fabrikar.com/downloads/details/36/276

thanks
 
ok, first you must install the calculation element plugin:
1. update from GitHub
http://fabrikar.com/forums/index.php?wiki/update-from-github/

2. install and enable the fabrik element calculation plugin
http://fabrikar.com/forums/index.ph...s/#Installing_and_Enabling_Additional_Plugins

3. add a new element to your list, select "calc" from the plugin dropdown, this will show you a "Calculation" field where you put your php code.
http://fabrikar.com/wiki/index.php/Element_Calculation

Perfect and Thanks, with another post I was install the plug-in.

Now, I am try to make the link, but I dont have a good work.



Do you can help to me with the write the link info?

I like to copy the entry cordenadas of the user to make show the link on the list.

thanks.
 
Back
Top