Developer forum

Forum » Swift » Custom templates by Area

Custom templates by Area

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,
I have a project where I need to implement a few different websites. Each website has its own branding and its own needs.
The challenge here is to handle customization of the templates while still keeping the Swift v2 approach.
We have identified a few options to handle this scenario; each has its own benefits and downsides.
The ideal scenario is to have a single design folder (Swift V2) with custom templates (where needed) for each website. The thing I don't like very much with this approach is that we will end up with a long list of templates for each paragraph. I was wondering if there is any way of filtering these templates by area. To be more exact, I was wondering if we can use a naming convention, adding the Area number as the start of the template name, and filter the list before loading the item type interface for the admin.  I have not thought about the convention in detail; at this point, I want to know if there is an existing way of handling this scenario with default functionality, and if not, if I can create some code that would filter the list of available templates before rendering the ItemType interface.
Thank you,
Adrian


Replies

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Anybody?

 

You must be logged in to post in the forum