Keyword

Search module doesn't use Itemid - module positions not showing in search results

  • Dylan James
  • Dylan James's Avatar Topic Author
  • Offline
  • New Member
More
14 years 7 months ago #81508 by Dylan James
Hi,
I've noticed that the search module doesn't use the Itemid in its form.

This means that on the search results page. This means that any modules for the previous page are not showing up.

To fix this I added the following line in this file modules/mod_k2_tools/tmpl/search.php

<input type="hidden" name="Itemid" value="<?php echo $_GET;?> />


Search results now have the relevant itemid value and display the correct modules.

The ideal solution would be to have an option in the module menu to select an override itemid to display for the search results.

Has anybody else had this problem, or was I just missing a trick!?

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum