Web Connection
Default templates script tags missing tilde in path
Rick -
In _pagefootertemplate.html there are a few script tags..
<script src="lib/jquery/dist/jquery.min.js"></script>
<script src="scripts/ww.jquery.min.js"></script>
<!-- add these only if you use Bootstrap dropdowns or modals -->
<script src="lib/popper.js/dist/popper.min.js"></script>
<script src="lib/bootstrap/dist/js/bootstrap.min.js"></script>
Should these be prefixed with "~/" like the CSS links in the _pageheadertemplate.html file?
The _pagetemplate.html has different links..
<script src="../lib/jquery/dist/jquery.min.js"></script>
<script src="../scripts/ww.jquery.min.js"></script>
<!-- add these only if you use Bootstrap dropdowns or modals -->
<script src="../lib/popper.js/dist/popper.min.js"></script>
<script src="../lib/bootstrap/dist/js/bootstrap.min.js"></script>
Edit : The ../ links in _pagetemplate.html are definitely wrong - they don't load unless changed to start with "lib/" or "~/lib/".
- Mike McDonald
They all should have ~/
links.
Checking my templates I had _PageFooter.html
that had the ~
missing, but I have no templates with ../
.
The only file that should have ..\
is Admin.aspx
because it's not running through the Web Connection engine and doesn't auto-expand ~/
Urls.
I've updated the footer page.
+++ Rick ---