Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

CMS Position Control Issue
grifone
#1 Posted : Tuesday, May 18, 2010 10:21:54 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 4/22/2010(UTC)
Posts: 31
Location: England
Hello folks

I am having a really strange problem.
I have created a new Layout Template in which I have defined three Content Position controls:

<cms:Position ID="Left_Sidebar" runat="server" />
<cms:Position ID="Main_Body" runat="server" />
<cms:Position ID="Right_Sidebar" runat="server" />

I can apply this layout template to a page.

But when I try and add Components to the page, I do not see the Position IDs I defined above. Instead the dropdown list of Positions shows the following:

right_sidebar_position
header
main_content_position
left_sidebar_position
footer_position

When I expect to be seeing:

Left_Sidebar
Main_Body
Right_Sidebar


Restarting IIS etc has not solved the issue.
jifeng
#2 Posted : Wednesday, May 19, 2010 9:06:04 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,394
Location: Xiamen China
Hi
Did you edit the layout template in the VS or outside Kooboo CMS admin? You need to save the layout template in the kooboo cms admin panel. It will parse the positions during saving
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
grifone
#3 Posted : Wednesday, May 19, 2010 5:03:32 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 4/22/2010(UTC)
Posts: 31
Location: England
Yes, I was editing the template in VS2008 and the Content Position controls didn't show.

But opening and saving it in the Kooboo editor, as you suggested, fixed the problem.

As a workaround, it was possible to see and enter components in the template Visual Designer interface.

Thanks!
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.5.5 | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.032 seconds.