Code Monkey home page Code Monkey logo

statamic-hooker's People

Contributors

makkinga avatar

Stargazers

 avatar

Watchers

 avatar

statamic-hooker's Issues

Better examples

Neat addon!

It's not very clear what one would use this for, perhaps a few examples would help?

Undefined property: Statamic\Events\Data\SubmissionSaved::$data

Hey! Keep hitting this error on a saved submission hook:

ErrorException in HookerListener.php line 130:
Undefined property: Statamic\Events\Data\SubmissionSaved::$data

The formset only has a single field, email.
It is the only hook I have in Hooker!

The form is set to store submissions and works fine with hooker disabled. Even with it enabled the form submits and submission is stored, yet I hit the error and the hook isn't sent :(
Statamic 2.11.12 fresh install
no other add-ons

Thanks :)

Customise the 'data' array

Hey!

This has helped set up notifications for new users on my site, thanks!

'data' => reset($event)->data->toArray()

Is there any easy fixes in that line that can prevent the data array from containing email addresses and hashed passwords? I send the webhook on a user save event to a third party service and then it goes to a few places.. I'd just rather not include that stuff for extra peace of mind.

A solution in the UI would be wicked, but I'll take a quick edit if you've got one :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.