pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3197 posts · 17 topics · 1020 reputation
Badges
Recent posts
-
Login plugin gotcha: Account filename must be lowercase
· 4 years ago
@MartyB, The name of the account's *.yaml file is the name of the account. And according the man page of useradd on Linux: It is usually recommended to only use usernames that begin with a lower cas
-
Is it possible to display form results in admin or a frontend page?
· 4 years ago
@pikim, Is it possible to assign a name to the object? At the moment a random number is assigned In data-models: keys must be unique keys should be meaningless which makes it easier to create a un
-
Is it possible to display form results in admin or a frontend page?
· 4 years ago
@pikim, I've updated my onFormProcessed function in reply #9. You might want to update your copy/pasted code too. Replace: $object->create(); $dir->clearCache(); with: $object->save();
-
Page.find not working in form data template to send email
· 4 years ago
@macyogi, It might be better to create a new post with your context. The former OP will probably no longer be around to mark it as solved when a solution gets provided. You might add a link to the new
-
Is it possible to display form results in admin or a frontend page?
· 4 years ago
@eskah, The page's frontmatter contains quite a bit of sloppy copy/paste... Apart from that, you are resetting the form, which empties the fields, before you save it...
-
Github Sponsors integration
· 4 years ago
@Spindizzy, A few options come to mind: Only create accounts for sponsors. Create a group 'sponsor' and assign it to accounts from sponsors. Then add to some pages that only 'sponsor' users can logi
-
Is it possible to display form results in admin or a frontend page?
· 4 years ago
@eskah, Please help the community help you... Formatting: If the layout of your form is as you've shown, it is incorrect... If the form definition is not as shown, then please add some proper formatti
-
Is it possible to display form results in admin or a frontend page?
· 4 years ago
@pikim, I'm sorry to say that I'm not a fan of your forked Guestbook plugin. It is based on a 7 years old plugin using a structure from the early days of Grav. Please have look at how a proper plugin
-
Is it possible to display form results in admin or a frontend page?
· 4 years ago
@eskah, In function onPluginsInitialized, add the subscription as follows: // Enable the main events we are interested in $this->enable([ // Put your main events here 'onFormProcessed' =>
-
Is it possible to display form results in admin or a frontend page?
· 4 years ago
@eskah, I have no prior hands-on experience with FlexObjects, but the following seems to be working: Follow the Introduction on FlexObjects Enable 'Contacts' directory in FlexObjects plugin. Install