Skip to content
Grav 2.0 is officially stable. Read the announcement →

Werner Joss Regular

@hoernerfranz · Joined 7 years ago · 224 posts · 14 topics · 49 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • How to correctly defer Plugin Javascript · 7 years ago

    @pamtbaau, thank yo very much for this brief explanation, which enabled me to achieve what I was looking for. from reading the Asset Manager Docs it was not clear for me which options and/or syntax to

  • How to correctly defer Plugin Javascript · 7 years ago

    @pamtbaau, thanks again for your comments. and yes, you are right with your comments #1 and #3, that was also what I supposed is happening. as for #2, I'm not sure if I understand that right. does tha

  • How to correctly defer Plugin Javascript · 7 years ago

    ok, I tried that, pagespeed is ok then, but none of my plugin's javascript is then loaded, so no surprise better pagespeed :D . in addition, to my understanding this code: {% block assets deferred %}

  • How to correctly defer Plugin Javascript · 7 years ago

    @pamtbaau, thanks for the hints, much appreciated. and, yes, I already found the menioned blog article on async and defer. as for the plugin featherlight, yes, I'm using this, but did not include its

  • How to correctly defer Plugin Javascript · 7 years ago

    no problem, here is the relevant part of my base.html.twig: {% block javascripts %} {% do assets.addJs('jquery', 101) %} {% do assets.addJs('theme://js/jquery.treemenu.js', {group:'bottom'}) %

  • How to correctly defer Plugin Javascript · 7 years ago

    I'm currently trying to improve my site's google page speed ranking, following the advice in the asset manager docs . I have set up my theme's base.html.twig as described there (block assets deferred)

  • Quark Open Publishing: Top level drop-down menu, how to make 'non-clickable' · 7 years ago

    Hi Joel, welcome to the grav community 😃 you should be able to achieve what you want by applying some CSS to your top-level menu. pointer-events would be the hint . also note, when changing your theme

  • Change theme automatically for mobile and desktop · 7 years ago

    Maybe there was just no code behind the : in the mentioned post ? 😀 Anyway, I think it should be possible with the given hint. Just try an event Hook like this which is fired just before the theme is

  • How to access Grav on Raspberry Pi · 7 years ago

    are you sure your grav install is on the web root (e.g. /var/www) of the apache server ? your first ls -l seems to show the content of /home/pi or anything like that...

  • Blog - Article to PDF · 7 years ago

    did you already have a look at snappygrav ? (I did not use this yet, but at a first glance, it might just do what you wish...)