CMS Development

GregDirick
Contributor | Platinum Partner
Contributor | Platinum Partner

Browsing issue on the Blog

SOLVE

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 Accepted solution
stefen
Solution
Key Advisor | Partner
Key Advisor | Partner

Browsing issue on the Blog

SOLVE

@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

View solution in original post

3 Replies 3
stefen
Solution
Key Advisor | Partner
Key Advisor | Partner

Browsing issue on the Blog

SOLVE

@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
Contributor | Platinum Partner
Contributor | Platinum Partner

Browsing issue on the Blog

SOLVE

Hi Stephen, 

 

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

 

Greg

0 Upvotes
sharonlicari
Community Manager
Community Manager

Browsing issue on the Blog

SOLVE

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 

 


¿Sabías que la Comunidad está disponible en Español?
¡Participa hoy en conversaciones en el idioma de tu preferencia,cambiando el idioma en tus configuraciones!

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