Tutorial Subrion 4.1.0 extensions changes

Discussion in 'Subrion CMS Plugins Discussion' started by Vasily_B., Feb 24, 2017.

  1. Vasily_B.

    Vasily_B. Project Manager

    Greetings,

    Finally Subrion CMS 4.1.0 is available for downloads and we have a lot of changes related to plugins, packages, & templates functionality. They are a good base for future development, and in this post I will try to cover them all.


    General changes

    * packages, plugins, & templates now use the same processor class
    * extensions install.xml changes.

    Files structure changes:

    * Since Subrion 4.1 all plugins & packages should be placed in common folder called modules
    * As you know we have templates overrides feature, that allows to use custom tpl files specific to a template.
    So here is the example structure with a package called examplepackage, plugin called exampleplugin and template called exampletemplate

    Code (Text):

    ...
    modules/
      modules/examplepackage/
      modules/exampleplugin/
    templates/
      _common/
      exampletemplate/
        modules/
          examplepackage/
          exampleplugin/
    ...
     
    We will update this thread soon with more details.

    Thanks
    alincgrigoras and olairmarcos like this.

Share This Page