-
Notifications
You must be signed in to change notification settings - Fork 56
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
Use AdminController #96
Conversation
I didn't test it, but I think you need to register it as a hidden tab with |
I guess @matks wanted to say about version 4.0.0 of this module, because we are in version 3.1.3 now (maybe he did a copy/paste mistake from ps_checkpayment ;) |
It's 100% a copy-paste mistake XD I was lazy to rewrite the PR table from scratch
Yes I can keep it 👍 for backward compatibility if you guys think it's better
I promise it works 🤔 . I am only using one ajax controller action, and I don't have a dedicated view for this controller, maybe this is why it works? |
Tested result on my side: update position is not saved to DB; php-cx-fixer warns about tabs indent in |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think @Hlavtox is right. In BlockReassurance 4.0.0 Release, new-added |
Ping @matks, can you recheck and register the tab? ;-) |
44446db
to
d86600e
Compare
d86600e
to
9c1d1e1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @matks ,
Upgrade to v3.2.0 OK
I can only drag and drop the sliders once, after I add another slide, I can't drag n drop anymore.
Screen.Recording.2024-09-12.at.10.35.31.mov
Could you check ?
Thanks :)
Issue fixed, there was some wrong logic in the conditions that rendered the sorting in the header. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Hlavtox !
LGTM ✅
CRUD sliders, enabled/disabled.
Sliders can be drag n dropped as wanted.
Thank you |
BC Breaks
File ajax_ps_imageslider.php has been removed
How to test?
develop
branch) and click on "Configure" button of ps_imageslider module in Module ManagerThis PR modified the function that perform the drag-and-drop of the slides, and store the updated positions.