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

Forums / Bugs & Issues / Share Content in Sitefinity Page Templates

Share Content in Sitefinity Page Templates

6 posts, 0 answered
  1. Samir Vaidya
    Samir Vaidya avatar
    261 posts
    Registered:
    05 Feb 2005
    22 Jul 2012
    Link to this post
    In Sitefinity v. 3.7x, I could create Shared Content and then use that in a Page Template.

    However, I have not seen this feature/capability in any release of Sitefinity v. 4.x or Sitefinity v. 5.x.  

    This was an extremely useful feature since I could simply place it once on a Page Template (such as Address Information or a Footer etc.) and it would automatically be inherited in all of my pages.

    The current method of using Shared Content is very cumbersome since it requires placing the Shared Content block on all pages, even for something as simple as a footer.  

    The only way I have been able to get around it right now has been to build the functionality as a custom widget and then place it on my Page Template.  

    But considering this is pretty much wasted development effort, it would be much better if Sitefinity simply brought back the Shared Content capabilities for Page Templates.
  2. Lee
    Lee avatar
    6 posts
    Registered:
    31 Dec 2007
    24 Jul 2012
    Link to this post
    I agree. For a site that has a handful of templates this creates a lot of extra work and code duplication. Is there an alternative to using shared content in templates that I am unaware of?
  3. Corby
    Corby avatar
    48 posts
    Registered:
    19 Sep 2011
    25 Jul 2012
    Link to this post
    Just adding to the discussion, I'd like to see this brought back as well.  I thought I found a workaround here and although it does look like it works initially, it actually doesn't.  When I edit a shared piece of content from a page, it states that it is going to update the content block shared across the board but then it returns a zero and doesn't actually save the change. 
  4. Lee
    Lee avatar
    6 posts
    Registered:
    31 Dec 2007
    26 Jul 2012
    Link to this post
    Hmmm... yes I tried the workaround and thought it worked as well, until I had to update a shared content item. It appears to be updated but the site does not appear to reflect the changes. Also, the other templates do not reflect the changes.

    Seriously, does anyone have a solution to this? I really just want to use my own MasterPages and define my own contentplaceholders without using the whole template builder thing. Am I totally missing something?
  5. Sharlyne
    Sharlyne avatar
    30 posts
    Registered:
    14 Aug 2008
    02 Apr 2013
    Link to this post
    I just stumbled upon this as I am searching for the answer as well. I am using 5.2 and there is a "shared content" as there was in 3.7. You find it under Content - Content Blocks. Through some testing and reading the documentation, it seems like you can only use shared content at the page level and not at the template level like we were able to in 3.7. Telerik, you should really bring this back! It was a nice feature to be able to use shared content at the template level for setting up footer information etc. 
  6. Markus
    Markus avatar
    2763 posts
    Registered:
    25 Nov 2005
    03 Apr 2013 in reply to Sharlyne
    Link to this post
    Dear Sharlyne

    Your wish has been granted :-)

    The feature is back since version 5.3 http://www.telerik.com/versionnotes.aspx?id=3101 

    Markus

6 posts, 0 answered