Thread tagged as: Question

Styling Region List

At the moment I have a page in the dashboard which displays several regions whose names are listed and separated by ',' Is it possible to have these as a vertical list or to change the separator to '|' for example, to make it more readable?

Helen Forrest

Helen Forrest 0 points

  • 3 years ago
Simon Clay

Simon Clay 127 points

Hi Helen,

Yes, you could do a UI Customisation as described here:

Then add the following code to /perch/addons/plugins/ui/my_javascript_file.js

    $(this).html($(this).html().replace(/,/g , '<br>'));