1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest Apply the "public:" prefix for including public templates in admin panel

Discussion in 'Closed Suggestions' started by rellect, Jul 19, 2014.

  1. rellect

    rellect Well-Known Member

    Currently the "public:" prefix works only when you include css.
    For example:
    HTML:
    <xen:require css="public:thread_prefixes.css" />
    This can be useful for templates as well.
    As an example, when I need to write javascript code, but it's not too long, I prefer to load it inline instead in a file. I write it into a template and then include that in site. So being able to reuse that in admins could be useful, currently I need to re-create the same template in the admin templates, and maintain the same code twice.
     

Share This Page