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

I have a question about before and after #72

Open
telemoes opened this issue Nov 14, 2020 · 4 comments
Open

I have a question about before and after #72

telemoes opened this issue Nov 14, 2020 · 4 comments

Comments

@telemoes
Copy link

Hi David,

You have in your controller 2 methods before and after.
How can i use it?

Martijn

@daveh
Copy link
Owner

daveh commented Nov 15, 2020

Hi Martijn,

these are controller action filters - details of how to use them here.

Cheers,
Dave

@telemoes
Copy link
Author

I am looking for a solution to add addons without changing the core code. Example I'm creating a webshop and want to add an add-on for the shopping cart.

@daveh
Copy link
Owner

daveh commented Nov 28, 2020

This depends on how you want the addons to work - if you don't change the core code, then you're limited to controllers, and the action filters mentioned above. If you give me more details and perhaps an example or two of how an add-on would work, we can look into how this would work in the framework.

@telemoes
Copy link
Author

Think in wordpress there can you install other addons with changing the core.
Given me somethime ti figure it out i think to use the mehtods before and after bud sometimes to firgure it out.

And a other problem how todo with the view when you add a new addon then i need something to show the view in a view...

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