Technical support This forum is closed.
Version 1.x > Technical support > cmseditableregion shows on live website View modes: 
User avatar
Member
Member
patsikes - 10/26/2006 10:37:47 PM
   
cmseditableregion shows on live website
Hello,

I am playing around with the trial version of your product for an intranet replacement. After using some other CMS systems (mainly poorly writen implimentataions of MS CMS), yours looks very good.

However, I keep having the problem. After making changes to a page in the CMS desk, pages in another browser in live view show the cmseditableregion border and controls, including all the HTMLEditor toolbars.

I am very affraid that this will happen in a production environment and will not move forward with this solution until that this is explained.

Here is a page that is doing it:
<%@ Register TagPrefix="cc3" Namespace="Kentico.CMS.DataEngine" Assembly="Kentico.CMS.DataEngine" %>
<%@ Register TagPrefix="cc2" Namespace="Kentico.CMS.TreeEngine" Assembly="Kentico.CMS.TreeEngine" %>
<%@ Register TagPrefix="cc1" Namespace="Kentico.CMS.CMSControls" Assembly="Kentico.CMS.CMSControls" %>
<%@ Register TagPrefix="uc1" TagName="Header" Src="Header.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Footer" Src="footer.ascx" %>
<%@ Page language="c#" Codebehind="BusinessUnit.aspx.cs" AutoEventWireup="false" Inherits="HSN.InHouse.BusinessUnit" %>
<!doctype html public "-//w3c//dtd xhtml 1.1 strict//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd">
<html>
<head>
<%=HSN.InHouse.Functions.GetPageTags("/services")%>
</head>
<body>
<form id="Form1" method="post" runat="server">
<div class="MainPage">
<cc1:cmspagemanager id="CMSPageManager1" runat="server"></cc1:cmspagemanager>
<uc1:header id="Header1" runat="server"></uc1:header>

<div class="Content">
<div class="CategoryMenu">
<cc1:cmstreemenu id="CMSTreeMenu1" runat="server" selectnodespath="/businessunits/%" indentation="3" displayhighlighteditemaslink="True"></cc1:cmstreemenu>
</div>
<div class="RightColumn">
<cc1:cmsbreadcrumbs id="CMSBreadCrumbs1" runat="server" />
<h1><cc1:cmseditableregion id="PageHeader" runat="server" regiontitle="Page Header" /></h1>
<cc1:cmseditableregion id="PageText" runat="server" regiontitle="Page Text" regiontype="HtmlEditor" />
<uc1:footer id="Footer1" runat="server"></uc1:footer>
</div>
</div>
</div>

</form>
</body>
</html>


And here is the "View Source" of a page showing the problem:

<!doctype html public "-//w3c//dtd xhtml 1.1 strict//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="pragma" content="no-cache" />
<title></title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="/HSNinhouseCMS/main.css" type="text/css" rel="stylesheet" />

