pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3171 posts · 16 topics · 1018 reputation
Badges
Recent posts
-
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 %}
-
How to reference hero image in the images file
· 8 years ago
@normawhite If you make changes, don't forget to read about Theme inheritance. If you make changes in Quark itself, your changes will be overridden when installing a new release of Quark.
-
Don't display errors / warnings in production
· 8 years ago
Or maybe fix the exceptions thrown? ;-)
-
How to reference hero image in the images file
· 8 years ago
@normawhite I have never used Quark but had a look at the README and code. The README.md says explicitly: The hero_image should point to an image file in the current page folder And also the code l
-
How to handle form request form in modal window with AJAX request
· 8 years ago
@Pavlo, For the \<form>, I use $this->grav['page']->slug() for the action attribute and add a hidden field with a name unique to my contactform. On submit of the form I check if the name o