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

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

refael

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.
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Back
Top Bottom