multi column text

304 views
Skip to first unread message

Thierry Durand

unread,
Sep 20, 2015, 4:26:29 AM9/20/15
to Wagtail support
Hi,

is there a way to implement a multi column area? it's very useful to be able to display a text on 2 or 3 column, the rich text feature doesn't allow it, even not to create a table.

The question is to know if it's possible to display 3 column that actually display 3 column inside the cms.

regards

Tim Allen

unread,
Sep 20, 2015, 9:10:14 PM9/20/15
to Wagtail support
Wouldn't this be handled best as three separate text fields, handled in the appropriate template, perhaps as a responsive three column block? Such as shown in this example:


Just a thought, I may well be missing something. Regards,

Tim

Thierry Durand

unread,
Sep 21, 2015, 2:43:15 AM9/21/15
to Wagtail support
yes, i think i have to use three responsive column block with 3 richtext content in template, but in the cms administration I will not see 3 column but 3 richtext content one under the other, right?

the question was to know if wagtail cms can handle a content 'inline editing' like.

Matthew Westcott

unread,
Sep 21, 2015, 6:41:20 AM9/21/15
to wag...@googlegroups.com
Hi Thierry,
No, this isn't supported at the moment. Allowing multiple columns within rich text would be the wrong approach - that would mean you'd have page layout information embedded within article content, and the whole idea of a content management system is to keep those separate.

We've considered allowing more customisation of the panels system, to allow displaying fields horizontally in the editor - for example, you could construct a MultiFieldPanel containing two rich text fields, and tell it to display those horizontally rather than vertically. However, this feature isn't a priority for us - it would require a lot of design work to make it look acceptable, and again, it doesn't really fit Wagtail's philosophy of keeping content and presentation separate. Ideally, editors should only be thinking about the pure information content of the page - not how it will be displayed.

Cheers,
- Matt

Joss Ingram

unread,
Sep 21, 2015, 6:43:36 AM9/21/15
to Wagtail support
Sounds like Streamfield might be a good fit, especially if you want to mix 3 columns in betweem various other bits of content, and not in one fixed place in a template.


https://jossingram.wordpress.com/2015/07/30/some-wagtail-v1-streamfield-examples/ - Has a two column block example, but you could easily make it three cols.

With SF in Wagtail you still won't see the three columns side by side in the admin but the visual representation is still better, and SF is a lot more flexible.

Thierry Durand

unread,
Sep 22, 2015, 5:23:36 AM9/22/15
to Wagtail support
ok, thanks guys!

even if it's a bit disappointed that wagtail hasn't inline editing feature.

Thierry
Reply all
Reply to author
Forward
0 new messages