11 Jul 2005
07 Jul 2008
Link to this post
I'm trying to create a version of an existing page. Here is some sample code:
CmsManager cmsManager = new CmsManager();
ICmsPage cmsPage = (ICmsPage)cmsManager.GetPage(pageID, true);
The code above will create a new version of an existing page, but when I navigate to that page, I'll get a "No template has been selected.". Isn't the method CopyFromLanguage supposed to copy template, theme, and controls?
Some sample code to create a version of an existing page would be much welcomed. Thanks.