52
0
plg_content_componentbuilde.../forms/admin_view.xml

124 lines
4.3 KiB
XML
Raw Normal View History

2021-10-14 14:30:52 +00:00
<?xml version="1.0" encoding="utf-8"?>
<!-- default paths of admin_view form points to componentbuilder -->
<form>
<fields name="params">
<!-- default paths of fieldordering fieldset points to the plugin -->
2022-05-09 12:26:07 +00:00
<fieldset name="fieldordering" label="PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_FIELD_ORDERING"
2021-10-14 14:30:52 +00:00
addrulepath="/plugins/content/componentbuilderfieldorderingtabs/rules"
addfieldpath="/plugins/content/componentbuilderfieldorderingtabs/fields"
>
<fields name="fieldordering">
<!-- Add_admin_ordering Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_admin_ordering"
2022-05-09 12:26:07 +00:00
label="PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_ADD_ADMIN_ORDERING_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_ADD_ADMIN_ORDERING_DESCRIPTION"
2021-10-14 14:30:52 +00:00
class="btn-group btn-group-yesno"
default="0">
<!-- Option Set. -->
<option value="1">
2022-05-09 12:26:07 +00:00
PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_YES</option>
2021-10-14 14:30:52 +00:00
<option value="0">
2022-05-09 12:26:07 +00:00
PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_NO</option>
2021-10-14 14:30:52 +00:00
</field>
<!-- Admin_ordering_fields Field. Type: Subform. (joomla) -->
<field
type="subform"
name="admin_ordering_fields"
2022-05-09 12:26:07 +00:00
label="PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_ADMIN_ORDERING_FIELDS_LABEL"
2021-10-14 14:30:52 +00:00
layout="joomla.form.field.subform.repeatable-table"
multiple="true"
buttons="add,remove,move"
icon="list"
max="5"
min="1"
showon="add_admin_ordering:1">
<form hidden="true" name="list_admin_ordering_fields_modal" repeat="true">
<!-- Field Field. Type: Adminlistvieworderfields. (custom) -->
<field
type="adminlistvieworderfields"
name="field"
2022-05-09 12:26:07 +00:00
label="PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_FIELD_LABEL"
2021-10-14 14:30:52 +00:00
class="fieldLarge"
multiple="false"
button="false"
/>
<!-- Direction Field. Type: List. (joomla) -->
<field
type="list"
name="direction"
2022-05-09 12:26:07 +00:00
label="PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_DIRECTION_LABEL"
2021-10-14 14:30:52 +00:00
class="list_class fieldLarge"
multiple="false"
filter="WORD"
default="asc">
<!-- Option Set. -->
<option value="asc">
2022-05-09 12:26:07 +00:00
PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_ASCENDING</option>
2021-10-14 14:30:52 +00:00
<option value="desc">
2022-05-09 12:26:07 +00:00
PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_DESCENDING</option>
2021-10-14 14:30:52 +00:00
<option value="rand">
2022-05-09 12:26:07 +00:00
PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_RANDOM</option>
2021-10-14 14:30:52 +00:00
</field>
</form>
</field>
<!-- Add_linked_ordering Field. Type: Radio. (joomla) -->
<field
type="radio"
name="add_linked_ordering"
2022-05-09 12:26:07 +00:00
label="PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_ADD_LINKED_ORDERING_LABEL"
description="PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_ADD_LINKED_ORDERING_DESCRIPTION"
2021-10-14 14:30:52 +00:00
class="btn-group btn-group-yesno"
default="0">
<!-- Option Set. -->
<option value="1">
2022-05-09 12:26:07 +00:00
PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_YES</option>
2021-10-14 14:30:52 +00:00
<option value="0">
2022-05-09 12:26:07 +00:00
PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_NO</option>
2021-10-14 14:30:52 +00:00
</field>
<!-- Linked_ordering_fields Field. Type: Subform. (joomla) -->
<field
type="subform"
name="linked_ordering_fields"
2022-05-09 12:26:07 +00:00
label="PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_LINKED_ORDERING_FIELDS_LABEL"
2021-10-14 14:30:52 +00:00
layout="joomla.form.field.subform.repeatable-table"
multiple="true"
buttons="add,remove,move"
icon="list"
max="5"
min="1"
showon="add_linked_ordering:1">
<form hidden="true" name="list_linked_ordering_fields_modal" repeat="true">
<!-- Field Field. Type: Linkedviewsorderfields. (custom) -->
<field
type="linkedviewsorderfields"
name="field"
2022-05-09 12:26:07 +00:00
label="PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_FIELD_LABEL"
2021-10-14 14:30:52 +00:00
class="fieldLarge"
multiple="false"
button="false"
/>
<!-- Direction Field. Type: List. (joomla) -->
<field
type="list"
name="direction"
2022-05-09 12:26:07 +00:00
label="PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_DIRECTION_LABEL"
2021-10-14 14:30:52 +00:00
class="list_class fieldLarge"
multiple="false"
filter="WORD"
default="asc">
<!-- Option Set. -->
<option value="asc">
2022-05-09 12:26:07 +00:00
PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_ASCENDING</option>
2021-10-14 14:30:52 +00:00
<option value="desc">
2022-05-09 12:26:07 +00:00
PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_DESCENDING</option>
2021-10-14 14:30:52 +00:00
<option value="rand">
2022-05-09 12:26:07 +00:00
PLG_CONTENT_COMPONENTBUILDERFIELDORDERINGTABS_RANDOM</option>
2021-10-14 14:30:52 +00:00
</field>
</form>
</field>
</fields>
</fieldset>
</fields>
</form>