Microsoft Content Management Server - Changing templates

This is Interesting: Free IT Magazines  
Home > Archive > Microsoft Content Management Server > August 2004 > Changing templates





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 templates
Michael

2004-08-20, 2:49 am

CMS2002...

Is it possible to change templates once you have choosen a template.
Or must you actually recreate the page with the desire template?
Angus Logan

2004-08-20, 2:49 am

By change do you mean select another posting definition or alter the
placeholder definition?

If you want to select a new template you will need to recreate the posting:
- you could script this using PAPI to load the posting, and create a new
posting copying the data into the new placeholders.

Regards

--
________________________________________


Angus Logan (MCAD/MCDBA/MCP)
Lead Software Developer
Microsoft Application Solutions
Data#3 Limited
E angus_logan@data3.com.au
BLOG www.anguslogan.com
________________________________________


"Michael" <king88888@hotmail.com> wrote in message
news:78f36f58.0408192020.dfbd8d8@posting.google.com...
> CMS2002...
>
> Is it possible to change templates once you have choosen a template.
> Or must you actually recreate the page with the desire template?



Stefan [MSFT]

2004-08-20, 2:49 am

Hi Michael,

you would have to recreate the page based on the new template.
If the new template is a connected template of the original one, then just
create a connected page based on the connected template.
This will ensure that the placeholder content is automatically preserved -
but this will only work if you can create the new template from scratch as
connected template and don't have other postings already relying on it.

Cheers,
Stefan

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

MCMS FAQ:
http://download.microsoft.com/downl...6a/MCMS+2002+-+(complete)+FAQ.htm
MCMS Blog: http://blogs.msdn.com/stefan_gossner/category/4983.aspx
MCMS Sample Code:
http://www.gotdotnet.com/community/...t+S
erver

MCMS Whitepapers and other docs:
http://blogs.msdn.com/stefan_gossne...2/07/41859.aspx
--------------------------------


"Michael" <king88888@hotmail.com> wrote in message
news:78f36f58.0408192020.dfbd8d8@posting.google.com...
> CMS2002...
>
> Is it possible to change templates once you have choosen a template.
> Or must you actually recreate the page with the desire template?



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com