google maps plugin with many flexicontent fields

More
11 years 8 months ago #34784 by fgossart
Hello
Thanks all for your answers. I will now test it.

it seems almost perfect when using prefix etc...

I'd like to add a field with absolute coordonates.
If this field is empty I use the computed value with adress, postcode, town, country
otherwise I use the field's value.
How can I do that ?

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #34788 by micker
hello tu confirmes mon mini tuto plus haut ?
Code:
sorry mistake 2 put {{field19##0}}{{field20##0}}{{field21##0}} 3 prefix {mosmap adress=' 4 suffix ,YOURCOUNTRY} that all ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #34789 by fgossart
Here is what I currently use.
The field is only computed so parameter hide in item form set to both.
in the default value to enforce displaying an non empty field I put ',France' my country.
Default value use is above & also display it instead of empty

prefix txt {{adresse##0}},{{codepostal##0}} {{commune##0##_text_}}
(need to be changed with your fields names)

opening text for field {mosmap address='
closing text for field '\zoom='16'}

it's working but I will try to find another way to use alternative values with 2 fields lat and lon.
1)if the fields are 0 and 0 : no gmap should be displayed
2) if the fields are empty (default), use adress, codepostal, etc.. values
3) optionnal ? use a third field to set the zoom value because sometime zoom should be different of default value

To do that I think I have to make my own flexi plugin

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #34796 by fgossart
So I have done my own plugin
to use it you need of course to setup googlemap plugin
extensions.joomla.org/extensions/maps-a-...-locations/maps/1147

Then you have to setup a FC field optionnaly if you want to specify a item by item field value

a optionnal googlemap coordonnate value (shown with right clic on gmap info)

and a calculate field with every part of your addresse, city, post code fields (replacing the fields value)

To do not display item by item the gmap plugin just specify a '0' as coordonates (otherwise let it empty to use calculate field)

I still need to make some translations and I can put it there if somebody is interested

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #37378 by thatch10
fgossart,

is there any chance that you could post your flexicontent plugin, I have two fields in flexicontent called digitallatitude and digitallongitude that I would like to display a

1. Google Map
2. Google Street View
3. Directions

Similar to the way Orchid 1's Fleximaps worked in the previous version

Thatch

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.380 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline