Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Convert new page to Ad-Hoc template View modes: 
User avatar
Member
Member
marco-p - 7/27/2011 2:38:21 AM
   
Convert new page to Ad-Hoc template
HI,
is it possible to convert automatically a new page to an ad-hoc template while I'm creating it, and not only after the creation?
I need to create ad-hoc template starting from an existing template with some of my web -parts, and not with a blank page.

Thanks in advance.

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 7/27/2011 4:01:25 AM
   
RE:Convert new page to Ad-Hoc template
Hi,

Yes, you can use custom handler to handle the tree node event and add there the code for cloning page templates. You can find it in ~/CMSModules/Content/CMSDesk/Properties/Template.aspx.cs file in the btnClone_Click event.

Best regards,
Ivana Tomanickova