Microsoft Content Management Server - Changing homepage template

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > August 2006 > Changing homepage template





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Changing homepage template
TomS

2006-08-21, 1:24 pm

We want to change the homepage of one of our sites so that it uses a
different template. Is there a simple way of doing this, or do I have to
create a new version of the site using the new homepage template and copy the
content across?
Kyle

2006-08-21, 1:24 pm

I had to do this before - it's probaly not the best way but it worked for me.
1. Copied the HTML form the placeholders of the existing homepage.
2. Created a new homepage template ASPX file.
3. In the MCMS Template Explorer, pointed the homepage TemplateFile Property
to the new homepage template file.
4. Pasted the old HTML into the new placeholders.
I also had to make sure the new template file was in the same virtual
directory as the old file.

"TomS" wrote:

> We want to change the homepage of one of our sites so that it uses a
> different template. Is there a simple way of doing this, or do I have to
> create a new version of the site using the new homepage template and copy the
> content across?

Stefan [MSFT]

2006-08-23, 1:22 pm

Hi Kyle,

that is the correct way to do this - or to use a script that does it.

Cheers,
Stefan

--
This posting is provided "AS IS" with no warranties, and confers no rights


"Kyle" <Kyle@discussions.microsoft.com> wrote in message
news:DBC93FC3-9ECD-46BE-8A41-0A091A8EE250@microsoft.com...[vbcol=seagreen]
>I had to do this before - it's probaly not the best way but it worked for
>me.
> 1. Copied the HTML form the placeholders of the existing homepage.
> 2. Created a new homepage template ASPX file.
> 3. In the MCMS Template Explorer, pointed the homepage TemplateFile
> Property
> to the new homepage template file.
> 4. Pasted the old HTML into the new placeholders.
> I also had to make sure the new template file was in the same virtual
> directory as the old file.
>
> "TomS" wrote:
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com