Resolved gh-370 so that all fields get loaded in a dynamicGet, even new once created at a later stage.
This commit is contained in:
@@ -143,6 +143,190 @@
|
||||
<option value="4">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_GETCUSTOMS</option>
|
||||
</field>
|
||||
<!-- Addcalculation Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="addcalculation"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADDCALCULATION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_ADDCALCULATION_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
<!-- Note_calculation_items Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_calculation_items" description="COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_CALCULATION_ITEMS_DESCRIPTION" class="note_calculation_items" />
|
||||
<!-- Add_php_after_getitems Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_after_getitems"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_AFTER_GETITEMS_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
<!-- Add_php_router_parse Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_router_parse"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_ROUTER_PARSE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_ROUTER_PARSE_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
<!-- Add_php_getlistquery Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_getlistquery"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_GETLISTQUERY_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
<!-- Add_php_before_getitems Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_before_getitems"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_BEFORE_GETITEMS_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
<!-- Add_php_before_getitem Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_before_getitem"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_BEFORE_GETITEM_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
<!-- View_selection Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="view_selection"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION_LABEL"
|
||||
rows="22"
|
||||
cols="30"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Note_linked_to_notice Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_linked_to_notice" label="COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_LINKED_TO_NOTICE_LABEL" description="COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_LINKED_TO_NOTICE_DESCRIPTION" heading="h4" class="note_linked_to_notice" />
|
||||
<!-- Db_table_main Field. Type: Dbtables. (custom) -->
|
||||
<field
|
||||
type="dbtables"
|
||||
name="db_table_main"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE_MAIN_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE_MAIN_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Php_custom_get Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_custom_get"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CUSTOM_GET_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CUSTOM_GET_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
rows="30"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
required="true"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Plugin_events Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="plugin_events"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PLUGIN_EVENTS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PLUGIN_EVENTS_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="onContentAfterTitle">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_ONCONTENTAFTERTITLE</option>
|
||||
<option value="onContentBeforeDisplay">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_ONCONTENTBEFOREDISPLAY</option>
|
||||
<option value="onContentAfterDisplay">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_ONCONTENTAFTERDISPLAY</option>
|
||||
</field>
|
||||
<!-- Db_selection Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="db_selection"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_SELECTION_LABEL"
|
||||
rows="22"
|
||||
cols="30"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_SELECTION_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_SELECTION_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- View_table_main Field. Type: Adminviews. (custom) -->
|
||||
<field
|
||||
type="adminviews"
|
||||
name="view_table_main"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_DESCRIPTION"
|
||||
multiple="false"
|
||||
default=""
|
||||
required="true"
|
||||
/>
|
||||
<!-- Add_php_after_getitem Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_after_getitem"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_AFTER_GETITEM_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
<!-- Join_db_table Field. Type: Subform. (joomla) -->
|
||||
<field
|
||||
type="subform"
|
||||
@@ -399,190 +583,20 @@
|
||||
/>
|
||||
</form>
|
||||
</field>
|
||||
<!-- Note_calculation_items Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_calculation_items" description="COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_CALCULATION_ITEMS_DESCRIPTION" class="note_calculation_items" />
|
||||
<!-- View_table_main Field. Type: Adminviews. (custom) -->
|
||||
<field
|
||||
type="adminviews"
|
||||
name="view_table_main"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_TABLE_MAIN_DESCRIPTION"
|
||||
multiple="false"
|
||||
default=""
|
||||
required="true"
|
||||
/>
|
||||
<!-- Add_php_router_parse Field. Type: Radio. (joomla) -->
|
||||
<!-- Select_all Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_router_parse"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_ROUTER_PARSE_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_ROUTER_PARSE_DESCRIPTION"
|
||||
name="select_all"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_SELECT_ALL_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_SELECT_ALL_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
default="0">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
<!-- Addcalculation Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="addcalculation"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADDCALCULATION_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_ADDCALCULATION_DESCRIPTION"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
<!-- Add_php_before_getitems Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_before_getitems"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_BEFORE_GETITEMS_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
<!-- Add_php_after_getitems Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_after_getitems"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_AFTER_GETITEMS_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
<!-- Add_php_after_getitem Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_after_getitem"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_AFTER_GETITEM_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
<!-- Add_php_getlistquery Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_getlistquery"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_GETLISTQUERY_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
<!-- View_selection Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="view_selection"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION_LABEL"
|
||||
rows="22"
|
||||
cols="30"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_VIEW_SELECTION_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Add_php_before_getitem Field. Type: Radio. (joomla) -->
|
||||
<field
|
||||
type="radio"
|
||||
name="add_php_before_getitem"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_ADD_PHP_BEFORE_GETITEM_LABEL"
|
||||
class="btn-group btn-group-yesno"
|
||||
default="0"
|
||||
required="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="1">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_YES</option>
|
||||
<option value="0">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_NO</option>
|
||||
</field>
|
||||
<!-- Note_linked_to_notice Field. Type: Note. A None Database Field. (joomla) -->
|
||||
<field type="note" name="note_linked_to_notice" label="COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_LINKED_TO_NOTICE_LABEL" description="COM_COMPONENTBUILDER_DYNAMIC_GET_NOTE_LINKED_TO_NOTICE_DESCRIPTION" heading="h4" class="note_linked_to_notice" />
|
||||
<!-- Php_custom_get Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
name="php_custom_get"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CUSTOM_GET_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PHP_CUSTOM_GET_DESCRIPTION"
|
||||
width="100%"
|
||||
height="450px"
|
||||
cols="15"
|
||||
rows="30"
|
||||
buttons="no"
|
||||
syntax="php"
|
||||
editor="codemirror|none"
|
||||
filter="raw"
|
||||
required="true"
|
||||
validate="code"
|
||||
/>
|
||||
<!-- Plugin_events Field. Type: List. (joomla) -->
|
||||
<field
|
||||
type="list"
|
||||
name="plugin_events"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_PLUGIN_EVENTS_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_PLUGIN_EVENTS_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="true">
|
||||
<!-- Option Set. -->
|
||||
<option value="onContentAfterTitle">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_ONCONTENTAFTERTITLE</option>
|
||||
<option value="onContentBeforeDisplay">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_ONCONTENTBEFOREDISPLAY</option>
|
||||
<option value="onContentAfterDisplay">
|
||||
COM_COMPONENTBUILDER_DYNAMIC_GET_ONCONTENTAFTERDISPLAY</option>
|
||||
</field>
|
||||
<!-- Db_selection Field. Type: Textarea. (joomla) -->
|
||||
<field
|
||||
type="textarea"
|
||||
name="db_selection"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_SELECTION_LABEL"
|
||||
rows="22"
|
||||
cols="30"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_SELECTION_DESCRIPTION"
|
||||
class="text_area span12"
|
||||
filter="HTML"
|
||||
hint="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_SELECTION_HINT"
|
||||
required="true"
|
||||
/>
|
||||
<!-- Db_table_main Field. Type: Dbtables. (custom) -->
|
||||
<field
|
||||
type="dbtables"
|
||||
name="db_table_main"
|
||||
label="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE_MAIN_LABEL"
|
||||
description="COM_COMPONENTBUILDER_DYNAMIC_GET_DB_TABLE_MAIN_DESCRIPTION"
|
||||
class="list_class"
|
||||
multiple="false"
|
||||
required="true"
|
||||
button="false"
|
||||
/>
|
||||
<!-- Php_before_getitem Field. Type: Editor. (joomla) -->
|
||||
<field
|
||||
type="editor"
|
||||
|
Reference in New Issue
Block a user