-
Notifications
You must be signed in to change notification settings - Fork 7
Jump to anchor after submission #99
Comments
Ah, now see that the |
Thanks for pointing out your use case! I'll keep this in mind in combination with #96 ...display preferences after submission are quite obviously more diverse than what the current design enables and I consider it worth a try to accommodate them as flexibly as possible. |
This, too, is now possible in the Commentions 2.0 beta 1. See the documentation at https://github.com/sebastiangreger/kirby3-commentions/tree/develop#frontend-helper ...you'd have to add an This is all beta still; feedback and bug reports are most welcome 🙂 |
I have played around and found this setup the best for my case:
The only issue with this is that on a successful comment submit the feedback gets displayed twice. Is there a way to avoid that? |
Hmm, having the feedback element twice on one page is a use case not currently considered. You're essentially after a "conditional" feedback element… I'll keep this in mind in future considerations. Untested, but I imagine that this workaround should work:
It makes use of the fact that a success message is always tied to |
Thanks, all your code snippets work as desired :) |
@getflourish @MaluNoPeleke I hope you don't mind me pinging you here in a slightly off-topic manner, but I'd like to draw your attention to my update that I am no longer able to maintain the Commentions plugin in the future → details here. |
After a submission, it would be nice to jump to the comments section.
This could be done, e.g. by adjusting the form action in
commentions-form.php
But it would require an
id
on thecommentions-list
.The text was updated successfully, but these errors were encountered: