We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum


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

  • 1 year ago
Simon Clay

Simon Clay 127 points

Hi Helen,

Yes, you could do a UI Customisation as described here: https://docs.grabaperch.com/api/custom-ui/

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

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