Line breaks in page descriptions

Permalink
Hi there!

I'm building a website for a client and I have a page list block that displays the pages and their description, however the client wants to have some information on different lines to make it easier to read. I realize the page descriptions aren't meant to accept HTML, but is this possible?

 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi caomicc,

You could use a custom Page List template and custom attribute for the page type.

The description page attribute is a plain text text area. If you wanted HTML formatting, a text area attribute with "rich text" could be used. In the custom template, you could get the custom rich text description attribute instead of the plain text attribute. You would also need to change the page type Composer forms to use the new attribute.
caomicc replied on at Permalink Reply
How would I change the composer type?
MrKDilkington replied on at Permalink Reply 1 Attachment
MrKDilkington
You would add the new attribute to the Composer form here:
Dashboard > Pages & Themes > Page Types > Edit Form button

As you hover over the form set title, there will be a plus sign on the right. Clicking on the plus sign opens a menu. In the "Custom Attributes" tab, you will see a list of available attributes to add to the form.

http://www.concrete5.org/documentation/using-concrete5-7/dashboard/...

I attached a screenshot.