To customize the frontend item form:
- use field configuration to customize the display and behaviour of your fields
- assign fields to specific content types (in field configuration)
- use ACL to control which fields are editable (in field configuration)
- order fields per content type (in backend fields manager)
- set FRONTEND ITEM form parameters in (a) Component settings and (b) override/set these parameters per content type (in content type configuration)
To MANUALLY customize the item frontend item form, you need to create a joomla template override for the file:
components/com_flexicontent/views/item/tmpl/form.php
- copy above file to templates/mytemplate/html/com_flexicontent/item/form.php
- modify it to suit your needs
NOTE: For J1.5 use 'items' insterad of 'item'TIP 1: You cannot override the view file components/com_flexicontent/views/items/view.html.php, but you can copy code from this file to your joomla template override. TIP 2: You can use create many different forms , e.g. form1.php , form2.php, form3.php and link to them by creating joomla menu items of type external link:
- index.php?option=com_flexicontent&view=item&layout=form1&task=add
- index.php?option=com_flexicontent&view=item&layout=form2&task=add
- index.php?option=com_flexicontent&view=item&layout=form3&task=add
- index.php?option=com_flexicontent&view=item&layout=form1&task=edit&id=44
- index.php?option=com_flexicontent&view=item&layout=form2&task=edit&id=44
- index.php?option=com_flexicontent&view=item&layout=form3&task=edit&id=44