MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Problem - page management  (Mono Support )

21842 put(a) pogledan, 4 odgovor(a) 15.3.2011. 11:34:44Kreirao(la) Helene
Helene

Helene

15.3.2011. 11:34:44
Hi

In the Page Management section when a new page (Default Template) is added, the title (Html Editor 1) of the webpat in the left side is visible to the publich site (when logged out as admin).

How can I fix that?

And there is no delete option for the editors - is that right?

Regards

Ovaj sadržaj još nije ocijenjen. 
315 Reputacija 39 Ukupno objava
denis

denis

15.3.2011. 12:23:27
Although it does not behave this way for the default page template in my installation, the title behavior is controlled by the Web part chrome - more specifically, by Web part zone properties ShowChromeForNonAdmins (which controls if the chrome is displayed to ordinary users) and ChromeTemplateFile (which points to the chrome template in /App_Templates/YourThemeName/PageTemplates/).

Web parts that are placed in the markup of the page cannot be deleted. You can create a page template with no parts at all and than use part catalog to place the parts dynamically.
Ovaj sadržaj još nije ocijenjen. 
7207 Reputacija 956 Ukupno objava
imarusic

imarusic

15.3.2011. 12:31:02
Hi Helene,

In order to remove the "Html Editor" title you need to set the "ShowChromeForNonAdmins" property, within your markup, to false or simply to remove that property, because it's set to false by default.

e.g.

<portal:PortalWebPartZone HeaderText="Left part zone" ID="leftWebPartZone" runat="server" Width="100%" ChromeTemplateFile="LeftColumn.htm" ShowChromeForNonAdmins="false">
           <ZoneTemplate>
                     <MonoX:Editor runat="server" ID="editor1" />            
            </ZoneTemplate>
</portal:PortalWebPartZone>


There are two ways to delete the editors.

1. If the editor resides in your markup then you can close it through it's "Visible" property(please see the attached image) or to delete it from your markup.

2. When you add the editor dynamically and then go to the design mode, you have "close" and "delete" options(please see the attached image). "Close" option will hide the editor, but "delete" option will remove the editor from the page.
Ovaj sadržaj još nije ocijenjen. 
3016 Reputacija 428 Ukupno objava
Helene

Helene

15.3.2011. 13:42:36
Hi again.

Thank you very much.

Now it works and I understand a little more:)

Regards
Ovaj sadržaj još nije ocijenjen. 
315 Reputacija 39 Ukupno objava