PDA

View Full Version : External Files Question



Brian Jester
December 16, 2017, 02:28 PM
Hello,

Can someone tell me what is the correct path to specify to my external files? Ex: I am adding a javascript that has it's own css and js files, I have the script on my page, but their is no style at all to it, which means my path is incorrect. I have put the css and javascript files in the corresponding folders, and I am using /css/mycss.css or /js/myjs.js as the path to the files but that doesn't seem to do the trick.

Edit::: I am using the full path: Ex: http://localhost/flynax/templates/general_wide/css/file.css for it to work. But is there is a different approach to the smarty template system, ex: I have seen a path in the content.tpl that was in { }/file but wasn't too sure about using that until I asked first.

Thank you
Brian