pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3195 posts · 17 topics · 1020 reputation
Badges
Recent posts
-
Plugins and caching
· 8 years ago
@Perlkonig Looking for an alternative to my previous solution where javascript is embedded in the cached page content. Not sure which one is better, more efficient, or cleaner... TLDR: In GChartShort
-
Questions about custom.css
· 8 years ago
@ityoflaw To answer your questions point by point: Using custom.css is not the default way, but sure is the simplest way. If the theme you are using does use custom.css, it will add custom.css as
-
Plugins and caching
· 8 years ago
@Perlkonig Your plugin is using grav-plugin-shortcode-core to process the shortcode embedded in the page. Inside your GChartShortcode::process() function you call addInlineJS to add Google's charting
-
How to avoid double submit validation for the ajax contact form?
· 8 years ago
@Pavlo In the following solution, you can submit a form, return to the same page with a "Thank you!" message above a cleared form and submit again. Steps I've taken: I used your provided code to cre
-
Themeing taxonomy pages
· 8 years ago
@dcrobertson Yes, my examples were changing the appearance of the page containing a certain tag itself. If you want to change the page that lists the pages with a certain tag and the tag is provided b
-
Themeing taxonomy pages
· 8 years ago
@dcrobertson In your Twig template, you can get the taxonomy assigned to a page using: page.header.taxonomy.mytag Based on that variable you could do al sorts or things to change the layout/style of
-
How to avoid double submit validation for the ajax contact form?
· 8 years ago
@pavlo, Not knowing the code and its configuration options, it is hard to tell... I see a nonce is being used in this form which will probably be tested on submission to prevent resubmission of the sa
-
Plugin fails ever and ever again
· 8 years ago
@Niels It makes me curious about which docs you followed step by step. Would you mind sharing the url?
-
Trouble creating a new theme on MAMP on iMAC
· 8 years ago
@normawhite I don't know the root cause of your issue, but to get you going in the meantime, you might want to have a look at the tutorial Theme Inheritance. Inheriting a theme by hand is really, rea
-
How to test equality of two images
· 8 years ago
Try the following: {% if raw_url == image.url %}