kentico_helenag
-
10/31/2008 9:14:50 AM
RE:how to add a ready made templete to CMS
Hi Wassim,
thank you for the better description of your issue.
You could use our API – our API Reference could be found here: http://devnet.kentico.com/downloads/kenticocms_api.zip
Unfortunately, we have not any custom codes for importing new templates.
You could create an empty PageTemplateInfo (with CMS.Portal Engine.PageTemplateInfo() constructor), assign the needful properties, especially:
CMS.PortalEngine.PageTemplateInfo.FileName
and save it with:
CMS.PortalEngine.PageTemplateInfoProvider.SetPageTemplateInfo(PageTemplateInfo)
Best regards, Helena Grulichova
|