Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Web Part Zones not showing up in Design Mode View modes: 
User avatar
Member
Member
timsmith73-gmail - 8/2/2011 11:07:28 AM
   
Web Part Zones not showing up in Design Mode
Hey Folks,

I'm trying to create a new page template with a specific layout.

On the Layout Tab in the Page Template Properties window, I've selected Use Custom Layout and added the following code:

<div id="menu">
<cc1:CMSWebPartZone ID="zoneLeftCol" runat="server" />
</div>

<div id="main-content">
<cc1:CMSWebPartZone ID="zoneMainContent" runat="server" />
</div>

I've also selected "Portal Page" as the template type.

When I switch to Design mode, hoping to add some webparts to my newly created zones, I'm not seeing any Web Part Zones on the page.

The page I am previewing looks exactly as it does in Page Mode.

The only template that seems to be properly displaying Web Part Zones is my Masterpage template.

Any pointers or suggestions would be appreciated!

Thank you.

Tim


User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 8/5/2011 4:57:22 AM
   
RE:Web Part Zones not showing up in Design Mode
Hello,

This issue seems to be cause by incorrect page template visual inheritance. Please make sure, that the page template inherits from your master page document. Please see more details about it in our Developer's Guide: http://devnet.kentico.com/docs/devguide/visual_inheritance.htm.

Best regards
Ondrej Vasil