Youtube video using AllVideos plugin

compat f2c litecompat f2c pro In this example we will alow users to submit a YouTube video ID. We use the AllVideo plugin from JoomlaWorks to render the video in the Joomla article.

The YouTube video id can be found in the URL:

The Joomla article plugin code for AllVideo is:


In F2C we want to create this code in our F2C Template and add a field to our form for collecting the YouTube video ID.

1) Create a field in your submission form with (unique) field name called: youtube_id

2) In your F2C (main) article template add this code:


3) Now if there is no code submitted, the youtube_id field will be empty BUT the plugin code will show! To prevent this add the following code:


4) Create an article through the F2C Article Manager and see the result ... make sure to publish the AllVideo plugin!

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