Uikit how to work with out internet connection


(Scott Steven) #1

Uikit when not on line has a blank screen, I have to actually publish to a LAN with no internet.
The theme seems to be calling out to google for jquery I need to override this with a local copy of query. I have grabbed the copy that the theme calls out to and put it in the Resources Folder. I need to override the one in the theme. @Lucas

This is the issue I think

I think I need to have something along the lines of

This works if I hand edit a file but I want to override the project file.

where do i put this in RW to override the online or am ai going to have to hand code each page


(Lucas Tsolakian) #2

I cannot reproduce this one, it works for me on and offline.

UIkit needs jQuery but it’s called from Stacks, not from the theme template or any of the UIkit stacks. Note that you can always use the resources to call a specific version of jQuery, this is not something I would recommend but here it goes…example (this goes in the custom header):

<script src="%resource(jquery.min.js)%"></script>


(Scott Steven) #3

Still blank screen unless I put this in the wrong place


(Scott Steven) #4

Or maybe I have the path wrong I dragged the file into resources in rapid weaver


(Adam Shiver) #5

UIkit needs jQuery but it’s called from Stacks, not from the theme template or any of the UIkit stacks. Note that you can always use the resources to call a specific version of jQuery, this is not something I would recommend but here it goes…example (this goes in the custom header):

<script src="%resource(jquery.min.js)%"></script>

This is not necessary. You can enable jQuery locally in Stacks by disabling this option in the Stacks preferences:

If you’re unfamiliar as to where the Stacks Preferences is found you can click on this icon here to open the Stacks Preferences pane:


Question about MAMP
(Lucas Tsolakian) #6

Thanks Adam @Elixir forgot about that one :cry:


(Scott Steven) #7

Awesome I forgot that was there as well.
I need to make sure its off as it has broken a couple of my sites when jquery updates on line.