Results 1 to 10 of 62

Hybrid View

  1. #1
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Advanced Search Question (limit to category box)

    What happens if you turn off the SEO/rewrites?

    What happens if you switch to the Classic Template?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #2
    Join Date
    Jun 2011
    Posts
    194
    Plugin Contributions
    0

    Default Re: Advanced Search Question (limit to category box)

    Quote Originally Posted by Ajeh View Post
    What happens if you turn off the SEO/rewrites?

    What happens if you switch to the Classic Template?
    SEO - makes no difference

    Classic template fixes the problem! so it is something to do with my template but not the tpl_advanced_search_default.php as i replaced the one in my template with the default and it made no difference!

    I have another problem i have just found! the login page has quit working - when i enter my login info as a customer it just refreshes the page but doesn't log me in. If i add something to the cart and then checkout - the small login page shows up and logs u in fine!!!

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Advanced Search Question (limit to category box)

    I would turn off the SEO/rewrites and work on fixing these issues ...

    I really cannot test anything as your site is down for maintenance ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Jun 2011
    Posts
    194
    Plugin Contributions
    0

    Default Re: Advanced Search Question (limit to category box)

    Quote Originally Posted by Ajeh View Post
    I would turn off the SEO/rewrites and work on fixing these issues ...

    I really cannot test anything as your site is down for maintenance ...
    Ok I turned SEO off

    Turned down from maintenance off......

    Both errors are confusing me completely!!!

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Advanced Search Question (limit to category box)

    Can you look at the file:
    /includes/modules/pages/advanced_search/header_php.php

    What do you see on the file for:
    Code:
      $sData['categories_id'] = (isset($_GET['categories_id'])    ? zen_output_string((int)$_GET['categories_id']) : 0);
    is that set to 0?

    Can you edit the file:
    /includes/templates/template_dir/common/tpl_main_page.php

    and under the <body add the line:
    Code:
    <?php echo 'I SEE: ' . $_GET['categories_id']; ?>
    I just want to see what it thinks that value is when on the Advanced search

    NOTE: if you have that file in your templates and overrides, then edit that one ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Advanced Search Question (limit to category box)

    NOTE: I have no issues logging in with any browser ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Jun 2011
    Posts
    194
    Plugin Contributions
    0

    Default Re: Advanced Search Question (limit to category box)

    Quote Originally Posted by Ajeh View Post
    Can you look at the file:
    /includes/modules/pages/advanced_search/header_php.php

    What do you see on the file for:
    Code:
      $sData['categories_id'] = (isset($_GET['categories_id'])    ? zen_output_string((int)$_GET['categories_id']) : 0);
    is that set to 0?

    Can you edit the file:
    /includes/templates/template_dir/common/tpl_main_page.php

    and under the <body add the line:
    Code:
    <?php echo 'I SEE: ' . $_GET['categories_id']; ?>
    I just want to see what it thinks that value is when on the Advanced search

    NOTE: if you have that file in your templates and overrides, then edit that one ...
    First answer is yes it is set to 0

    I have edited as you said on the second and the I SEE Value is blank!!!???!?!?!?!?!?!?

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Advanced Search Question (limit to category box)

    Edit your tpl_advanced_search_result.php

    and add this piece of code to test:
    Code:
    <fieldset class="floatingBox back">
        <legend><?php echo ENTRY_CATEGORIES; ?></legend>
        <div class="floatLeft"><?php echo zen_draw_pull_down_menu('categories_id', zen_get_categories(array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES)), '0' ,'', '1'), $sData['categories_id']); ?></div>
    <?php echo zen_draw_checkbox_field('inc_subcat', '1', $sData['inc_subcat'], 'id="inc-subcat"'); ?><label class="checkboxLabel" for="inc-subcat"><?php echo ENTRY_INCLUDE_SUBCATEGORIES; ?></label>
    <br class="clearBoth" />
    </fieldset>
    <?php echo 'What sdata: ' . $sData['categories_id']; ?>
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Width of "Limit to Manufacturer" under advanced search
    By elena1707 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 May 2011, 11:20 PM
  2. Advanced search Limit the manufacturers list
    By ladyink in forum General Questions
    Replies: 1
    Last Post: 9 Oct 2009, 04:10 PM
  3. Replies: 0
    Last Post: 27 May 2009, 06:59 PM
  4. Questions about "Limit to Manufacturer" in Advanced Search.
    By marshall in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 22 Jun 2007, 05:05 AM
  5. "Limit to Category" in Advanced Search defaults to subcateogry
    By lukemcr in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 11 Mar 2007, 04:26 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