Article Accessibility - Adding Labels to the Sort and Order Dropdowns

Instructions for Adding Labels to the Sort and Order Dropdowns

The Sort and Order dropdowns are available in the following widgets:

  • Blog - Post List
  • Forum Thread - List
  • Media Gallery - File List
  • Ideas - Idea List

You can apply the same steps to these widgets, as well as any other widgets that require similar label updates.

  1. Navigate to Administration -> Interface -> Widget Studio.
  2. Search for the widget you want to update (for example, Blog - Post List).
  3. Open the list.vm file.





  4. Search for the following code (ctrl+F):

            <select class="ui-select" data-querykey="PostSortBy">

  1. Add the following line above it: <label>$core_v2_language.GetResource('Sort_Label')</label>




  2. Search for the following code (ctrl+F):
    <select class="ui-select" data-querykey="PostSortOrder">

  3. Add the following line above it:
    <label>$core_v2_language.GetResource('Order_Label')</label>

  4. Go to Resources and click Add Resource




  5. Add the following resource entries:

Key

Value

Sort_Label

Sort:

Order_Label

Order:

  1. Click Widget Actions on the top toolbar and select Publish Staged Changes