•●♥๑ஐ♥ღ Victoria ღ♥ஐ๑♥●•
-
11/24/2011 10:33:22 AM
Kentico templates – Best practice for modifications
The current website we are developing with Kentico is in ASPX mode. For some pages, such as the FAQ page, it is using the built in document type to display the questions and answers. The issue is that the default FAQ template that ships with Kentico is called, for example, “Q&As – simple list”. This is a template we would like to use, but is in portal mode. Because we have some ASPX templates for our site layout we have to create a new template called “Q&As – simple list – OurSiteName”. This feels redundant as we are finding we are copying a lot of the standard templates just to we can point it to our ASPX templates. The alternative to this is that instead of creating new templates each time, we just modify the default Kentico templates. So instead of making the new template above, we would just change “Q&As – simple list” from portal mode to point to our ASPX template. We are worried though that this might cause issues with future patches or certain functionality that exists in the portal mode to be lost when switching to the ASPX template. Which of these two techniques would be advised? The first feels like it’s introducing a lot of redundant templates, but the second we are overriding the default functionality of Kentico. Which would be the recommended way of setting these up?
|