+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Inline editor does not work for template content blocks (5.1, 6.1 Sitefinity)

Inline editor does not work for template content blocks (5.1, 6.1 Sitefinity)

4 posts, 0 answered
  1. Tomas
    Tomas avatar
    1 posts
    Registered:
    15 Feb 2013
    14 Aug 2013
    Link to this post
    Hi,

    To repro:
    1. create new template
    and content block and some text to it
    publish

    Create new page based on just created template
    add content block and some text in it
    publish

    Now you can go to page and both text content blocks are shown. Enable inline editing tools. You can see two edit buttons: one for content block on a page and one for content block on a template. When you edit content block on a page, everything works as expected. But when you try editing content block on a template nothing happens. if you check put response you will see:
    "{"Detail":"Unable to cast object of type 'Telerik.Sitefinity.Pages.Model.TemplateControl' to type 'Telerik.Sitefinity.Pages.Model.PageControl'."}"

    I know that we could use shared content blocks and etc. workarounds, but in a long run this issue will create an unnecessary overhead.

    Thanks
    Tomas
  2. Kaloyan
    Kaloyan avatar
    272 posts
    Registered:
    08 Dec 2016
    19 Aug 2013
    Link to this post
    Hello Tomas,

    I have answered to you in the support ticket you have opened.

    Regards,
    Kaloyan
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Kurren
    Kurren avatar
    23 posts
    Registered:
    08 Jun 2013
    01 Aug 2014 in reply to Kaloyan
    Link to this post

    Hi Kaloyan

     What was the answer?

  4. Kaloyan
    Kaloyan avatar
    272 posts
    Registered:
    08 Dec 2016
    05 Aug 2014
    Link to this post
    Hi Kurren,

    Here is the reply provided in the support ticket:

    By design there is no way to edit a page template using Editing tools. If you edit a content block placed in a template the changes will affect all the pages which using this template. Because of this the only available option to edit a template is to do it in the backend. The actual problem is that the Edit button should not appear when the content block is on the template.

    Keep in mind that this discussion is related with our old implementation of inline editing. 

    Regards,
    Kaloyan
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
4 posts, 0 answered