Need to insert comma or line break after each page attribute
Permalink
I'm currently in the beginning stages of this project. On the individual facility pages I've added various Page Attributes to be displayed in the sidebar in a templated page. One in particular, Facility Features, is tied to a multi-selection attribute and it needs something to break up the various words whether that's a comma or a line break. How and where would the necessary code go to break this up?
http://www.barkingtuna.com/mlorch/self-storage-locations/south-phoe...
http://www.barkingtuna.com/mlorch/self-storage-locations/south-phoe...
In your css file you have a declaration of
Try making it like this
EDIT
It looks like you have it as an in-line style in your header
div.ccm-page div.ccm-block-page-attribute-display-wrapper { padding-top: 10px; padding-bottom: 10px; }
Try making it like this
div.ccm-page div.ccm-block-page-attribute-display-wrapper { padding-top: 10px; padding-bottom: 10px; white-space: pre-line; }
EDIT
It looks like you have it as an in-line style in your header
That is a really elegant solution, I like it
Thank you both for equally viable solutions... Always fun to see it attacked from multiple angles. The CSS route was the easiest to accomplish and worked brilliantly. Thanks again for the help.
and an override of concrete/attributes/select/option_list.php (copy to application/attributes/select/option_list.php), where we change the visibility of
However, I'm not able to get overrides working yet myself so someone in the know will have to help us. My understanding is that in application/bootstrap/app.php you just add
and it should work, but it doesn't for me.