Teacher, if the static resources are separated in the framework, how to set the path? Can the path constant be used directly in the template? I tried creating a static folder and then defining a STATIC constant, but when using it in the template STATIC constant path has no effect....
Template constants are implemented through string replacement. You can use str_replace to make a replacement before outputting to the browser.