Skip to content
Grav 2.0 is officially stable. Read the announcement →

pamtbaau Legend

Grav Forum Moderators

@pamtbaau · Joined 8 years ago · 3131 posts · 12 topics · 1012 reputation

Badges

Grav Core Team ModSquad Team Member ✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • How to not show image in blog post listing · 3 years ago

    @mikselli, That's because Grav 1.7.+ auto escapes html elements. Which means <p> becomes <p> which becomes visible in the browser as literal <p>. This is a security measure t

  • Github Sponsors integration · 3 years ago

    @Spindizzy, So how would I change the user’s group in a Grav plugin? Assuming the relevant Flarum group(s) has/have already been created in Grav, you might try something like: public function onUser

  • Github Sponsors integration · 3 years ago

    @Spindizzy, There are some docs chapters you might want to read: https://learn.getgrav.org/17/admin-panel/accounts https://learn.getgrav.org/17/advanced/groups-and-permissions

  • Archive Plus plugin: How to add new translation · 3 years ago

    @pikim, That would be a smart choice if author was still around... There are 2 other language pull requests still open since 2017 and 2018...

  • Login plugin gotcha: Account filename must be lowercase · 3 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? · 3 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? · 3 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 · 3 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? · 3 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 · 3 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