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

Notification

Icon
Error

Sub-site label problem
Armand
#1 Posted : Thursday, January 26, 2012 6:05:19 PM(UTC)
Rank: Advanced Member
Groups: Registered

Joined: 7/18/2011(UTC)
Posts: 79
Location: UK
Hi,

I think I've used it in previous (3.0x) versions of Kooboo and as far as I remember it was working, but in 3.1.0, when I try to access a label with
Code:
@("Label text".Label())
, it throws back some sort of script, like this:

Code:
<var editType='label' key='Location' category='' style='display:none' start></var>Label text<var style='display:none' end></var>


...which includes the label text, but not necessarily the right way.

The Label text is fine on the parent site, so I guess it has something to do with the hierarchy.

Thanks in advance,

Armand
jifeng
#2 Posted : Friday, January 27, 2012 10:32:13 AM(UTC)
Rank: Administration
Groups: Administrators, Registered

Joined: 9/3/2009(UTC)
Posts: 1,555
Location: Xiamen China
I think the sub-site was enabled inline editing function. please try to use @("Label text".RawLabel()).
Regards,

Jifeng Huang

Kooboo Team

Microsoft ASP.NET MVP
1 user thanked jifeng for this useful post.
Armand on 1/28/2012(UTC)
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.433 seconds.