Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Tony Shaw Member
@boatful · Joined 4 years ago · 18 posts · 7 topics · 1 reputation
Badges
Recent posts
-
Seeking Flex-Objects CRUD tutorial (PHP)
· 3 years ago
The README.md file for the GRAV Flex Objects Plugin states, in part: "...both objects and collections can be customized by PHP classes, which allows you to define complex behaviors and relationships b
-
Seeking Flex-Objects CRUD tutorial (PHP)
· 3 years ago
Let's focus on PHP/CRUD syntax. How (in php) does one lookup a single item/record in a flex collection and then a) update or b) delete that item/record? How (in php) does one create a unique/new item
-
Seeking Flex-Objects CRUD tutorial (PHP)
· 3 years ago
Where can I find online PHP code snippets (e.g. a tutorial) for performing various CRUD operations on a flex-object "record"? Bonus points if the tutorial also addresses how to "join" 2 flex-objects a
-
Form v7.1.2 basic-catcha field validation ignored
· 3 years ago
Hi. Following the advice here... https://learn.getgrav.org/16/forms/forms/fields-available#basic-captcha-field ...my form renders the field with the placeholder "copy the 6 characters", but leaving th
-
Accessing grav.user.Level?
· 3 years ago
In a user's *.yaml file (in user/accounts) I notice the "Level:" property defaults to "Visitor" when someone registers on the frontend using root/user_register/ (the login plugin route). Of course, th
-
Error - Class 'Grav\Plugin\DOMDocument' not found
· 3 years ago
Thank for trying to help! In Visual Studio Code I searched for the term “domDocument” in the GRAV plugins directory and found other plugins’ main php file with: use domDocument; above the class defini
-
Error - Class 'Grav\Plugin\DOMDocument' not found
· 3 years ago
I am new to custom plugin creation (per the Plugin Tutorial) and I have a problem. My custom GRAV plugin throws a fatal PHP error: Error Class 'Grav\Plugin\DOMDocument' not found when I attempt to cre
-
What would cause page.url to suddenly stop working?
· 3 years ago
Perhaps using twig_first: true is the remedy. Twig WAS outputting <a href="%7B%7B%20page.url%20%7D%7D">...</a> on a page of mine that loops over a collection of pages using: collection:
-
What would cause page.url to suddenly stop working?
· 3 years ago
Again, I came up with the following site-wide workaround for this using js/jQuery, saved to a file I named: repair_urls.js $(document).ready(function(){ $("a[data-url]").each(function(){ /
-
What would cause page.url to suddenly stop working?
· 3 years ago
You are 100% correct. When I ask twig to loop over some page collection and generate <a> links to each child/descendent/post in HTML, twig will commit the {{ p.url }} value to ANY OTHER ATTRIBUT