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

Support EventListener for toggleFeatured #1674

Closed
rabauss opened this issue Apr 22, 2020 · 1 comment
Closed

Support EventListener for toggleFeatured #1674

rabauss opened this issue Apr 22, 2020 · 1 comment

Comments

@rabauss
Copy link
Contributor

rabauss commented Apr 22, 2020

What would be the best way to support Eventlistener for toggleFeatured?

Unfortunately, you need a table class and cannot use a EventListener at this point:

Can we use the button_callback of the feature operation in the DCA or can we introduce a new event that the EventListener can listen to?

EDIT:
This is related to: contao/core#1414
The solution with event listener could also get used for #1465 instead of table class

@rabauss
Copy link
Contributor Author

rabauss commented Apr 22, 2020

Okay, thanks to @aschempp I will solve it with contao-haste (https://github.com/codefog/contao-haste/blob/master/docs/Dca/index.md).

So I don't need to investigate for a reusable solution from the core ;-)

@rabauss rabauss closed this as completed Apr 22, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant