CMS Development

GregDirick
Mitwirkender/Mitwirkende | Platinum Partner
Mitwirkender/Mitwirkende | Platinum Partner

Browsing issue on the Blog

lösung

Hello,

 

We are currently experiencing a problem with the customer's blog => https://blog.brainbox.be

 

At the first display, you have 9 blog items displayed. If you click on "View more news", the following 9 appear.

 

Imagine that you take the 10th article to read and then go back via the browser's back button, it takes you back to the blog to the first 9 articles and not to the 10-18 you had previously clicked.

 

Is there any way to make sure I get back where I was on the previous page?

 

Thank you and have a good day.

 

Greg

 

0 Upvotes
1 Akzeptierte Lösung
stefen
Lösung
Autorität | Partner
Autorität | Partner

Browsing issue on the Blog

lösung

@GregDirick in the javascript that's powering the ajax page load, it should also update the url being displayed in the address bar with "/page/2" or what have you on each click. Something like this answer here would do the trick: https://stackoverflow.com/questions/824349/how-do-i-modify-the-url-without-reloading-the-page

Stefen Phelps, Community Champion, Kelp Web Developer

Lösung in ursprünglichem Beitrag anzeigen

3 Antworten
stefen
Lösung
Autorität | Partner
Autorität | Partner

Browsing issue on the Blog

lösung

@GregDirick in the javascript that's powering the ajax page load, it should also update the url being displayed in the address bar with "/page/2" or what have you on each click. Something like this answer here would do the trick: https://stackoverflow.com/questions/824349/how-do-i-modify-the-url-without-reloading-the-page

Stefen Phelps, Community Champion, Kelp Web Developer
GregDirick
Mitwirkender/Mitwirkende | Platinum Partner
Mitwirkender/Mitwirkende | Platinum Partner

Browsing issue on the Blog

lösung

Hi Stephen, 

 

Thanks for the reply. I'll have a look at it tomorrow and keep you informed.

 

Greg

0 Upvotes
sharonlicari
Community-Manager/-in
Community-Manager/-in

Browsing issue on the Blog

lösung

Hey @GregDirick 

 

Thank you for providing the link and the extra information. I am sure our expert can share their expertise with you.

 

Hey @Stephanie-OG , @stefen and @dennisedson could you please share your knowledge with @GregDirick ?

 

Thank you

Sharon 

 


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !