Comment to 'Custom Variables/Placeholders in _sub_header.html and Injections'
  • Hello Veedoo !

    If you write your own application then custom keys can be added via redeclaration of this method in the child of Template class. For example, for Persons app, it would be written in BxPersonsTemplate.php file.

    About your second question - this isn't clear why you added your own injections via database but not via Studio. It's correct to do it only there.

    • Thank you for the response, LeonidS !
      As far as I understand, I can add custom placeholders for app related views when writing an app.
      But how do I change _sub_header.html processing, if it is processed by core class?
      I tried experimenting with child theme, but had no success yet.
      Regarding injections, could you please describe where can I add them in Studio?
      Thank you