SiteEdit 2009 SP3 has been installed and configured for our website. We have followed the instructions provided in chapter 2, Implementing and configuring SiteEdit in VBScript templates.
SiteEdit is enabled on the Page, but Components are not editable?
We have: Windows Server 2008 R2, IIS, SDL Tridin 2011 SP1 and SiteEdit 2009 SP3; and I'm using the following code in the PT:
[%
For Each lObjCP In Page.ComponentPresentations
WriteOut "<div>"
WriteOut SiteEdit2.MarkComponentPresentation(lObjCP.ComponentID, lObjCP.Component.Info.Version, lObjCP.ComponentTemplateID, "",true)
WriteOut lObjCP.Content
WriteOut "</div>"
Next
SiteEdit2.PageID = Page.ID
SiteEdit2.PageVersion = Page.Info.Version
WriteOut SiteEdit2.Finalize()
%]
And in the CT:
[%
WriteOut SiteEdit2.MarkComponentField(Component.Fields.item("Text").XPath)
WriteOut Replace(EscapeXMLCharacters(Component.Fields.item("Text").value(1)), vbCrLf, "<br>")
%]
this is part of the source of the published page:
<div>
<!-- Start SiteEdit Component Presentation: {"ID":"cp_1", "ComponentID":"tcm:7-474335", "ComponentVersion":4, "ComponentTemplateID":"tcm:7-648169-32", "IsQueryBased":true} -->
<span>
<!-- Start SiteEdit Component Field: {"ID": "cf_1", "XPath": "tcm:Content/custom:enlace/custom:texto", "IsMultiValued": false} -->
This is a segund reportage
</span>
</div>
<!-- SiteEdit Settings: {"PageID":"tcm:7-647740-64", "PageVersion":14, "ComponentPresentationLocation":1} -->
Could you give me any ideas or solutions for this?
I solved the problem by installing all the hotfixes.Thank you all for your colabroacion!