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

More
10 years 7 months ago - 10 years 7 months ago #50713 by mauriestate
Hi,

I have been searching this forum and even the documentation area, I found these links which are quite similar to my current issue:

flexicontent.org/forum/index.php?f=20&t=5728&rb_v=viewtopic
www.flexicontentcck.org/forum/index.php?...=5223&rb_v=viewtopic
and even this documentation link www.flexicontent.org/documentation/faq/7...of-other-fields.html

However, none of the above could help me to find a proper solution based on my current issue and templating knowledge.

I do not want to make any change to the item template but simply use fields to create what I want to do.

I have 3 fields:

Address: field22
City: field23
Location Map: a text field which is hidden both on backend and frontend item form.

In the Location Map field, in the prefix I have added:
Code:
{mosmap address='

In the default value, I have added:
Code:
{{field22##0}} , {{field23##0}}

In the suffix field, I have added:
Code:
, mauritius}

I have set the Default value use to:
Code:
Load when editing new items.

However, when I create a new item, save it and go to the item page, the map does not appear! Is it the right way to use another field value to create the map address or am I making a mistake somewhere please?

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.
Last edit: 10 years 7 months ago by mauriestate.

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

More
10 years 7 months ago #50717 by micker
1 do you activad trigering plugin ?
2 all your field are in position (displaing position or rendering)

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
10 years 7 months ago #50722 by ggppdk
Hello

1. activate parameter "Trigger content plugins"
2. below it you select content plugins, if plugin 'mosmap' appears in list select it otherwise select none from the list = trigger all content plugins

- also make sure mosmap plugin is enabled

- if text is not replaced, then look at it,
does it have correct syntax ?
you may paste it here too
also copy text inside desription, does it get replaced


-- 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 #50726 by mauriestate
I do not see nothing on frontend, not even the syntax without rendering!

Yes, trigger all content plugins is also enable in backend.

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 #50730 by ggppdk
Hello

-- so the mosmap is matching the string but it gets replaced with nothing ?

if it is replaced with nothing:
a. do you see any JS error in "console" of the browser (click f12 to open)
b. if you temporarily disable mosmap plugin, you should see the real text, does it look correct, meaning the values that you want are what you expected with :
{{field22##0}}
{{field23##0}}


-- 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 #50739 by mauriestate

ggppdk wrote: Hello

-- so the mosmap is matching the string but it gets replaced with nothing ?

if it is replaced with nothing:
a. do you see any JS error in "console" of the browser (click f12 to open)
b. if you temporarily disable mosmap plugin, you should see the real text, does it look correct, meaning the values that you want are what you expected with :
{{field22##0}}
{{field23##0}}


Hello,

Here is a screenshot of the map field parameters, just in case I made any mistake in it:

[attachment=1:j2vfstbd]<!-- ia1 -->field_parameters.png<!-- ia1 -->[/attachment:j2vfstbd]

Now, to answer to your questions, please see answers below:

a. do you see any JS error in "console" of the browser
NO, no js error or any kind or other errors are displayed.

b. if you temporarily disable mosmap plugin, you should see the real text, does it look correct, meaning the values that you want are what you expected with :
{{field22##0}}
{{field23##0}}

[attachment=0:j2vfstbd]<!-- ia0 -->frontend-display.png<!-- ia0 -->[/attachment:j2vfstbd]

This is a screenshot of how it is displayed on the frontend, as you'll see, there are tabs bottom_tab1 and bottom_tab3, the map, or the values should be displayed under tab bottom_tab2, not even the tab is visible, so I guess that not even the values are displayed on the frontend, and yes, I have temporally disable the google map plugin to test this and see if at least the field values were visible, but still nothing!

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.
Attachments:

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.346 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