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.

Hyperlink field

The hyperlink field lets you add an URL to your content. Several options provide control over the output including a http(s) prefix check.

Image gallery

Hyperlink field options

Template parameters available

{$< FIELDNAME >}= The HTML TAG or the URL depending on output setting in field configuration.
{$< FIELDNAME >_URL}= The clean URL
{$< FIELDNAME >_TITLE} = The title (text string)
{$< FIELDNAME >_DISPLAY} = The display name for the link (text string)
{$< FIELDNAME >_TARGET} = The target (text string)

*(where < FIELDNAME > = the unique field name filled out in the settings)

Article template example

Assuming I have a hyperlink field called 'facebook_link'.

{if $FACEBOOK_LINK}
<a href="/{$FACEBOOK_LINK_URL}" target="{$FACEBOOK_LINK_TARGET}" title="{$FACEBOOK_LINK_TITLE}">{$FACEBOOK_LINK_DISPLAY}</a>
{/if}

 Important: Please remove the / from the example as it is added by the code viewer.

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.

Download

Footer

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