Print

What are F2C article templates?

Templates are used to present data in a pre-defined layout. Just like Joomla templates are used to determine the layout of a Joomla website by defining the module positions.

In Form2Content the F2C article templates are used to define the layout (presentation) of the Joomla article content.

Note: Linking to Joomla articles is done in the native Joomla way using Menus and layouts (through com_content).

Default templates

Form2Content creates default templates in order for users to immediately experience the working of F2C. Whenever a content type is created, F2C automatically generates a default template set (intro and main) and links to it.

As a result, when you submit your first article with F2C it will actually generate a Joomla article since there is a template present.

Remember: form content (data) + article template (layout) = Joomla article (html)

DO NOT EDIT THE DEFAULT TEMPLATES UNLESS YOU HAVE SWITCHED OFF THE CREATE DEFAULT TEMPLATE SETTING IN THE CONFIGURATION!

F2C Template location

The Form2Content templates are saved in:

< website root > /media/com_form2content/templates

Form2Content no longer provides documentation for patTemplate use. All examples use Smarty templating! Old patTemplate templates are backwards compatible in Joomla 1.5 but new features have not been added.