Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Docs #1

Closed
johnwbaxter opened this issue May 7, 2022 · 2 comments
Closed

Improve Docs #1

johnwbaxter opened this issue May 7, 2022 · 2 comments

Comments

@johnwbaxter
Copy link

Can you give the docs a bit of work around actions specifically please?

It's not clear if the user needs to create their own custom module to do be able to add an action for your plugin or use the existing modules folder or what.

Your action sample code is a bit light on detail too for people not expert in creating Craft modules etc. A complete example of an action would really help a lot of people use your plugin.

I certainly know devs that would like to use this but wouldn't get enough from your docs on actions to be able to get going.

Thanks!

@ryssbowh
Copy link
Owner

ryssbowh commented May 9, 2022

Hi,

I can't really give a complete example as it depends on your application, if you prefer to define modules or plugins or if you define new triggers/conditions/actions on a Craft plugin that you intend to register on the store.

I've added an example for a local plugin within a plugins folder as described by the Craft docs in the examples folder

@ryssbowh ryssbowh closed this as completed May 9, 2022
@johnwbaxter
Copy link
Author

That is absolutely perfect, that's exactly what was missing! Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants