@t4x0n wrote:
Hi, I need delete Prefix and Subtitle from submission process, as these fields are optional I have no problems if I comment this lines (like below), but how can I keep this changes? I try to incorporate it in a Theme in template folder but I think Themes can’t modify the backend, so maybe I need to create a little plugin? Do you have any little example for this?
the modifications I made are in this file: submissionMetadataFormTitleFields.tpl commenting some lines whit * like this:
{* fbvFormSection for="title" title="common.prefix" inline="true" size=$fbvStyles.size.SMALL* } {* fbvElement label="common.prefixAndTitle.tip" type="text" multilingual=true name="prefix" id="prefix" value=$prefix readonly=$readOnly maxlength="32" *} {* /fbvFormSection* }
With commented code is perfect to me, but if I can I keep this modified file (submissionMetadataFormTitleFields.tpl) in a plugin, and the backend read this modified file instead of the original one, this could work… but I don’t know if plugins work in this way, as a theme.
Posts: 1
Participants: 1