[Skip to main content](#vessel-content)

#   Back Button on Search Results does not work

##

- **[aisweb](/forum/user/36325-aisweb "View aisweb's Profile")**
- [![aisweb's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar36325.png)](/forum/user/36325-aisweb "View aisweb's Profile") Topic Author
- [ Offline](/forum/user/36325-aisweb)

Less More

- Posts: 42
- Thank you received: 2
-
-

6 years 3 months ago -  6 years 3 months ago [\#322727](#322727) by [aisweb](/forum/user/36325-aisweb "View aisweb's Profile")  *[Back Button on Search Results does not work](/forum/26-product-category-display/900545-back-button-on-search-results-does-not-work#322727 "-- url of the page with the problem -- :   vixenfire.com.au/index.php/hikashop-menu.../category&#95;pathway-86  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : FF 77.0.1 -- Error-message(debug-mod must be tuned on) -- : none  Hi, as HS does not have a BACK button feature, I made one using the simple code:  It works great except after a search, and selecting one of the results, there is no Back functionality, not even the browser back button.  If I take the exact url and paste it in to the address bar, the Back function works ok.  Result from a search:  Cut/Paste that exact url and the Back function works:  How do I enable a Back, or Back To Search Results on these pages?  &#91;I already have Breadcrumbs working but my customer wants a BACK button too&#93;  Many thanks Paul")* was created by *[aisweb](/forum/user/36325-aisweb "View aisweb's Profile")*

-- url of the page with the problem -- : [ vixenfire.com.au/index.php/hikashop-menu.../category\_pathway-86](http://vixenfire.com.au/index.php/hikashop-menu/product/532-kask-arc-flash-1-and-2/category_pathway-86)
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.19
-- PHP version -- : 7.3
-- Browser(s) name and version -- : FF 77.0.1
-- Error-message(debug-mod must be tuned on) -- : none

Hi, as HS does not have a BACK button feature, I made one using the simple code:
Code:

&lt;a onclick="history.back();return false;" href="#"&gt;BACK&lt;/a&gt;

It works great except after a search, and selecting one of the results, there is no Back functionality, not even the browser back button.

If I take the exact url and paste it in to the address bar, the Back function works ok.

Result from a search:
[ ![no&#95;back.jpg](/forum/attachment/50229) ](/forum/attachment/50229 "no&#95;back.jpg")

Cut/Paste that exact url and the Back function works:
[ ![back.jpg](/forum/attachment/50230) ](/forum/attachment/50230 "back.jpg")

How do I enable a Back, or Back To Search Results on these pages?

[I already have Breadcrumbs working but my customer wants a BACK button too]

Many thanks
Paul

- [ ![no&#95;back.jpg](/forum/attachment/50229) ](/forum/attachment/50229 "no&#95;back.jpg") [ ](/forum/attachment/50229?download=1 "no&#95;back.jpg")
- [ ![back.jpg](/forum/attachment/50230) ](/forum/attachment/50230 "back.jpg") [ ](/forum/attachment/50230?download=1 "back.jpg")

Last edit: 6 years 3 months ago by [aisweb](/forum/user/36325-aisweb "View aisweb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDA1NDUtYmFjay1idXR0b24tb24tc2VhcmNoLXJlc3VsdHMtZG9lcy1ub3Qtd29yaz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

6 years 3 months ago [\#322731](#322731) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Back Button on Search Results does not work](/forum/26-product-category-display/900545-back-button-on-search-results-does-not-work#322731 "-- url of the page with the problem -- :   vixenfire.com.au/index.php/hikashop-menu.../category&#95;pathway-86  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : FF 77.0.1 -- Error-message(debug-mod must be tuned on) -- : none  Hi, as HS does not have a BACK button feature, I made one using the simple code:  It works great except after a search, and selecting one of the results, there is no Back functionality, not even the browser back button.  If I take the exact url and paste it in to the address bar, the Back function works ok.  Result from a search:  Cut/Paste that exact url and the Back function works:  How do I enable a Back, or Back To Search Results on these pages?  &#91;I already have Breadcrumbs working but my customer wants a BACK button too&#93;  Many thanks Paul")*

Hi,

Try turning on the "redirect POST mode" setting of the HikaShop configuration and it should help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDA1NDUtYmFjay1idXR0b24tb24tc2VhcmNoLXJlc3VsdHMtZG9lcy1ub3Qtd29yaz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[aisweb](/forum/user/36325-aisweb "View aisweb's Profile")**
- [![aisweb's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar36325.png)](/forum/user/36325-aisweb "View aisweb's Profile") Topic Author
- [ Offline](/forum/user/36325-aisweb)

Less More

- Posts: 42
- Thank you received: 2
-
-

6 years 3 months ago [\#322782](#322782) by [aisweb](/forum/user/36325-aisweb "View aisweb's Profile")  Replied by *[aisweb](/forum/user/36325-aisweb "View aisweb's Profile")* on topic *[Back Button on Search Results does not work](/forum/26-product-category-display/900545-back-button-on-search-results-does-not-work#322782 "-- url of the page with the problem -- :   vixenfire.com.au/index.php/hikashop-menu.../category&#95;pathway-86  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : FF 77.0.1 -- Error-message(debug-mod must be tuned on) -- : none  Hi, as HS does not have a BACK button feature, I made one using the simple code:  It works great except after a search, and selecting one of the results, there is no Back functionality, not even the browser back button.  If I take the exact url and paste it in to the address bar, the Back function works ok.  Result from a search:  Cut/Paste that exact url and the Back function works:  How do I enable a Back, or Back To Search Results on these pages?  &#91;I already have Breadcrumbs working but my customer wants a BACK button too&#93;  Many thanks Paul")*

I did that but unfortunately there is still no BACK functionality after clicking a Search result.

[ ![Post&#95;mode.jpg](/forum/attachment/50234) ](/forum/attachment/50234 "Post&#95;mode.jpg")

[ ![no&#95;back&#95;2020-08-07.jpg](/forum/attachment/50235) ](/forum/attachment/50235 "...2020-08-07.jpg")

If there is no way to Return To Search, I will need to remove the Back button I have added.

But the Search Results use the same Menu 'hikashop-menu" and hence the same template.
Is it possible to remove that button from *only* the Search results ?

[ ![remove&#95;back.jpg](/forum/attachment/50236) ](/forum/attachment/50236 "remove&#95;back.jpg")

Thanks for your help.
Paul

- [ ![Post&#95;mode.jpg](/forum/attachment/50234) ](/forum/attachment/50234 "Post&#95;mode.jpg") [ ](/forum/attachment/50234?download=1 "Post&#95;mode.jpg")
- [ ![no&#95;back&#95;2020-08-07.jpg](/forum/attachment/50235) ](/forum/attachment/50235 "...2020-08-07.jpg") [ ](/forum/attachment/50235?download=1 "...2020-08-07.jpg")
- [ ![remove&#95;back.jpg](/forum/attachment/50236) ](/forum/attachment/50236 "remove&#95;back.jpg") [ ](/forum/attachment/50236?download=1 "remove&#95;back.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDA1NDUtYmFjay1idXR0b24tb24tc2VhcmNoLXJlc3VsdHMtZG9lcy1ub3Qtd29yaz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

6 years 3 months ago [\#322800](#322800) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Back Button on Search Results does not work](/forum/26-product-category-display/900545-back-button-on-search-results-does-not-work#322800 "-- url of the page with the problem -- :   vixenfire.com.au/index.php/hikashop-menu.../category&#95;pathway-86  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : FF 77.0.1 -- Error-message(debug-mod must be tuned on) -- : none  Hi, as HS does not have a BACK button feature, I made one using the simple code:  It works great except after a search, and selecting one of the results, there is no Back functionality, not even the browser back button.  If I take the exact url and paste it in to the address bar, the Back function works ok.  Result from a search:  Cut/Paste that exact url and the Back function works:  How do I enable a Back, or Back To Search Results on these pages?  &#91;I already have Breadcrumbs working but my customer wants a BACK button too&#93;  Many thanks Paul")*

Hi,

I checked on your website and it seems that you're talking about the Joomla search module at the top and not about the Hikashop filter system.
And from what I can see, it's normal that there is no back when you click on a result of that search module as it opens the result on a new tab.
This is actually controlled by the setting "New page" of the HikaShop products search plugin. So you want to edit that plugin via the Joomla plugins manager and turn off that option. In that case, the result page will open on the same tab and you will have the possibility to use the back button.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDA1NDUtYmFjay1idXR0b24tb24tc2VhcmNoLXJlc3VsdHMtZG9lcy1ub3Qtd29yaz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[aisweb](/forum/user/36325-aisweb "View aisweb's Profile")**
- [![aisweb's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar36325.png)](/forum/user/36325-aisweb "View aisweb's Profile") Topic Author
- [ Offline](/forum/user/36325-aisweb)

Less More

- Posts: 42
- Thank you received: 2
-
-

6 years 3 months ago [\#322816](#322816) by [aisweb](/forum/user/36325-aisweb "View aisweb's Profile")  Replied by *[aisweb](/forum/user/36325-aisweb "View aisweb's Profile")* on topic *[Back Button on Search Results does not work](/forum/26-product-category-display/900545-back-button-on-search-results-does-not-work#322816 "-- url of the page with the problem -- :   vixenfire.com.au/index.php/hikashop-menu.../category&#95;pathway-86  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.19 -- PHP version -- : 7.3 -- Browser(s) name and version -- : FF 77.0.1 -- Error-message(debug-mod must be tuned on) -- : none  Hi, as HS does not have a BACK button feature, I made one using the simple code:  It works great except after a search, and selecting one of the results, there is no Back functionality, not even the browser back button.  If I take the exact url and paste it in to the address bar, the Back function works ok.  Result from a search:  Cut/Paste that exact url and the Back function works:  How do I enable a Back, or Back To Search Results on these pages?  &#91;I already have Breadcrumbs working but my customer wants a BACK button too&#93;  Many thanks Paul")*

Oh wow, I can't believe I didn't notice that it was creating a new tab ![:-(](/media/kunena/emoticons/22.png ":-(")

That change has fixed it, thank you so much.
Paul

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDA1NDUtYmFjay1idXR0b24tb24tc2VhcmNoLXJlc3VsdHMtZG9lcy1ub3Qtd29yaz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.071 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
