• 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

rellect

Well-known member
#1
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.