We have some discussions that go into a few pages. When any user clicks on view reply (river, group activity) it takes you to the start of the discussion rather than the latest reply. It does work however when the replies are still only on one page and do not go over to a second page.
Any suggestions ?
Drew
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Cim@manacim
Cim - 0 likes
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 0 likes
- kanha@kanha
kanha - 0 likes
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 0 likes
- User is taken automatically to the correct comment page
- The page will be scrolled so that the comment is visible
- The comment will be highlighted
- kanha@kanha
kanha - 0 likes
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 0 likes
- kanha@kanha
kanha - 0 likes
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 0 likes
- kanha@kanha
kanha - 0 likes
You must log in to post replies.I think there's a ticket for that but don't quote me because I am just assuming. I've brought up the issue a while back.
This feature (taking user automatically to the correct page) has already been added to the Elgg 1.x development branch. Elgg 1.11 will be released next Sunday (April 12th)!
Elgg 1.11 will also highlight the reply that the link referred to (https://github.com/Elgg/Elgg/pull/8050 ).
@Juho Jaakkola - Thats great indeed!
And will the page scroll automatically to the comment the user has just posted? It is the usual default behavior of cms-es and forums. Thank you.
Yes, Elgg 1.11 will introduce three new features:
Hi Juho Jaakkola
A lot of thanks for the information.
That will be really very helpful for all of us.
That apart, I was wanting to know, what happens when I post a comment - I am taken to the top of the page instantly, not the comment itself. Usually in cms-es and forums the page instantly auto-scrolls to the comment I just posted.
For example, when I posted this comment I am taken to the page, not the comment itself. So that when there are many comments I have to scroll up and down to locate my comment in this page. The page itself scrolling to the comment is the usual expected behavior. This happens in other forums and cms-es as the page url changes to the comment - in Elgg in this page I see that the url of the topic remains the same without the comment number being appended.
Vertical scrolling is handled by the internet browser. Elgg only provides the comment id in the URL
Which in fact already works. Try for example this: https://community.elgg.org/discussion/view/2108153/clicking-view-reply-takes-you-to-the-start-of-a-discussion-when-you-have-more-than-one-page-of-comments#elgg-object-2108713
It takes you directly to your previous commit.
Sorry, I am not saying about clicking links. Just the page where I am now. Take this very page, for example, where we are talking now. Post a comment - you are taken to the page top, not auto scrolled to the comment itself. I apologize if I have failed to make it clear. Thanks.
url before posting the comment - https://community.elgg.org/discussion/view/2108153/clicking-view-reply-takes-you-to-the-start-of-a-discussion-when-you-have-more-than-one-page-of-comments
url after posting the comment - same - https://community.elgg.org/discussion/view/2108153/clicking-view-reply-takes-you-to-the-start-of-a-discussion-when-you-have-more-than-one-page-of-comments
That is why I am not auto-scrolled to the comment I just made.
Sorry, I didn't read your question well enough.
No, that kind of feature has not been added. But that is a very good feature request. I've added it to our issue tracker: https://github.com/Elgg/Elgg/issues/8130
The fix should be very easy unless I'm missing something.
@Juho Jaakkola - Thanks a lot really. This will be very useful and once there, user experience will be at par with other systems on the net.
I read through the issue list there, points and counterpoints. I will like to say that the issues raised there also exist in other systems too - commenting from stream, ajax etc - despite all that ,all system lets the commenter see the comment he just posted in the same page by scroll or by any other means, and its not the page-top he sees.
Once the issue in the tracker gets resolved, it will be great indeed!