XF 2.2 Extend options xfrmListDefaultOrder for XFRM?

Robert9

Well-known member
Is there a way to extend options?

Code:
  <option option_id="xfrmListDefaultOrder" edit_format="select" data_type="string">

    <default_value>last_update</default_value>

    <edit_format_params>last_update={{ phrase('xfrm_last_update') }}

resource_date={{ phrase('xfrm_submission_date') }}

rating_weighted={{ phrase('rating') }}

download_count={{ phrase('xfrm_downloads') }}

title={{ phrase('title') }}</edit_format_params>

    <relation group_id="xfrm" display_order="80"/>

  </option>

instead using a template_mod?
 
Ok, i can add options to the resource_options with something like:

Code:
  <option option_id="unique_id_name" edit_format="template" data_type="string">
    <default_value></default_value>
    <edit_format_params>option_name</edit_format_params>
    <relation group_id="xfrm" display_order="13000"/>
  </option>


But how can i override or extend an existing option?
 
Back
Top Bottom