Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default editing header.php in advanced_search_result

    Could anyone tell me, which part of .../modules/pages/advanced_search_result/header_php.php I need to edit so that the search function ignores the text included in the manufacturers name?

    Tried searching the forum and it seems to me that this is the file to be changed.

    using 1.3.8a (trying to find time to upgrade)
    Last edited by simon1066; 19 Sep 2011 at 12:48 PM.

  2. #2
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: editing header.php in advanced_search_result

    Found that deleting:

    OR m.manufacturers_name
    LIKE '%:keywords%'

    from

    $where_str .= "(pd.products_name LIKE '%:keywords%'
    OR p.products_model
    LIKE '%:keywords%'
    OR m.manufacturers_name
    LIKE '%:keywords%'";

    seems to work. although there's probably a more straightforward way!

 

 

Similar Threads

  1. Headers Sent Error: advanced_search_result.php
    By itwasntme in forum General Questions
    Replies: 0
    Last Post: 25 Jun 2009, 05:40 PM
  2. advanced_search_result.php
    By BABLTD in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 12 Aug 2008, 11:01 PM
  3. modifying the header.php file for advanced_search_result
    By monkeytown in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 8 Jan 2008, 08:53 PM
  4. Replies: 2
    Last Post: 5 Dec 2007, 04:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg