I have multiple templates which differs with each other only by few containers. The most complex one contains superset of all containers used in all other one thus to avoid creating multiple templates I created the most complex one in following format some layout stuff (div and all)
defining nested insert for each container and content.
Now in client template based on what is needed I turn off container which is not needed as
else if container is needed, just define content as doSomething
Please let me know if you guys see any issues with this approach, any potential problem or alternate approach for similar scenario.
thanks a lot.
Maddy