despair wrote: 1. I follow the document to create form2.php But it not read the form2.php with the "index.php?option=com_flexicontent&view=item&layout=form2".
in r1506
# Fixed using a template override for frontend item edit form that has a custom layout name e.g. form2.php, note &task=add or &task=edit, needs to be added to the url (i have updated the FAQ article)
despair wrote: 2.I know the flexicontent module can set fields to the module item,but it only one position can show the fileds.
Can I use different fileds in different position of a flexicontent module item?
No currently there is only one position, you could copy the tmpl/new.php (modules news template) and create more positions outputting the fields at at appropriate places ,
e.g.
$pos1=array('field20', 'field27', 'field24');
$pos2=array('field30', 'field11', 'field31');
$pos3=array('field40', 'field14', 'field19');
<!-- pos2 -->
<?php foreach ($item->fields as $k => $field) : ?>
<?php if ( !in_array($field->name, $pos2) ) continue; ?>
...
<?php endforeach; ?>
NOTE you will need r1507+, which includes variable ($field->name) for the custom fields
despair wrote: 3.If there are a order result is order by most favorite counts items first?
Sorry My pool english. :oops:
Thanks for FC team~
No such custom for listing by the most favored items, this is a feature to be added to a future version
I have added this as enhancement issue:
Enhancement Issue 524
Regards