Nice work with Bolt.
1. I tried to add additional js/css library, namely Jquery UI to _header.twig locally and also externally using Jquery CDN. Header points accurately to files when rendered, yet no Jquery UI widget (i.e accordion) is being displayed. Am I missing something? (noticed in documentation/credits page says some parts of JqueryUI had been used)
- Code: Select all
<script src="{{ paths.theme }}js/jquery-ui-1.9.1.custom.min.js"></script>
- Code: Select all
<link rel="stylesheet" href="{{ paths.theme }}css/jquery-ui-1.9.1.custom.min.css"/>
2. When calling external/CDN library, what is the proper way to reference an external file and does it make any difference, using only // as in case with the code below, or http://?
- Code: Select all
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
3. I noticed you added Skeleton Boilerplate to your home page. Was it just matter of adding library to your css and referencing it in header or additional steps are required. It is located in themes folder. On the other hand when in documentation section of the site all the JS/CSS files are in /view/ folder. I assume documentation files are new contenttype or other source.
- Code: Select all
<link rel="stylesheet" href="/theme/boltsite/css/skeleton.css">
- Code: Select all
<link rel="stylesheet" href="/view/css/skeleton.css">
Thanks and cheers from Toronto
Goran