pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3131 posts · 12 topics · 1012 reputation
Badges
Recent posts
-
How to correctly defer Plugin Javascript
· 7 years ago
@hoernerfranz, You can also add the 'defer' attribute to the code outputting the javascript: {{ assets.js('bottom', {'loading': 'defer'}) }} This will output the following code for all scripts grouped
-
Can't make AJAX call execute in a simple contact form
· 7 years ago
@01K, Not sure what you mean with your display template remark... As you can see in the folder structure, the names of the files are 'form.md'. This already tells Grav that the template to be used is
-
How to correctly defer Plugin Javascript
· 7 years ago
@hoernerfranz, thanks for the info. It doesn't seem to be the whole picture though. The plugin 'featherlight' is being referred to in your errors and I don't see it in your code blocks. Also, some ins
-
How to correctly defer Plugin Javascript
· 7 years ago
@hoernerfranz, There is not much info given in your question to ponder upon... I think it would help if you could share the code for adding javascript ({% block javascripts %}) and outputting javascr
-
Can't make AJAX call execute in a simple contact form
· 7 years ago
@01K, I'm not a form user, but did some digging for you... A few chapters in the documentation are of interest: How to: Forms in modular pages How to: Ajax Submission After a bit of reading and sor
-
DevelopersHub.io or learn.getgrav.org like / Built on projects documentation
· 7 years ago
@sInk626_Aerdir, The site learn.getgrav.org has been build with the theme Learn2.
-
Need help to utilize the Owl Carousel shortcode plugin
· 7 years ago
@01K, That is because the size of the <div> containing the background image, doesn't determine its size based on the image, but on the title and paragraph inside the div. Alternatives: Easiest:
-
Need help to utilize the Owl Carousel shortcode plugin
· 7 years ago
@leG, Starting from a fresh installed One-Page skeleton, I did the following: Installed the Owl Carousel plugin using bin/gpm install shortcode-owl-carousel Copied image '/user/pages/01.home/03._call
-
Need help to utilize the Owl Carousel shortcode plugin
· 7 years ago
@01K According the documentation of the 'shortcode-core' plugin, shortcodes can be used inside Twig. The following is a sample for embedding the Owl Carousel inside a *.html.twig template. {% set caro
-
Need help to utilize the Owl Carousel shortcode plugin
· 7 years ago
@01K, The sample code I showed is the content of a *.md page file (in your case probably '_showcase.md'), not a Twig template file (in your case modular/showcase.html.twig).