mosmap plugin and extra fields for address and city [Solved]

More
10 years 7 months ago #50741 by mauriestate
Just in case you might need it, just pm you my site details.

Offering professional real estate and investment services in Mauritius. Visit us at www.sjkestate.com to also see the power of Flexicontent with Joomla to promote our services.

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

More
10 years 7 months ago #50742 by ggppdk
Hello

it is working now, you made 3-4 (multiple) mistakes,
(also we have a FAQ article for this ...), please read below


0. Better disable Joomla cache while testing (i have disabled it)
-- ALSO the Google Map will not render correctly inside HIDDEN container
so you can not put inside a TAB


1. {mosmap ...} is system plugin so you do not need content plugin triggering inside the text field

2. also if you are going to use ADDRESS, why don't you use our:
FLEXIcontent Address/Google map (FLEXIcontent FIELD) ??


3. Finally if you want to use text fields and {mosmap ...}
then NOTE that {{field22##0}} ONLY works inside prefix/suffix/opentag/closetag parameters !! (that is what the popup description says)

so correct configuration is this
1. Set default value to NON EMPTY e.g. " " (non-breaking space) or to any text
2. Set parameter usage of default value to "LOAD WHEN EMPTY"
3. Set inside prefix OR suffix OR opentag OR closetag:
{mosmap address='{{field22##0}}, {{field23##0}}, Mauritius'}




Also if you want in SOME ITEMS to use LATITUDE and LONGITUDE, and in SOME ITEMS to use address


then you can create 2 FLEXIcontent CHECKBOX fields:

"Show Map via address"
VALUES (only one value): 1::Show%%
PREFIX: {mosmap address='{{field22##0}}, {{field23##0}}, Mauritius'}


"Show Map via coordinates"
VALUES (only one value): 1::Show%%
PREFIX: {mosmap lat='{{field777##0}}', lon='{{field888##0}}'}




SO in item form
-- if you add address,
you tick checkbox field:
"Show Map via address"

-- if you add coordinates (remember to create to extra text fields: latitude,longitude),
you tick checkbox field:
"Show Map via coordinates"



and it is working now (see PM)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
10 years 7 months ago #50759 by mauriestate
Hi,

Thank you and sorry for these mistakes, it works all fine now and it even look great. We may mark this topic as solved.

Offering professional real estate and investment services in Mauritius. Visit us at www.sjkestate.com to also see the power of Flexicontent with Joomla to promote our services.

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

More
10 years 7 months ago #50764 by micker
same edit your title post

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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.288 seconds
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
Save