Switch Between Pages - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Switch Between Pages

P

pluntke

SP Page Builder 1 week ago

Hello,

how can I jump back to a previous page from a page created with SP Page Builder?

For example: I go from page 1 to page 2 via a button (URL). Now I want to go back to page 1. Is there a general solution, or can I only jump back using the URL of page 1?

Thanks

0
3 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 week ago #209919

Hi there!

Thanks for reaching out.

Yes, you can go back with the help of the browsers back arrow.

Or you can take a button and make the button act like the browser’s “Back” button, it doesn’t need to know the exact URL.

How to do it in SP Page Builder:

  1. Edit the page or create a module with SP Page Builder.

  2. Add a Button addon.

  3. In the button’s link field, enter:

javascript:window.history.back();

  1. Save and update the page or publish the module in your desired module position.

Only works if the user navigated from another page in your site. (If they came directly from Google or refreshed, it won’t have a “previous page” in history.)

Best regards

0
P
pluntke
Accepted Answer
1 week ago #209924

It works. Thanks

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 1 week ago #209925

You are always welcome:)

Have a nice day!

0