pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3203 posts · 17 topics · 1020 reputation
Badges
Recent posts
-
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
-
Is it possible to display form results in admin or a frontend page?
· 4 years ago
@eskah, But now I have another problem, there is no part on flex forms in flexobjects documentation ? That's because there are no "flex forms". Your form saves its data into a file and FlexObjects w
-
Is it possible to display form results in admin or a frontend page?
· 4 years ago
@eskah, Two options: Have a look at FlexObjects. Chapter Introduction shows an example. Or get some DIY inspiration from plugin Comments which lists data from /user/data/comments/[pageslug].yaml into
-
TWIG: Translation dependent on page header (frontmatter) content
· 4 years ago
@pikim, An alternative is having the blueprint write 'PLUGIN_EVENTS.EVENTS.FREQ_DAILY' into the frontmatter. But you might find that ugly too... Or, in your languages.yaml, you could use FREQ_daily: d
-
Strategy to customize/simplify Grav for end-users?
· 4 years ago
@Flop, Another strategy which will save you a lot of time: Adopt Python's philosophy "We're all responsible users" and write a clear and succinct user-manual the editors should stick to... And when u