Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Width and Height for editable text areas that are defined in User controls View modes: 
User avatar
Member
Member
zhankezk-gmail - 7/7/2013 7:34:24 AM
   
Width and Height for editable text areas that are defined in User controls
I think I may be a bit lost here.
I am using the user control webpart with user control files on the file system.

I want to allow the user to edit some content in the user control from Page view. So I added editable text areas.

when i use <cms:CMSEditableRegion ID="xxx" runat="server" ViewMode=""/>, I can set up width and height, but I cant see any content that have been saved if I dont sign in the cms.

when I use <%@ Register Src="~/CMSWebParts/Text/editabletext.ascx" TagName="xxx" TagPrefix="yyy" %>
<yyy:xxx ID="xx" runat="server" WebPartHeight="100"/>, I can see the content that have been saved from Page mode, but i cant set up the width and height of it in page mode.


Is there any solution to this?

Thank you!

User avatar
Kentico Support
Kentico Support
kentico_filipl - 7/9/2013 3:45:55 AM
   
RE:Width and Height for editable text areas that are defined in User controls
Hello,

What exactly happens when you use CMSEditableRegion? It should be possible to see the content of this control even for users who are not logged in.

Could your try to use it like this?
<cms:CMSEditableRegion ID="txtBottom" runat="server" DialogHeight="200" DialogWidth="450" RegionType="HtmlEditor" />

Best regards,
Filip Ligac

User avatar
Member
Member
zhankezk - 7/9/2013 6:06:24 AM
   
RE:Width and Height for editable text areas that are defined in User controls
Thank you.

I found out the issue. I need to give role "everyone" read permission. Maybe by default it's not.