8

I am implementing experience manager on my DD4T Website.

I am able to edit Page metadata content but not Component content in Experience Manager. Below is the HTML rendering on my page:

<section class="main" role="main">
    <figure id="ball-box" class="widgetContainer">
          <!-- Start Component Presentation: {"ComponentID" : "tcm:33-1690", "ComponentModified" : "2014-05-09T18:54:04", "ComponentTemplateID" : "tcm:33-1863-32", "ComponentTemplateModified" : "2014-07-25T09:15:42", "IsRepositoryPublished" : false} -->
          <h2><!-- Start Component Field: {"XPath":"tcm:Content/custom:HomePageWidget/custom:Header[1]"} -->Component field text</h2>
          <h2><!-- Start Component Field: {"XPath":"tcm:Content/custom:HomePageWidget/custom:Header[1]"} --> Component field text</h2>
          <div>
              <!-- Start Region: { "title": "Howm Page Widget", "allowedComponentTypes": [ {"schema": "tcm:2-76-8", "template": "tcm:33-1863-32"}, ], "minOccurs": 1 } -->
         </div>
    </figure>
</section>
<!-- Page Settings: {"PageID":"tcm:33-1859-64","PageModified":"2014-07-29T08:33:49","PageTemplateID":"tcm:33-1860-128","PageTemplateModified":"2014-07-29T06:44:37"} -->
<script type="text/javascript" language="javascript" defer="defer" src="http://cmsurl.com/WebUI/Editors/SiteEdit/Views/Bootstrap/Bootstrap.aspx?mode=js" id="tridion.siteedit"></script>;

Below is my siteedit_config setting:

<siteEdit enabled="true" style="SiteEdit2012" tridionHostUrl="http://cmsurl.com">
<contextPublications>
    <contextPublication id="33" pagePublication="33" componentPublication="4" publishPublication="33"/>
</contextPublications>
</siteEdit>

Can anyone suggest the probable area of issue?

14
  • Do you get any indication of XPM running properly - borders around component presentations, around fields, etc?
    – Nuno Linhares
    Commented Jul 29, 2014 at 10:32
  • Thanks for your quick response Nuno. I can edit metadata of my page and can verify the changes in CMS. I am not able to update the component content. Yes, I can see the component presentations, not around field. Commented Jul 29, 2014 at 10:41
  • Is there a lock icon in the CPs? What happens if you click inside it?
    – Nuno Linhares
    Commented Jul 29, 2014 at 10:43
  • I can't see any lock in component presentation. When I click inside component presentation siteedit UI showing my component as a selected item but I am not able to edit that. Commented Jul 29, 2014 at 11:31
  • Is your field in the schema enabled for inline editing? (Checkbox called 'Enable for Inline Editing') Commented Jul 29, 2014 at 12:27

1 Answer 1

5

Have you set your BluePrint Context settings in Tridion as well as in the site_edit_config.xml file? This can often cause the behaviour you describe.

Open the following menu

BluePrint Context Menu location

Then for each of your staging website publications, match the settings to those you have set in the site_edit_config.xml file.

Settings

2
  • I removed DD4T from the post and tags, as this was not related to it at all.
    – Nuno Linhares
    Commented Jul 29, 2014 at 16:34
  • 1
    Not sure I agree there Nuno, the asker was in the context of DD4T and both question and answer mention the file site_edit_config.xml which is DD4T specific. I've made the same mistake myself and think others might too and will probably include "dd4t" in the search. Hence I've added the DD4T tag back in. Commented Jul 30, 2014 at 10:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.