Taking the example of an Image Control, there is a big difference conceptually with adding an Image Control to a ContentPlaceHolder in a template AND setting it's image to ONLY adding the Image Control without setting it's image. If I set the image then of course I want all pages who use this template to have this image and not be able to update it. However, conceptually, if I don't set the image on the image control then I would want the image control to be editable on all pages that use this template. This seems like a completely reasonable way to do things.
However I think by your comment "If the controls are added to the master page they cannot be edited in page edit mode
." that what I am talking about is impossible to achieve? Please confirm this.
Our goal is to create several templates that would each have different specific controls available to edit from the Page, so that a uniform look would be easier achieved in the content area. We don't want the user to have to come up with their own specific controls every time they create a new page and choose a specific template. So as a simple example, Template1 would look like this:
Template2, Template3, etc would be a variation of the above. So if a user creates a new page and assocites Template1 to it, then they would have this neat predefined controls that they could populate with some different text and images. This would keep all the pages using Template1 to have a similiar order and feel.
I looked at the the link you provided "predefined template pages.
" and tested it, but I'm not sure how this could be a pratical solution. It does place an editable generic content control in the specified contentplaceholder, but using that pages example, when a new page is created it automatically selects the "Default" Template. I'm not sure how you would implement this dynamically when you have multiple template possibilities. How could the user slect the template they want for the page they are creating?
I was thinking that if nothing else works, I hope we can create a custom control to help the users add content in a more controlled way. Using the Template1 example above, can we create a custom control that would encapsulate:
<GenericContent control> // for a Title
<Image control> // for an image
<GenericContent control> // for some html Text
So that the user can drag this custom control when creating/editing Pages. They would drag it into a contentplaceholder, then click edit, a window would pop up where they can add the "Title" in a textbox, add an image the same way as if they dragged a sitefinity image control and add the "Text" via a generic content box. This way we can tell
the users to drag specific custom controls for specific pages depending what template they want, which would help keep the "similiar order and feel" that we are trying to achieve, since they would be using the same controls rendered and wrapped the way the custom control dictates. If this is possible can you point me in the right direction. I have looked at pages such as http://www.sitefinity.com/help/developer-manual/extending-built-in-controls-example--extending-content-view-control.html but they seem incomplete or have some errors. For example, that link refers to folders and files that do not exist.
Appreciate any help and sorry for the loooooong post, but we are at a critical point in deciding what we can and can't do and I wanted to be as clear as I could.