About Form2Content Forms & Fields

Form2Content forms are used to collect data to generate Joomla articles. Each content type has it's own form. Each form can have as many fields as you like. You can access the Fields Manager by clicking on the  in the Content Type Manager. Please read about article templating on how to get the data from the forms into your Joomla article.

Geo Coder field

(In F2C PRO only) The Geo Coder field is used to collect location information (latitude/longitude). It will display a map in your submission form and calculate the marker position based on an address submitted by the visitor/user. If the location of the marker isn't exact, the user can select and drag the marker to the right location before save.

Please note: This F2C Field does not create a map with a marker in your Joomla article! See below how you can accomplish that.

Geo Coder field settings

The settings for this field are very logical and are about how the Google map will be displayed in the submission form. Size, default position/location etc. (image 1 & 3). This will result in the map in your form, image 2.

Adding the Geo Coder field data in your article

The template parameters used with this field are:

{$FIELDNAME_ADDRESS} = This will render the text from the address line.
{$FIELDNAME_LON} = The longitude code
{$FIELDNAME_LAT} = The latitude code

Example: Mike Reumer's Joomla google maps plugin & F2C

It is possible to display a Google map with marker (location with information) using the GeoCoder field and a Joomla Google maps plugin.

{ldelim}mosmap width='100%'|height='500px'|lat='{$FIELDNAME_LAT}'|lon='{$FIELDNAME_LON}'|zoom='15'|zoomType='Large'|showScale='1'| zoomNew='1'|mapType='Satellite'|showMaptype='1'|overview='1'|text='{$TEXT_IF_YOU_LIKE}'|tooltip='{$FIELDNAME_ADDRESS}'{rdelim}

Please note: This plugin is the best but very sensitive to spaces! We KNOW it works, so if you can't get it working check your code!.

F2C Cheat-sheet

An overview of all template parameters (placeholders for your form data). These are used in your F2C intro and main template to parse the data from your submission forms into the Joomla article.



Form2Content, a Joomla CCK Documentation © 2010 - 2015 Open Source Design | Powered by Form2Content