ASPX templates
Version 4.x > ASPX templates > How to create template from existing website page and use it in my website View modes: 
User avatar
Member
Member
naveenb-rofous - 12/7/2009 7:40:14 AM
   
How to create template from existing website page and use it in my website
Hi All,

I had a web application and all pages are properly developed but they are not using Kentico CMS concept.Now I want to make some content in few pages as editable. How Can I do this can any one help me out to solve my issue. Please give me some Idea how to get this to be done.

how I could do so to use my existing web page as a template page of Kentico CMS web page and just add some editable section in that and How to use that new cms template in my web application.

Please provide me support on this point.

Thanks in advance.

Regards,
Naveen.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 12/8/2009 3:08:45 AM
   
RE:How to create template from existing website page and use it in my website
Hi Naveen,

could you please study this article? http://devnet.kentico.com/docs/devguide/index.html?creating_a_new_aspx_page_template.htm

You change the class inheritance of your current templates to inherit from TemplatePage.

Then you register the template in Site manager -> Development -> Page templates

You add the editable region to your template like this:

<cc1:CMSEditableRegion ID="txtLeft" runat="server" DialogHeight="400" RegionType="HtmlEditor" RegionTitle="Left column" />

The sample code is in the mentioned article.

Best regards,
Helena Grulichova


User avatar
Member
Member
samuelmalpass-gmail - 9/21/2012 3:52:59 AM
   
RE:How to create template from existing website page and use it in my website
Hi,

I see you may be the person to ask regarding CMS integration with existing sites.

I'm running an evaluation of Kentico 7

My company currently have a site that produces countless articles and press releases.

The site is already built in ASP.net and we use Visual Studio 2010 with VB controls.
I have seen the suggestions on what are the best ways to add the Kentico CMS functionality to existing .net sites but I was wondering if you could guide me further?

The website is a two column layout and my wish is to keep the header, top navigation and footer separate from the CMS. Ideally we would like to include all the kentico CMS functions within a 'contentplaceholder' in visual studio, allowing the editors to simply log on and create article pages using all the editable regions placed within the zones that sit between the header, nav and footer.

Our developers have created controls in vb - could these be made into Webparts and used in the zones?

What are the steps that should be taken?

Thanks
Sam

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 9/22/2012 5:22:05 AM
   
RE:How to create template from existing website page and use it in my website
Hi Sam,

Footer, Header, etc., whole layout is defined in the master page template so you can customize it on your own. So I recommend you to convert you site completely into Kentico CMS which also save your time in the future... everything at one place.

Yes, controls could be made into WebParts, you can read more about it in the DevGuide - Developing web parts.

But you can also use a lot of built-in WebParts of the Kentico CMS. E.g. Users permissions, log-in, log-out, whole CMSDesk layout, properties and a lot of more!

Best regards,
Martin Danko

User avatar
Member
Member
annaharris170-gmail - 5/6/2013 8:13:51 AM
   
RE:How to create template from existing website page and use it in my website
Are these templates from your existing website does belong to any CMS ?

User avatar
Kentico Support
Kentico Support
kentico_filipl - 5/6/2013 8:47:59 AM
   
RE:How to create template from existing website page and use it in my website
Hello Anna,

Please take a look at the responses in this thread. The original problem has already been solved so there is no need to investigate further. Additionally, the topic is almost 4 years old.

Best regards,
Filip Ligac