pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3137 posts · 13 topics · 1013 reputation
Badges
Recent posts
-
[Agency] Issue changing pictures and other things with Inherited method
· 5 years ago
@citoyencandide, still strugling with the map-image in the background of contact/form If you open de devtools in the browser and inspect the element containing the image, you will find in the css in
-
[Agency] Issue changing pictures and other things with Inherited method
· 5 years ago
@citoyencandide, Try the following inside custom.css: section#contact h2 { color: red }
-
Help with Grav lifecycle: can't get content generated from twig?
· 5 years ago
@Netzhexe, I can’t modify content generated by a twig template via plugin in a way that gets cached. Yes? That's correct, unless I stand corrected.. The way I see it, is that Grav caches the results
-
[Agency] Issue changing pictures and other things with Inherited method
· 5 years ago
@citoyencandide, Change header image: The image is set in css and is a relative url : url(../img/header-bg.jpg). Relative to the css file in which it is used. Fix: In your inheriting theme, create fi
-
How get all pages in plugin for admin
· 5 years ago
@danielkoptak, Ough, an oversight of a simple ! if (!$this->isAdmin()) { return; } In that, case I stand corrected, your code does work.
-
How get all pages in plugin for admin
· 5 years ago
@danielkoptak, When I use your code, the solution cannot work and will throw an Exception. In your first post, you initialize the event callbacks when plugin is NOT being called by the Admin plugin. T
-
404 Only on first hit of a page
· 5 years ago
@adrianw, Again, I can confirm your observation that the static method is being called on every page request, even if the page doesn't have a form... This is not what I would expect and I've created
-
How get all pages in plugin for admin
· 5 years ago
@danielkoptak, The code you are sharing contains quite a bit of debris and throws Exceptions. Please edit the post and provide the community with some clean relevant code, free from Exceptions and rep
-
404 Only on first hit of a page
· 5 years ago
@adrianw, I can reproduce your observation of a 404 error when cache has been cleared. It is indeed caused by the call $page = $grav['page']. When the page is being called after invalidating the cach
-
Form validation.pattern for !URLs
· 5 years ago
@daubneyi, I needed a solution myself for my own ContactForm plugin because someone was having a blast last night filling my mailbox which a few thousand of spam messages... The solution mentioned abo