I noticed that gallery 3 automatically combine all css and javascript and produce a combined css and javascript file. I know that is very useful because it reduce number of requests for the server.
My question is how can I include a external custom css file or javascript file in a way that gallery will automatically grab it and add its contents to the combined css and javascript file?
Posts: 29
I found the solution for that problem. I put it here because it may be useful for some other people too.
I put my external files in the css and js folders of the theme folder and then called the functions
<?= $theme->css("myexternel.css") ?>
<?= $theme->script("myexternal.js") ?>
in my page.html.php in the wind template and gallery grabs the contents of the my external css, javascript file and put in combined css, js files.