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!?
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!?