</head>
<body>
<form method="post" action="/HSNinhouseCMS/BusinessUnits.aspx" id="Form1">
<input type="hidden" name="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" value="" />
<div style="display:none"><input type="hidden" name="__VIEWSTATE" value="dDwtMTQyNjU1NDk0OTt0PDtsPGk8MD47PjtsPHQ8O2w8aTwxPjtpPDM+O2k8OT47aTwxMT47PjtsPHQ8cDxwPGw8Q29tYmluZVdpdGhEZWZhdWx0Q3VsdHVyZTtDaGVja1Blcm1pc3Npb25zRm9yVXNlcklEOz47bDxvPGY+O2k8MD47Pj47Pjs7Pjt0PDtsPGk8MD47PjtsPHQ8cDxwPGw8U2VsZWN0Tm9kZXNNYXhSZWxhdGl2ZUxldmVsO0NhY2hlTWludXRlcztTZWxlY3ROb2Rlc1BhdGhUeXBlO1NjcmlwdFBhdGg7U2VsZWN0Tm9kZXNDbGFzc05hbWVzO1JlbmRlckl0ZW1OYW1lO1VzZUZyaWVuZGx5VXJscztIaWdobGlnaHRlZE5vZGVQYXRoO0NvbWJpbmVXaXRoRGVmYXVsdEN1bHR1cmU7Q2hlY2tQZXJtaXNzaW9uc0ZvclVzZXJJRDs+O2w8aTwxPjswO0tlbnRpY28uQ01TLlRyZWVFbmdpbmUuVHJlZVBhdGhUeXBlRW51bSwgS2VudGljby5DTVMuVHJlZUVuZ2luZSwgVmVyc2lvbj0xLjkuMjM5MC4xNjI3NiwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1jNTRhYTE3ZTRiYTEzMzE0PEFsaWFzUGF0aD47XGU7XGU7bzxmPjtvPHQ+Oy9CdXNpbmVzc1VuaXRzO288Zj47aTwwPjs+Pjs+O2w8aTwwPjs+O2w8dDxAMDw7OztAMDx0PHA8bDxNZW51SXRlbUNzc0NsYXNzO0l0ZW1Nb3VzZURvd25Dc3NDbGFzcztJdGVtTW91c2VPdmVyQ3NzQ2xhc3M7SXRlbU1vdXNlVXBDc3NDbGFzcztJdGVtVGV4dDtJdGVtVVJMO0l0ZW1JRDs+O2w8Q01TTWVudUl0ZW07Q01TTWVudUl0ZW1Nb3VzZURvd247Q01TTWVudUl0ZW1Nb3VzZU92ZXI7Q01TTWVudUl0ZW1Nb3VzZVVwO0hvbWU7L0hTTmluaG91c2VDTVMvSG9tZS5hc3B4O0hlYWRlcjFfQ01TTWVudTEtMDAwOz4+Ozs+O3Q8cDxsPE1lbnVJdGVtQ3NzQ2xhc3M7SXRlbU1vdXNlRG93bkNzc0NsYXNzO0l0ZW1Nb3VzZU92ZXJDc3NDbGFzcztJdGVtTW91c2VVcENzc0NsYXNzO0l0ZW1UZXh0O0l0ZW1VUkw7SXRlbUlEOz47bDxDTVNNZW51SGlnaGxpZ2h0ZWRNZW51SXRlbTtDTVNNZW51SGlnaGxpZ2h0ZWRNZW51SXRlbU1vdXNlRG93bjtDTVNNZW51SGlnaGxpZ2h0ZWRNZW51SXRlbU1vdXNlT3ZlcjtDTVNNZW51SGlnaGxpZ2h0ZWRNZW51SXRlbU1vdXNlVXA7T3VyIENvbW11bml0eTsvSFNOaW5ob3VzZUNNUy9CdXNpbmVzc1VuaXRzLmFzcHg7SGVhZGVyMV9DTVNNZW51MS0wMDE7Pj47Oz47Pjs7Pjs7Pjs+Pjs+Pjt0PHA8cDxsPElzQXV0aG9yaXplZDtSZWdpb25UeXBlOz47bDxvPHQ+O0tlbnRpY28uQ01TLkNNU0NvbnRyb2xzLkNNU0VkaXRhYmxlUmVnaW9uVHlwZUVudW0sIEtlbnRpY28uQ01TLkNNU0NvbnRyb2xzLCBWZXJzaW9uPTEuOS4yMzkwLjE2Mjc4LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWM1NGFhMTdlNGJhMTMzMTQ8VGV4dEJveD47Pj47PjtsPGk8Mj47PjtsPHQ8cDxwPGw8VGV4dDs+O2w8QnVzaW5lc3MgVW5pdHM7Pj47Pjs7Pjs+Pjt0PHA8cDxsPElzQXV0aG9yaXplZDs+O2w8bzx0Pjs+Pjs+O2w8aTwxPjs+O2w8dDxwPGw8VmFsdWU7PjtsPFVzZSB0aGUgbGlua3MgdG8gdGhlIGxlZnQgdG8gZXhwbG9yZSB0aGUgY29tbXVuaXRpZXMgb2YgSFNOITs+Pjs7Pjs+Pjs+Pjs+Pjs+vbVuzioHx0F6kk3YU2EVQ10PDMw=" /></div>

