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

Forums / Suggestions / Change templates for all pages

Change templates for all pages

15 posts, 0 answered
  1. Bob Howard
    Bob Howard avatar
    22 posts
    Registered:
    06 Jan 2008
    09 Jan 2008
    Link to this post
    It would be nice to have a feature where you can change the templates for or some of the pages in a convenient area.  Also, there should be a way to default all the pages to the default template.
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    28 Oct 2016
    10 Jan 2008
    Link to this post
    Hello Bob,

    You can change the template for each page when you are in Edit mode of the corresponding page. Or, did you mean a separate section for changing the page templates?

    Regarding your second suggestion for the default page template, we will take it into consideration for future versions of Sitefinity.

    Thanks for your involvement.

    All the best,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Kevin Pipher
    Kevin Pipher avatar
    91 posts
    Registered:
    30 Nov 2005
    14 Jan 2008
    Link to this post
    Not to hijack this thread, but to add to Bob's thought on defaulting templates, I would like to see the ability to set default controls within each template.

    We've recently created a template in which there are 10 different cells in which controls can be added. 95% of the time, it is the same set of controls for each cell, but right now if a user creates a new page using this template, they have to drag and drop 10 controls onto the page.

    Just another suggestion.

    Kevin
  4. Tihomir
    Tihomir avatar
    53 posts
    Registered:
    24 Sep 2012
    15 Jan 2008
    Link to this post
    Hello Kevin,

    You can edit templates in Sitefinity similarly to the way you do it with pages. You can drag and drop controls from the toolbox onto the ContentPlaceHolder's which you have defined in your master page prior to uploading it to Sitefinity. Then, when you go to edit a page which uses this template, you will see the controls that you placed in your template and this is how you won't need to place these controls again and again in each page.

    Excuse me if I misunderstood you!

    Hope this helps.

    Kind regards,
    Tihomir
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Kevin Pipher
    Kevin Pipher avatar
    91 posts
    Registered:
    30 Nov 2005
    15 Jan 2008
    Link to this post
    Hi Tihomir,

    Yes I understand that we can add controls to the templates we create in sitefinity, however these controls are then shared (common) to all pages that use the template, and are also not directly editable by the user.  What I was referring to in my previous post was that we'd like the ability to define what default controls are on the page when someone creates it.

    For example, We could create a page template which has 2 cells generally used for text (generic content control), and 1 cell generally used for images (image control). In this case I'd like the ability to define in the template, the controls that are default. That way, when the user creates a page and selects the template, it would automatically have 2 empty Generic Content controls and 1 empty Image control on the page, which are ready to edit.

    It's almost like guidance for the users. They create a page and select a template and they immediately know why type of information should be on the page, based on the default controls. They can always add more controls or even remove the default ones.

    In our case, we have several pages with many content place holders so users have to drag and drop alot of controls. The type of controls they drag on the page are always the same (Generic Content and 1 custom control), so it would save them time to have them automatically on the page for the given template.

    I hope this clarifies my suggestion.

    Thanks!
    Kevin
  6. Tihomir
    Tihomir avatar
    53 posts
    Registered:
    24 Sep 2012
    15 Jan 2008
    Link to this post
    Hi Kevin,

    Please excuse me for misunderstanding what you meant the first time.

    We will discuss implementing this feature as it sounds intriguing in some of our future releases but we cannot commit to a time frame yet.

    Best wishes,
    Tihomir
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  7. Andreas
    Andreas avatar
    49 posts
    Registered:
    29 Dec 2007
    22 Jan 2008
    Link to this post
    This is something that I've been thinking about as well. Something that could work is if you at template level could select whether you want the control you added to be editable on page level or not.  By default it would work like today, where controls on template level only are editable there and not on page level.

    Being able to add the generic content and/or image control that many/most pages consist of on template level and have users fill in the actual content on page level would be a huge upgrade in productivity when building websites.

    While it might go against the general idea not to decide exactly what content should be added where on page level, keeping it optional would ensure that policy isnt abused.

    //Andreas
  8. Andreas
    Andreas avatar
    49 posts
    Registered:
    29 Dec 2007
    22 Jan 2008
    Link to this post
    Previous discussion got me thinking of something else while I was working on a new site. I'm trying to keep my masterpages very general and prefer to have much of the design (such as images) specified in the admin interface (via the template) as opposed to in the masterpage.

    The problem Im currently experiencing though is that when adding new controls to pages I often have quite a long list to select my contentplaceholder from (and long names arent always visible). Depending on the page, many or most of those placeholders are filled with controls at template level and shouldnt be touched when editing or creating a new page.

    What would work great for me(!) is to decide in the template what placeholders should be visible at page level in the admin interface. Basically limiting where users can insert controls into the page at page level.

    Added (or not) with the functionality to add controls at template level that should be editable at page level I think it would really simplify page creation/modification.

    Just had to get that out before I forgot it. :)

    //Andreas
  9. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    23 Jan 2008
    Link to this post
    Hello Andreas,

    Thank you for sharing your suggestions with us.

    However, regarding the first one, we believe that changing the predefined style at page level goes quite against the logic of having master pages and templates associated to them. The idea is to assign a template to a given page so that to ensure that this page assumes the exact look and feel of the template - thus providing unification of styles.

    As to setting in the template which content placeholders should be visible and editable on page level - we believe this is an interesting idea and will discuss it for future implementation. Your Telerik account has been updated.


    Best wishes,
    Sonya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  10. Andreas
    Andreas avatar
    49 posts
    Registered:
    29 Dec 2007
    23 Jan 2008
    Link to this post

    Thanks for your reply regarding these suggestions. I think that I was misunderstood regarding the first suggestion though (not that I was very clear in my explainations).

    What I meant was basically the functionality to add, lets say a Generic Content control, in the template and then mark it as "editable" at page level. So when you enter "Edit" mode on a page the Generic Content control would turn up (even tho it was added at the template) and you could then procede to edit the actual content of the Generic Content control.

    The way it is now you have to add the Generic Content control before you could actually type in your content for the page so it was basically just this step I wanted to work around. In no way would it interfer with how the page is actually displayed, but rather the opposite.

    //Andreas

  11. Sonya
    Sonya avatar
    231 posts
    Registered:
    24 Sep 2012
    23 Jan 2008
    Link to this post
    Hi Andreas,

    Unfortunately, editing even the content of a control in the template is considered editing the template itself, and is thus avoided by design. Again, it is considered that if you place a control and its content in a template, you would like all pages using the template to have that specific control and that specific content. We understand such functionality would be useful to you but, unfortunately, we could not offer it. We really hope this would not seriously hinder your work.

    Sincerely yours,
    Sonya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  12. Andreas
    Andreas avatar
    49 posts
    Registered:
    29 Dec 2007
    23 Jan 2008
    Link to this post
    Yea now that you put it that way it I can see how it would be messed up. Thanks for explaining things. :) I got another idea regarding this but I need to test it out a bit first.

    //Andreas
  13. Michael
    Michael avatar
    12 posts
    Registered:
    13 Oct 2008
    26 Feb 2009
    Link to this post
    Andreas,

    We too are wanting to accomplish something similar to adding editable controls in our templates.

    I was wondering if you've been able to figure something out?

    Michael
  14. NEX
    NEX avatar
    25 posts
    Registered:
    14 Aug 2007
    08 Jul 2009
    Link to this post
    Was the ability to add user controls and make them act as the default control for that template ever implemented.  This way when a user creates a page it is already populated with these controls but not any content?
  15. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    09 Jul 2009
    Link to this post
    Hi Alfred Pena,

    The required functionality has not been implemented yet. Possible option could be using several templates with different controls in them. The concept is that the controls in the master page cannot be modified( they are common for multiple pages) in page edit mode and you work only with a page controls.

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
15 posts, 0 answered