I have a particular Dynamic Component Template, which should not have inline editing features. I don't have any XPM markup in the CT, and I have unchecked the Enable For Inline Editing checkbox on the CT, however the <span><!-- Start Component Presentation:...
markup is still added by the Enable Inline Editing for Content TBB (this is added by standard to my CT Finish Actions TBB). Did I miss something? I checked the online docs [login required] but it only talks about configuring particular schema fields
1 Answer
I think you should remove the Enable Component Inline Editing
TBB from your Dynamic Template.
-
I think indeed the markup will always be generated. The check-box on the CT is checked at runtime, if you would turn that ON now, it would work immediately because the markup would already exist in the CP. Otherwise you'd have to republish.– Nuno Linhares ♦Jan 14, 2014 at 14:32
-
1Indeed. The TBB checks the render mode and the setting on the Publication Target. It does not check the setting on the TBB - that's done at runtime as you said. Jan 14, 2014 at 15:08
-
1Ah - so the checkboxes do not influence the markup generation, but rather whether the fields appear as editable in XPM - interesting... is this the same for the checkbox on the Page Template? Jan 14, 2014 at 15:24
-
As a sugestion, and if you don't want to remove the Default finish actions in your CT, you can also strip those tags with an additional TBB that is executed after the default finish actions and add that to the CT.– MiguelJan 14, 2014 at 16:31