2

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

3

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 '14 at 14:32
  • 1
    Indeed. 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. – Peter Kjaer Jan 14 '14 at 15:08
  • 1
    Ah - 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? – Will Price Jan 14 '14 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. – Miguel Jan 14 '14 at 16:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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