Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2005
    Posts
    78
    Plugin Contributions
    0

    Default Ajax Yahoo menu does not seem to work

    I am running 1.3.2 and just installed the yahoo menu by ajax for my categories sidebox. First of all there is a categories.php file have i am confused where it goes, does it replace the file in the modules/sideboxes or does it replace the file in admin folder? Regardless to say i have tried both with no success. The problem is when i click on a category with sub-categories. It brings up a box saying "There was a problem with the request", it works fine when i don't have any sub-cats, but if i do it just stalls. So i don't know if i was suppose to edit some more files or what, but the install.txt didn't say to do anything. I appreciate all the help from community.

    Thanks,

    Brad

  2. #2
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default Re: Ajax Yahoo menu does not seem to work

    There is a thread related to this module, please refer to it for more info.
    Yahootreemenu with ajax.

    For the categories.php, put in the root directory of your Zen Cart install.

    .
    A New Starter again

  3. #3
    Join Date
    Oct 2005
    Posts
    78
    Plugin Contributions
    0

    Default Re: Ajax Yahoo menu does not seem to work

    i appreciate the suggestion but i have read that post twice before i ever posted. After about hour of debugging i realized the directory is not openning because one of my categories name uses a "&" symbol. So some where in the help file it should say DON"T USE "&" with this module.


    Thanks

    Brad

  4. #4
    Join Date
    May 2004
    Location
    Hong Kong
    Posts
    1,291
    Plugin Contributions
    1

    Default Re: Ajax Yahoo menu does not seem to work

    Some reference.
    unescaped & which should be written as &
    Cause:

    "&" in HTML is a special character to note the beginning of a entity, like "&nbsp".
    In XHTML, a entity must also end by a ";", for example " "
    Solution:

    Please replace "&" by "&"

    BAD Smith & son
    And this also related to some other codes, please refer to related docs.

    .
    A New Starter again

  5. #5
    Join Date
    Oct 2005
    Posts
    78
    Plugin Contributions
    0

    Default Re: Ajax Yahoo menu does not seem to work

    Your a smarter better person then me seethrou, i appreciate the help. I will make sure i watch out for that in the future.

  6. #6
    Join Date
    Feb 2006
    Posts
    58
    Plugin Contributions
    1

    Default Re: Ajax Yahoo menu does not seem to work

    Quote Originally Posted by bradlawson
    i appreciate the suggestion but i have read that post twice before i ever posted. After about hour of debugging i realized the directory is not openning because one of my categories name uses a "&" symbol. So some where in the help file it should say DON"T USE "&" with this module.
    Hi!
    This is my mistake.

    To fix it:
    in the file /categories.php (in the root, not in the /includes/modules/sideboxes), line ~36

    Replace

    $categories[$groups_cat->fields['categories_id']]['categories_name'] = $groups_cat->fields['categories_name'];

    With

    $categories[$groups_cat->fields['categories_id']]['categories_name'] = htmlentities($groups_cat->fields['categories_name']);


    Good luck!
    Andrew.

 

 

Similar Threads

  1. Base price plus attribute does not seem to work for me
    By danilyn22 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 25 Mar 2011, 02:00 AM
  2. Google base feeder installed but does not seem to work!
    By antpez in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 19 Oct 2009, 10:54 PM
  3. Commenting PHP Files - Does Not Seem to Work
    By DBB1 in forum General Questions
    Replies: 5
    Last Post: 17 Jan 2009, 09:20 AM
  4. How can i integrate Yahoo Menu Ajax
    By sumway in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 12 Dec 2008, 10:44 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR