Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Custom HTML, CSS and JS
· 10 years ago
One further thing to note: enclosing your script in an "iife" wrapper definitely seems to be needed for the script to run.
-
Custom HTML, CSS and JS
· 10 years ago
One of the use cases you mention above is to include your widget in a page. I've had quite good experiences using the Grav assets plugin. This plugin allows the insertion of .css and .js files to be r
-
Custom HTML, CSS and JS
· 10 years ago
I'm sorry, I don't quite understand. Where does {{ assets.css() }} go? At the end of the file? All of the js and css it called in the html, as per usual. Also, what do the numbers 110 and 109 signify?
-
Custom HTML, CSS and JS
· 10 years ago
Hi, Make sure you also add {{ assets.css() }} where you want your code to be processed. Example: {% do assets.add('theme://css/custom.css', 110) %} {% do assets.add('theme://css/color.css', 109) %}
-
Custom HTML, CSS and JS
· 10 years ago
I've made a little stock ticker tool that shows a company's stock price, market share, price change, etc. I have a simple html snippet that displays the information, a CSS file to style it, and two js
-
Mysterious 404 /undefined
· 10 years ago
Excellent! Thanks a lot! I had a script that called for a background image, and it was set to output undefined if the file was not found. Solved! Thanks!
-
Mysterious 404 /undefined
· 10 years ago
That explains it, the background-image set for .main-header is not correctly parsed by Twig. How are you setting this variable?
-
Mysterious 404 /undefined
· 10 years ago
firefox has found this in line 7, I hope you have help ... Schermata del 2016-05-21 18:54:04
-
Mysterious 404 /undefined
· 10 years ago
It appears something is being included which does not exist, thus it redirects to an undefined source. Have you checked that all asset-references are ok?
-
Mysterious 404 /undefined
· 10 years ago
Hi! I built my personal website using Grav ( www.paulmassendari.com) and I have a mysterious console error on every page: a request for 'www.paulmassendari.com/undefined' I don't understand what exact