Hey everyone!
I am trying to set up my first website with processwire and bootstrap, but I am facing a little problem:
My template file includes a _footer.inc at the end of the page.
In the _footer.inc there is a line that says:
<script src="<?php echo $config->urls->templates?>assets/js/docs.min.js"></script>
Up to here, everything works great thanks to <?php echo $config->urls->templates?>
But, the docs.min.js file has another path in it:
moviePath:"/assets/flash/ZeroClipboard.swf"
What results in:
domain.de/repair/assets/flash/ZeroClipboard.swf not found (404)
because the file in in fact stored in
domain.de/site/templates/assets/flash/ZeroClipboard.swf
Is there any easy way to config e.g. processwire, to tell it that all the files are stored in the template folder?
Btw.: I don't want to write the full path in the source-file, thats a bit ugly i think.
Thank you very very much in advance!