MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

changing a template name of an existing page  (Mono Support )

Viewed 17103 time(s), 4 post(s) 3/11/2011 1:50:00 PMby testmmi
testmmi

testmmi

3/11/2011 1:50:01 PM
Hi, is it possible to change the template name of an existing page. There is no box to select another template like when i create a new page.
</br>beste regards
</br>Markus
</br>
This content has not been rated yet. 
93 Reputation 11 Total posts
imarusic

imarusic

3/11/2011 4:36:57 PM
Hi testmmi,

as Denis wrote, you can do it by choosing a different master page or a theme. There are two ways to achive that:

1. Dynamically:

change the master page or theme (in page properties, see the attach-monoxSupport.png) of your existing page.

Please note that if you change the Master page/Theme this way, MasterPageFile/Theme in markup will not be changed, those changes will be saved in the
database.

2. Through Markup

you just need to specify a new master page file or theme

e.g.
  MasterPageFile="/YourSite/MasterPages/YourMasterPage.master"
  Theme="YourTheme"


Regards,
Ivan Marusic
This content has not been rated yet. 
3016 Reputation 428 Total posts
denis

denis

3/11/2011 4:07:22 PM
Hi Markus,
I was under the impression that this was not possible, but it is - template is actually composed of a theme and a master page. Although you don't have the option to choose the new template page, you have the fields for theme and master page (which are stored in a template page). We will send more instructions soon.
This content has not been rated yet. 
7207 Reputation 956 Total posts
testmmi

testmmi

3/14/2011 8:07:03 AM
Many thanks for your answers!
This content has not been rated yet. 
93 Reputation 11 Total posts