pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3197 posts · 17 topics · 1020 reputation
Badges
Recent posts
-
Clean Installation -> "Deprecated" Error Message
· 4 years ago
According the following doc on PHP 8.2 In PHP classes, it is possible to dynamically set and retrieve class properties that are not declared. [..] In PHP 8.2 and later, setting a value to an undeclar
-
What would cause page.url to suddenly stop working?
· 4 years ago
@boatful, In that case, your use-case (which is still unclear to me) is different from the one I described above, because in my case twig_first: true resulted in anchors wrapped in a code block as fol
-
Use a function php/twig [with PLUGIN] in a page-collection
· 4 years ago
@BKaernel, $this->grav['page']; contains the current page, which is the page that is looping the collection. You will need to pass page (p) inside the loop into the Twig function Update the funct
-
What would cause page.url to suddenly stop working?
· 4 years ago
@boatful, You haven't provided much context, so I've been trying to figure out what's happening. I can finally reproduce the issue when using the following: Installed plugin page-toc Inside page typ
-
404 Error "Object not found" after installing admin plugin (on fresh install)
· 4 years ago
@nk74000, from the little info we have, it looks like Apache doesn't allow access to subdirectories. There is a document page dedicated to the 404 issue. The few forum topics I've come across were so
-
404 Error "Object not found" after installing admin plugin (on fresh install)
· 4 years ago
@nk74000, I have not idea what the issue is... but I can ask some questions: is this happening on localhost or at your hoster? what's the reason for adding RewriteBase / If you use the original .htac
-
Struggling with Blueprint: Custom header data form in Admin area
· 4 years ago
@b.da, You might be right. My suggestion to create an issue is not because I'm saying it is a bug. I just had no clue where the problem might stem from and suggested to create an issue: because the t
-
Twig: How to find out if plugin is installed?
· 4 years ago
@pikim, Thanks for the context. I want to contribute to a theme and added another plugin as dependency. The initial author wanted to make sure that everything also works without that plugin. Then we
-
Twig: How to find out if plugin is installed?
· 4 years ago
@pikim, If there is a myplugin,yaml file lingering around in any of the config stream folders (e.g. /user/config/plugins/, or /user/env/*/config/plugins/, or user/plugins/myplugin/) and it contains v
-
Add custom site permission to admin plugin (permission selection)
· 4 years ago
@Sven, Tip: try some backtracking in Admin plugin: search for permissions.yaml, you'll find function onRegisterPermissions. then search for onRegisterPermissions and you'll find a subscription for ev