title: Joomla 3 Flexicontent form custom plugin
body: <p>After hours of googling and experimenting, I gave up :(</p>
  
  <p>I need to add form to my articles in Joomla 3, that collects data from article's additional fields and emails them. Articles are managed by Flexicontent. Flexicontent overrides standard content manager so I tried to make a plugin inside 'content' plugins (later I tried 'flexicontent' as well). Basing on articles:
  <a href="http://docs.joomla.org/Adding_custom_fields_to_the_article_component" rel="nofollow">http://docs.joomla.org/Adding_custom_fields_to_the_article_component</a>
  <a href="http://betweenbrain.com/notes/72-fun-with-joomla-forms" rel="nofollow">http://betweenbrain.com/notes/72-fun-with-joomla-forms</a>
  <a href="https://github.com/joomla/joomla-cms/blob/master/plugins/user/profile/profile.php#L168" rel="nofollow">https://github.com/joomla/joomla-cms/blob/master/plugins/user/profile/profile.php#L168</a></p>
  
  <p>which all override some kind of form (user, content or contact).</p>
  
  <p>I made my plugin folder, plugin php file, plugin manifest (xml file) and xmls with form fields. Then in my php file I wrote onContentPrepareForm(), as instructed. However, when I checked "$this" variable in my flexiconent template, there were no signs of any form. How should I place this form in my template? </p>