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

#   Saving Search Parameters between different menu items

##

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

8 years 1 month ago [\#298633](#298633) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  *[Saving Search Parameters between different menu items](/forum/45-filters-search/895859-saving-search-parameters-between-different-menu-items#298633 "-- url of the page with the problem -- :   rwcrawford.co.uk/new/index.php?option=co...g&amp;Itemid=670&amp;lang=en  -- HikaShop version -- : 3.5.1  Hi  I have created two different menu items, one is a grid style view the other is a table style view. I have then created different buttons that switch between the two:    rwcrawford.co.uk/new/index.php?option=co...g&amp;Itemid=670&amp;lang=en  I have created a filter too. However, I would like the results for the grid style view to be displayed as a grid, and for the table view to be displayed as a table. So I created two filter modules and added the corresponding menu item id's. this works.  The issue is when you filter on say the grid filter and then press to view the table view the filter items are not transported over. If there any way I can get the link to each of the view's also pass the parameters of the filter? So that if you filter one view it switches to the same filter on the other view?  Many thanks.")* was created by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")*

-- url of the page with the problem -- : [ rwcrawford.co.uk/new/index.php?option=co...g&amp;Itemid=670&amp;lang=en](http://rwcrawford.co.uk/new/index.php?option=com_hikashop&view=product&layout=listing&Itemid=670&lang=en)
-- HikaShop version -- : 3.5.1

Hi

I have created two different menu items, one is a grid style view the other is a table style view. I have then created different buttons that switch between the two:

[ rwcrawford.co.uk/new/index.php?option=co...g&amp;Itemid=670&amp;lang=en](http://rwcrawford.co.uk/new/index.php?option=com_hikashop&view=product&layout=listing&Itemid=670&lang=en)

I have created a filter too. However, I would like the results for the grid style view to be displayed as a grid, and for the table view to be displayed as a table. So I created two filter modules and added the corresponding menu item id's. this works.

The issue is when you filter on say the grid filter and then press to view the table view the filter items are not transported over. If there any way I can get the link to each of the view's also pass the parameters of the filter? So that if you filter one view it switches to the same filter on the other view?

Many thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5NTg1OS1zYXZpbmctc2VhcmNoLXBhcmFtZXRlcnMtYmV0d2Vlbi1kaWZmZXJlbnQtbWVudS1pdGVtcz90bXBsPW1hcmtkb3du) 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: 86576
- Thank you received: 14320
-
-

8 years 1 month ago [\#298638](#298638) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Saving Search Parameters between different menu items](/forum/45-filters-search/895859-saving-search-parameters-between-different-menu-items#298638 "-- url of the page with the problem -- :   rwcrawford.co.uk/new/index.php?option=co...g&amp;Itemid=670&amp;lang=en  -- HikaShop version -- : 3.5.1  Hi  I have created two different menu items, one is a grid style view the other is a table style view. I have then created different buttons that switch between the two:    rwcrawford.co.uk/new/index.php?option=co...g&amp;Itemid=670&amp;lang=en  I have created a filter too. However, I would like the results for the grid style view to be displayed as a grid, and for the table view to be displayed as a table. So I created two filter modules and added the corresponding menu item id's. this works.  The issue is when you filter on say the grid filter and then press to view the table view the filter items are not transported over. If there any way I can get the link to each of the view's also pass the parameters of the filter? So that if you filter one view it switches to the same filter on the other view?  Many thanks.")*

Hi,

If you turn on the "redirect POST mode" setting of the HikaShop configuration, you'll get the filter values in the URL of the page when you use the filters. So you can just get these parameters from $_GET and add them to the URL you're generating for the buttons so that the filter system can use them on the other menu item when you use the button.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5NTg1OS1zYXZpbmctc2VhcmNoLXBhcmFtZXRlcnMtYmV0d2Vlbi1kaWZmZXJlbnQtbWVudS1pdGVtcz90bXBsPW1hcmtkb3du) 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.047 seconds

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