Question

In SDL Tridion 2009 SP1 we have Components that are added to Structure Group and Page Metadata which are then output on the Page as a Component Presentation. We have done this to allow users to set global content per site section without the need to add it to every single Page in the Structure Group.

When we output the Component with a Component Template with manual tags we get a red box around the Presentation and the tooltip of the SiteEdit box says “Removed”. When using the exact same Component Template in the Component Presentations tab and rendering that on the page the content is editable.

Is it possible using SiteEdit 2009 to inline edit a component added as Page/Structure Group metadata?

Note: We are aware of an outstanding bug in SDL Tridion 2009 SP1 that when you go to open a component added to Page/Structure Group metadata that it always opens it read-only. Could this be causing the issue?

Was it helpful?

Solution

It is possible to do this but you have to make sure that your markup is correct. I have done this before by marking the SiteEdit Component Presentation as QueryBased which seems to make SiteEdit ignore it's usual rules where the Component must be added in the Component Presentation list

<!-- Start SiteEdit Component Presentation: { 
"ID" : "CP1", 
"ComponentID" : tcm:32-204298", 
"ComponentTemplateID" : "tcm:32-204519-32", 
"Version" : "16", 
"IsQueryBased" : true} 
-->

OTHER TIPS

You need to either:

  • Expose the metadata of the page in a "visible" area of your page with the correct SE markup
  • Open the page in CME and edit the Metadata there.

Tridion UI 2012 added a button with "Edit Metadata" functionality, but that's not available for SE 2009

Not through inline editing. You can of course open the Page editing popup and edit the metadata there.

Of course if you want to edit fields of the Component that you've linked in Page Metadata, you can just render out that Component Presentation into the HTML and mark it with the correct SiteEdit commands as Nuno suggests.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top