Editable text with multiple layout options

Chris Lo asked on August 28, 2014 03:40

Hi all,

We have a requirement to allow editors to insert copy into a page whilst allowing them to choose from multiple options for the way the text is laid out.

For example, they need to be able to choose from: * 2 column div, 50% width each * 2 column div, 30% left, 70% right etc

I've done this before by creating a document type for each 'module', adding the required ones underneath the page, and then using a Universal Viewer on the page pointing to these documents with a Hierarchical Transformation. It worked quite well, but I'd like to improve on this by allowing the editor to edit the copy directly in the page instead of having to go to each document type to change copy/image/whatever. They should be able to see the layout on the page as they edit (i.e. click in the left column of the div and enter text, click in the right and enter text).

I can't find a way to do this, hoping that either someone's come up with a solution before, or there's something built in to Kentico that I don't know about.

Oh, I did try using layout widgets, but you don't get to see the actual content on the page, just and icon representing the widget. Also tried widget zones, which was slightly better, but you still can't edit directly on the page.

Thanks, Chris

Recent Answers


Brenden Kehren answered on August 28, 2014 17:18

There is a column webpart you could make into a widget with predefinded widths and column numbers. This would then allow you to create a widget zone and let the user pick which column widget they want to place on the page.

0 votesVote for this answer Mark as a Correct answer

Chris Lo answered on August 29, 2014 03:59

Hey Brenden, thanks. That is a possible solution, though I was hoping for something that displayed editable text fields on the page within the columns. Using the column widget means they have to add a rich text widget to each column, then configure that widget every time they want to edit the text. I'm just trying to make it as simple as possible.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.