Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • aussom Friend
    #177273

    Hi there,

    My problem is the search result page displays on homepage.
    I have created a menu name “Search”, menu type “List Search Results” then set item id (which is 14) to Search module.

    but when I search any word, the URL is “?searchword=sadfsdff&Itemid=101” always. (101 is the id of homepage)

    if I change the URL to “Itemid=14” it displays correctly. I don’t know how else to change the id from 101 to 14.

    The website is http://www.showmyshopping.com

    Please help me to fix the problem. Thank you.

    aussom Friend
    #453836

    Found the answer

    <input type=”hidden” name=”Itemid” value=”<?php echo $mitemid; ?>” />

    after

    <input type=”hidden” name=”task” value=”search” />
    <input type=”hidden” name=”option” value=”com_search” />

    in /templates/ja_rasite/html/mod_search/default.php

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 1 voice, and was last updated by  aussom 12 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum