Multi templates in the Subrion.

Discussion in 'Subrion CMS Packages Discussions' started by olairmarcos, Mar 28, 2016.

  1. olairmarcos

    olairmarcos Member

    Is it possible to load a template previously installed in the folder templates of the package?
    So. There the template in the folder (templates) of the package, the system will load the existing template in the template folder of the package and not the default site template.

    When we access the root, then the system loads the default site template.

    In this way we have a specific template for each package installed on the site.

    If you had a way to manage and enable or disable the template inside the own package configuration panel. It will be good.

    Example: We install the template cars inside the folder (templates) in the autos package. When access the menu, the system loads the cars templates and not the default site template.
    We install the template house inside the folder (templates) in the realestates package. When access the menu, the system loads the house templates and not the default (kickstart) site template.

    One suggestion for future versions of Subrion.
    Thanks.
    Last edited: Mar 28, 2016
  2. Vasily_B.

    Vasily_B. Project Manager

    Hi

    Thanks for your suggestion.
    I don't think we will implement this. There are too many arguable points here. Actually most of our users tend to have similar design for all their packages, rather have different one for each of the packages. And this is something we already have in our system, there is an easy way to override default package templates with the ones, placed in packages/ folder of a template you use.

    One of the points is to identify which pages should use houses template, for example. What design should be applied to blocks, etc. It would add more confusion to the developer rather sensitive value in terms of template development.

    Thanks
    Andrew_G. likes this.

Share This Page