<script language="javascript" type="text/javascript">
<!--
function __doPostBack(eventTarget, eventArgument) {
var theform = document.getElementById ('Form1');
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
// -->
</script>

<script type="text/javascript">
<!--
//Region Global Variables
var skm_SelectedMenuStyleInfos=new Object();
var skm_UnselectedMenuStyleInfos=new Object();
var skm_MenuFadeDelays=new Object();
var skm_clockValue=0;
var skm_ticker;
var skm_highlightTopMenus=new Object();
var skm_images=new Array();
var skm_OpenMenuItems = new Array();
//var skm_previousMenu;
//EndRegion
//Region Methods to hook up a menu to the global variables
function skm_registerMenu(menuID, selectedStyleInfo, unselectedStyleInfo, menuFadeDelay, highlightTopMenu){
skm_SelectedMenuStyleInfos[menuID]=selectedStyleInfo;
skm_UnselectedMenuStyleInfos[menuID]=unselectedStyleInfo;
skm_MenuFadeDelays[menuID]=menuFadeDelay;
skm_highlightTopMenus[menuID]=highlightTopMenu;
}
//Region The methods and contructor of the skm_styleInfo object.
function skm_applyStyleInfoToElement(element){
element.style.backgroundColor=this.backgroundColor;
element.style.borderColor=this.borderColor;
element.style.borderStyle=this.borderStyle;
element.style.borderWidth=this.borderWidth;
element.style.color=this.color;
if (this.fontFamily!='')
element.style.fontFamily=this.fontFamily;
element.style.fontSize=this.fontSize;
element.style.fontStyle=this.fontStyle;
element.style.fontWeight=this.fontWeight;
if (this.className!='')
element.style.className=this.className;
}
function skm_styleInfo(backgroundColor,borderColor,borderStyle,borderWidth,color,fontFamily,fontSize,fontStyle,fontWeight,className){
this.backgroundColor=backgroundColor;
this.borderColor=borderColor;
this.borderStyle=borderStyle;
this.borderWidth=borderWidth;
this.color=color;
this.fontFamily=fontFamily;
this.fontSize=fontSize;
this.fontStyle=fontStyle;
this.fontWeight=fontWeight;
this.className=className;
this.applyToElement=skm_applyStyleInfoToElement;
}

function getPropertyValueFromCss(className, propertyName)
{
var toReturn = null;

if (document.styleSheets) {
for (var i = 0; i < document.styleSheets.length; i++)
{
var cssRules = null;
// IE
if (document.styleSheets.rules) {
cssRules = document.styleSheets.rules;
}
// Mozilla and others
else if (document.styleSheets.cssRules) {
cssRules = document.styleSheets.cssRules;
}
if (cssRules != null) {
for (var j = 0; j < cssRules.length; j++) {
if (cssRules[j].selectorText == ("." + className) && cssRules[j].style[propertyName] != null)
{
toReturn = cssRules[j].style[propertyName];
}
}
}
}
}
return toReturn;
}

//Region MouseEventHandlers
function skm_mousedOverMenu(menuID,elem,parent,displayedVertically,imageSource){
skm_stopTick();
skm_closeSubMenus(elem);
var childID=elem.id+"-subMenu"; // Display child menu if needed
if (document.getElementById(childID)!=null){ // make the child menu visible and specify that its position is specified in absolute coordinates
child = document.getElementById(childID);
if (child.style)
{
child = child.style;
}
child.display='block';
child.position='absolute';

// get width of CMSMenu from css stylesheet
var tableWidth = getPropertyValueFromCss(document.getElementById(childID).className, "width");
if (tableWidth != null)
{
/*tableWidth = tableWidth.substring(0, tableWidth.length - 2);*/
child.width = tableWidth;
}
/* if (skm_previousMenu != null) {
skm_previousMenu.className = "CMSMenu";
}
skm_previousMenu = document.getElementById(childID);
skm_previousMenu.className = "CMSMenuActive"; */

skm_OpenMenuItems = skm_OpenMenuItems.concat(childID);
if (displayedVertically){ // Set the child menu's left and top attributes according to the menu's offsets
child.left=(skm_getAscendingLefts(parent)+parent.offsetWidth) + 'px';
child.top=skm_getAscendingTops(elem) + 'px';
//document.getElementById(childID).style.backgroundColor='green';

var visibleWidth=parseInt(window.outerWidth?window.outerWidth-9:document.body.clientWidth,10);
if ( (parseInt(skm_getElementLeft(document.getElementById(childID)),10) + parseInt(document.getElementById(childID).offsetWidth,10))>visibleWidth) {
//document.getElementById(childID).style.backgroundColor='red';
var oldpos = document.getElementById(childID).offsetLeft;
var width = parseInt(document.getElementById(childID).offsetWidth,10);
var newpos = oldpos - parent.offsetWidth - width;
//alert(newpos + '=' + oldpos + '-' + parent.offsetWidth + ' - ' + width);
child.left = newpos + 'px';
/* due to incorrect movement when not defined width in css stylesheet, it is important to move new submenu
(displayed on the left from actual submenu) UNDER actual submenu. Otherwise some items from actual submenu
may be not visible. */
child.zIndex = skm_getElemZIndex(parent) - 1;
} else {
child.zIndex = skm_getElemZIndex(parent) + 10;
}
}else{ // Set the child menu's left and top attributes according to the menu's offsets
child.left=skm_getAscendingLefts(elem) + 'px';
child.top=(skm_getAscendingTops(parent)+parent.offsetHeight) + 'px';
if (document.getElementById(childID).offsetWidth<elem.offsetWidth)
child.width=elem.offsetWidth + 'px';
}
}
if (skm_SelectedMenuStyleInfos[menuID] != null) skm_SelectedMenuStyleInfos[menuID].applyToElement(elem);
if (skm_highlightTopMenus[menuID]){
var eId=elem.id+'';
while (eId.indexOf('-subMenu')>=0){
eId=eId.substring(0, eId.lastIndexOf('-subMenu'));
skm_SelectedMenuStyleInfos[menuID].applyToElement(document.getElementById(eId));
}
}
if (imageSource!=''){
setimage(elem,imageSource)
}
}
function skm_mousedOverClickToOpen(menuID,elem,parent,imageSource){
skm_stopTick();
if (skm_SelectedMenuStyleInfos[menuID] != null) skm_SelectedMenuStyleInfos[menuID].applyToElement(elem);
if (skm_highlightTopMenus[menuID]){
var eId=elem.id+'';
while (eId.indexOf('-subMenu')>=0){
eId=eId.substring(0, eId.lastIndexOf('-subMenu'));
skm_SelectedMenuStyleInfos[menuID].applyToElement(document.getElementById(eId));
}
}
if (imageSource!=''){
setimage(elem,imageSource)
}
}
function skm_getElemZIndex(elem)
{
if (elem == null)
{
return -1;
} else if (elem.style.zIndex == undefined){
return 100;
} else {
return elem.style.zIndex;
}
}
function skm_mousedOverSpacer(menuID,elem,parent){
skm_stopTick();
}
function skm_mousedOutMenu(menuID,elem,imageSource,cssClass){
if (document.getElementById('lastSelectedItemID_' + menuID) != null)
{
if (document.getElementById('lastSelectedItemID_' + menuID).value == elem.id)
{
return;
}
}
skm_doTick(menuID);
if (skm_UnselectedMenuStyleInfos[menuID] != null) skm_UnselectedMenuStyleInfos[menuID].applyToElement(elem);
if (skm_highlightTopMenus[menuID]){
var eId=elem.id+'';
while (eId.indexOf('-subMenu')>=0){
eId=eId.substring(0, eId.lastIndexOf('-subMenu'));
skm_UnselectedMenuStyleInfos[menuID].applyToElement(document.getElementById(eId));
}
}
if (imageSource!=''){
setimage(elem,imageSource)
}
settd(elem,cssClass)
}
function skm_mousedOutSpacer(menuID, elem){
skm_doTick(menuID);
}
//Region Utility Functions
function skm_closeSubMenus(parent){
if (skm_OpenMenuItems == "undefined") return;
for (var i=skm_OpenMenuItems.length-1; i>-1;i--) {
if (parent.id.indexOf(skm_OpenMenuItems) != 0) {
if (document.getElementById(skm_OpenMenuItems) != null) {
document.getElementById(skm_OpenMenuItems).style.display = 'none';
skm_shimSetVisibility(false, skm_OpenMenuItems);
skm_OpenMenuItems = new Array().concat(skm_OpenMenuItems.slice(0,i), skm_OpenMenuItems.slice(i+1));
}
}
}
}
function skm_shimSetVisibility(makevisible, tableid){
var tblRef=document.getElementById(tableid);
var IfrRef=document.getElementById('shim'+tableid);
if (tblRef!=null && IfrRef!=null){
if(makevisible){
IfrRef.style.width=tblRef.offsetWidth;
IfrRef.style.height=tblRef.offsetHeight;
IfrRef.style.top=tblRef.style.top;
IfrRef.style.left=tblRef.style.left;
IfrRef.style.zIndex=tblRef.style.zIndex-1;
IfrRef.style.display="block";
}else{
IfrRef.style.display="none";
}
}
}
function skm_IsSubMenu(id){
if (skm_subMenuIDs == "undefined") return false;
for (var i=0;i<skm_subMenuIDs.length;i++)
if (id==skm_subMenuIDs) return true;
return false;
}
function skm_getAscendingLefts(elem){
if (elem==null)
return 0;
else
{
var elemPosition = getPropertyValueFromCss(elem.className,'position');
if (!elemPosition) {
elemPosition = elem.style.position;
}
if ((elemPosition=='absolute' || elemPosition=='relative') && !skm_IsSubMenu(elem.id)) return 0;
//if ((elem.style.position=='absolute' || elem.style.position=='relative') && !skm_IsSubMenu(elem.id)) return 0;
var x = elem.offsetLeft+skm_getAscendingLefts(elem.offsetParent);
return x;
}
}
function skm_getElementLeft(elem)
{
if (elem==null)
{
return 0;
} else {
return elem.offsetLeft + skm_getElementLeft(elem.offsetParent);
}
}
function skm_getAscendingTops(elem){
if (elem==null)
return 0;
else {
var elemPosition = getPropertyValueFromCss(elem.className,'position');
if (!elemPosition) {
elemPosition = elem.style.position;
}
var parent = skm_getAscendingTops(elem.offsetParent);
//alert(elem.tagName +' '+ elem.offsetTop + ' from '+ elem.offsetParent +' '+ parent + ' elempos: '+ elemPosition);
if ((elemPosition=='absolute' || elemPosition=='relative') && !skm_IsSubMenu(elem.id)) return 0;
return elem.offsetTop + parent;
}
}
//Region Fade Functions
function skm_doTick(menuID){
if (skm_clockValue>=skm_MenuFadeDelays[menuID]){
skm_stopTick();
skm_closeSubMenus(document.getElementById(menuID));
} else {
skm_clockValue++;
skm_ticker=setTimeout("skm_doTick('"+menuID+"');", 500);
}
}
function skm_stopTick(){
skm_clockValue=0;
clearTimeout(skm_ticker);
}
function preloadimages(){
for (i=0;i<preloadimages.arguments.length;i++){
skm_images=new Image();
skm_images.src=preloadimages.arguments;
}
}
function setimage(elem,imageSource){
var i=elem.getElementsByTagName("img")[0];
i.src=imageSource;
}
function settd(elem,styleName){
elem.className=styleName;
}
function skm_selectNewItem(menuID, elem, imageSource, normalImageSource, className, normalClassName){
if (document.getElementById('lastSelectedItemID_' + menuID).value != elem.id)
{
//set original values
setimage(document.getElementById(document.getElementById('lastSelectedItemID_' + menuID).value), document.getElementById('lastSelectedItemNormalImageSource_' + menuID).value);
settd(document.getElementById(document.getElementById('lastSelectedItemID_' + menuID).value), document.getElementById('lastSelectedItemNormalClassName_' + menuID).value);
//store values
document.getElementById('lastSelectedItemID_' + menuID).value = elem.id;
document.getElementById('lastSelectedItemNormalImageSource_' + menuID).value = normalImageSource;
document.getElementById('lastSelectedItemNormalClassName_' + menuID).value = normalClassName;
//set new values
setimage(elem, imageSource);
settd(elem, className);
}
}
//-->
</script>



<div class="MainPage">
<script type="text/javascript">
function CMSOpenWindow(path, mode, classname) {
if (top.frames
['desktop']) {
top.frames['desktop'].frames['header'].SelectNodeWithModeExtra(path,mode,classname,parent.document.location.href);
} else {
top.frames['header'].SelectNodeWithModeExtra(path,mode,classname,parent.document.location.href);
}

}
</script>
<table border="0" class="CMSPageManager" cellpadding="0" cellspacing="0"><tr><td><a id="CMSPageManager1_btnSave" class="CMSPageManagerTextLink" href="javascript:__doPostBack('CMSPageManager1$btnSave','')">Save page</a></td></tr></table>

<div class="sampleInfoPanel_envelope">
<div class="sampleInfoPanel">
<a class="InfoLink" href='/HSNinhouseCMS/cmsdesk/logon.aspx?user=administrator'>
Click here</a> to sign in to the administration interface
(administrator/blank
password).
<a href= ' /HSNinhouseCMS/ControlsExamples/default.aspx ' target="_blank">
Click here</a> to see controls examples.
</div>
</div>
<div class="logoBar">
<img src='/HSNinhouseCMS/images/HSNlogo.jpg' />
</div>
<div class="searchBar">Search:
search
</div>
<div class="mainMenuBar">
<div class="Horizontal">
<span id="Header1_CMSMenu1_table"><table class="CMSMenu" cellspacing="2" cellpadding="2" id="Header1_CMSMenu1" border="0" style="z-index:1000;">
<tr>
<td class="CMSMenuItem" id="Header1_CMSMenu1-000" onclick="javascript:closeSubMenusHeader1_CMSMenu1('/HSNinhouseCMS/Home.aspx');" onmousedown="this.className='CMSMenuItemMouseDown';" onmouseup="this.className='CMSMenuItemMouseUp';" onmouseover="javascript:MousedOverMenuHeader1_CMSMenu1(false, this,'','Header1_CMSMenu1');skm_shimSetVisibility(true,'Header1_CMSMenu1-000-subMenu');this.className='CMSMenuItemMouseOver';" onmouseout="javascript:skm_mousedOutMenu('Header1_CMSMenu1', this, '','CMSMenuItem');">Home</td><td class="CMSMenuHighlightedMenuItem" id="Header1_CMSMenu1-001" onclick="javascript:closeSubMenusHeader1_CMSMenu1('/HSNinhouseCMS/BusinessUnits.aspx');" onmousedown="this.className='CMSMenuHighlightedMenuItemMouseDown';" onmouseup="this.className='CMSMenuHighlightedMenuItemMouseUp';" onmouseover="javascript:MousedOverMenuHeader1_CMSMenu1(false, this,'','Header1_CMSMenu1');skm_shimSetVisibility(true,'Header1_CMSMenu1-001-subMenu');this.className='CMSMenuHighlightedMenuItemMouseOver';" onmouseout="javascript:skm_mousedOutMenu('Header1_CMSMenu1', this, '','CMSMenuHighlightedMenuItem');">Our Community</td>
</tr>
</table><script type="text/javascript">
function MousedOverMenuHeader1_CMSMenu1(layout,sender,image,menuid){
javascript:skm_mousedOverMenu('Header1_CMSMenu1',sender, document.getElementById(menuid), layout, image);
}

function closeSubMenusHeader1_CMSMenu1(URL){
javascript:skm_closeSubMenus(document.getElementById('Header1_CMSMenu1'));location.href=URL;
}
</script>
</span>
</div>
</div>


<div class="Content">
<div class="CategoryMenu">
<table class="CMSTreeMenuTable" cellspacing="0" cellpadding="0"><tr><td class="CMSTreeMenuItem"><a href="/HSNinhouseCMS/BusinessUnits/Benifits.aspx" class="CMSTreeMenuLink">Benefits</a></td></tr><tr><td class="CMSTreeMenuItem"><a href="http://www.suncoastfcu.org/" class="CMSTreeMenuLink">Credit Union</a></td></tr><tr><td class="CMSTreeMenuItem"><a href="/HSNinhouseCMS/BusinessUnits/Facilities.aspx" class="CMSTreeMenuLink">Facilities</a></td></tr></table>
</div>
<div class="RightColumn">
<span class="CMSBreadCrumbsCurrentItem">Our Community</span>
<h1><span id="PageHeader"><table cellpadding="3" cellspacing="0" class="CMSEditableRegion">
<tr><td>
<span>Page Header</span></td></tr><tr><td class="CMSEditableRegionError"></td></tr>
<tr><td><textarea name="PageHeader:TextBoxPageHeader" rows="1" cols="30" id="PageHeader_TextBoxPageHeader">Business Units</textarea></td></tr>
</table></span></h1>
<span id="PageText"><table cellpadding="3" cellspacing="0" class="CMSEditableRegion">
<tr><td>
<span>Page Text</span></td></tr><tr><td class="CMSEditableRegionError"></td></tr>
<tr><td><div><input type="hidden" id="PageText_FCKEditorPageText" name="PageText:FCKEditorPageText" value="Use the links to the left to explore the communities of HSN!"><input type="hidden" id="PageText_FCKEditorPageText___Config" value="ImageBrowserWindowWidth=1000&LinkBrowserURL=/HSNinhouseCMS/cmsdesk/Content/SelectNodeFrameset.aspx?targetID%3DFCKEditorLinkDialog%26selectiontype%3Dlink&LinkBrowserWindowHeight=500&ImageBrowserURL=/HSNinhouseCMS/cmsdesk/Content/SelectNodeFrameset.aspx?targetID%3DFCKEditorLinkDialog%26selectiontype%3Dfile%26style%3Dselectimage&DefaultLanguage=en&AutoDetectLanguage=false&EditorAreaCSS=/HSNinhouseCMS/main.css&FlashBrowserURL=/HSNinhouseCMS/cmsdesk//Content/SelectNodeFrameset.aspx?targetID%3DFCKEditorLinkDialog%26selectiontype%3Dfile%26style%3Dselectimage&LinkBrowserWindowWidth=600"><iframe id="PageText_FCKEditorPageText___Frame" src="/HSNinhouseCMS/cmsdesk/aspnet_client/FCKEditor/editor/fckeditor.html?InstanceName=PageText_FCKEditorPageText&Toolbar=Default" width="600px" height="300px" frameborder="no" scrolling="no"></iframe></div></td></tr>
</table></span>

<div align="center" class="footer">
Privacy Policy |
Feedback |
Support
<br />
© Copyright HSN, 2006
</div>

</div>
</div>
</div>


<script language="javascript" type="text/javascript">
<!--
var skm_subMenuIDs = new Array('Header1_CMSMenu1');
// -->
</script>

<script type="text/javascript">skm_registerMenu('Header1_CMSMenu1',new skm_styleInfo('','','','','','','','','',''),new skm_styleInfo('','','','','','','','','',''),2,false);</script>

</form>
</body>
</html>


User avatar
Member
Member
trint99 - 10/27/2006 6:38:26 PM
   
Re: cmseditableregion shows on live website
I do not work for Kentico, but I'm pretty sure I know what's going on.

Kentico uses cookies to establish your CMS login status. It also uses cookies to decide if you have a page checked out for editing. If you are using the same browser to edit the page in Kentico and view the page's "live view", then the cookie is being read in both places.

If you log out of Kentico, or use a different browser to view the page, you will not see the edit boxes. Personally, I like to view the site in FireFox while I am logged into Kentico in IE.

User avatar
Guest
admin - 10/31/2006 2:02:52 PM
   
Re: cmseditableregion shows on live website
Hello,

Thanks to trint99 for the reply - it's exactly so. I would recommend that you try version 2.0 - it displays a message on the top of the screen saying "This is an edit mode. close the edit mode." which allows user to simply switch back to the standard view mode.

The new version also comes with many new features that are useful for intranets (browser-based development using web parts, Windows user account import, etc.).

Best Regards,