Please read and follow the COMMON ISSUES first!
Always add your version information in every new post! Thank you!

Form2Content Forum

Questions and answers for Form2Content, a Joomla CCK.
  1. Mike
  2. Form2Content Lite & Pro
  3. Thursday, 14 February 2019
  4.  Subscribe via email
Hi there!

I was refreshing an old site i created some years ago. Installing the newest Versions of f2c and the kml feed went smooth.

Now i want to change from a google maps plugin (mosmap) to a open street maps plugin (jaosmap).

i think, this is possible as i only change the code for the plugin in the default main template?


{ldelim}mosmap lat='{$MAP_LAT}'|lon='{$MAP_LON}'|zoom='15'|lang='de'|width='340'|height='280'|addgoogle='0'|addoverview='0'|showMaptype='1'|Maptype='PLAN'|icon='images/stories/fortress.png'{rdelim}



{jaosmap locations='{"location":{"0":"Domhof 1, 31134 hildesheim"},"latitude":{"0":"52.1497028"},"longitude":{"0":"9.9480708"},"info":{"0":""},"icon":{"0":""}}' zoom='12' map_width='500' map_height='300' center='all' }{/jaosmap}


Or is there anything further i have to do?
Thx for
Accepted Answer
Accepted Answer Pending Moderation
Hi Mike,

I think you should replace all { by {ldelim} and all } by {rdelim} in your template.

best,
Julien
Responses (5)
Accepted Answer Pending Moderation
Hi,

The output of the Geocoder field results in a lat/lon and an address. That should be sufficient info to use any mapping tool. It's just a fact of mapping the Geocoder fields into the right place in the map plug-in.

After rendering the F2C article, you can open the Joomla article to see if everything is in the right place.

best,
Julien
  1. more than a month ago
  2. Form2Content Lite & Pro
  3. # 1
Accepted Answer Pending Moderation
Ok, i show with screenshots what is working and not working.

1 = Joomla article with normal plugin usage
2 = frontend with article, working

3 = the template with plugin insert like i do before with the google maps plugin
4 = error while refreshing the article
Attachments (4)
  1. more than a month ago
  2. Form2Content Lite & Pro
  3. # 2
Accepted Answer Pending Moderation
lol.

sorry, but sometimes.. :p

I thought the rdelim thing is only for beginning and end of the plugin function code.

marked as solved! THX!
  1. more than a month ago
  2. Form2Content Lite & Pro
  3. # 3
Accepted Answer Pending Moderation
Good to hear that it's working! :D

best,
Julien
  1. more than a month ago
  2. Form2Content Lite & Pro
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.