ASPX templates
Version 6.x > ASPX templates > Adding editable region in CMS View modes: 
User avatar
Member
Member
gary.marsh-apptix - 11/17/2011 9:17:29 AM
   
Adding editable region in CMS
I want to try and convert a section of editable content in to 2 sections. For example, I would like to take a content area and separate it out into Title and Content sections to give us more control over the Title properties, without having to hardcode anything into the html.

Is there an easy way to do this?

Thanks!

Gary

User avatar
Kentico Support
Kentico Support
kentico_radekm - 12/6/2011 1:23:58 AM
   
RE:Adding editable region in CMS
Hello.

Well, in general, to get current document's editable web part (for instance EditableText) content, you can use:

{% CMSContext.CurrentPageInfo["[codeNameOfWebPart]"]%}


It directly returns text within given Editable text web part. However, I am not sure what exactly you mean by “separate it out into Title and Content sections to give us more control over the Title properties.” What are these sections? How are they represented? How it is connected to “Title” property? By the way, by Title property you mean metadata Properties / Metadata section? Can you clarify more in details, or provide some particular and clear example? Thank you.

Best Regards,
Radek Macalik