Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2012
    Location
    Iver, Bucks, UK
    Posts
    16
    Plugin Contributions
    0

    application error New Category doing strange things!

    website: www.tomopartstest.co.uk

    If you take a look at the site you will see two category boxes, one is Genuine Ford & Motorcraft which works fine. The other is MASSIVE Transit Parts Sale which does not! When I view Code Source from Google Chrome I can see the difference in the code between lines 116 & 124 where the sf-menu is doing two different things. I have no idea whether I should be able to reset something in the Admin panel or whether I should be editing the PHP. Can soomeone with knowledge please take a look and let me know...I'm betting it's something simple but I've been wandering in a wilderness for a couple of hours now...if you need more detail please shout. Thanks for reading...

  2. #2
    Join Date
    Apr 2012
    Location
    Iver, Bucks, UK
    Posts
    16
    Plugin Contributions
    0

    Default Re: New Category doing strange things!

    Ok, so I'm no further forward! I still have what appears to be 3 iterations of the dropdown menus showing on the MASSIVE Transit Sale page, none of the other pages are doing this, I can't see why...is it possible to edit a single page's layout?

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,966
    Plugin Contributions
    25

    Default Re: New Category doing strange things!

    Your dropdowns are configured to show the right set when a particular top category (Ford, Citroen, Peugeot) is selected, but there is apparently no provision for limiting the display when the Sale category (which is the only top cat with products instead of subcats) is active. All three sets of dropdowns are showing at once.

    Some kind of style rule may be able to fix this; you might also need something in the javascript, but I couldn't help with that.

  4. #4
    Join Date
    Apr 2012
    Location
    Iver, Bucks, UK
    Posts
    16
    Plugin Contributions
    0

    Default Re: New Category doing strange things!

    Thanks for looking! When I "view source" in a browser I can see that the error between a page that works fine and the Sale page that obv doesn't. The difference appears to be one small line of code...the one that works says (before the list of menu items) "<div id="tab1" Style= "display: none:"> and the ones that fail say (before)<div id="tab1"

    If I knew where to find that code I think I might be able to edit the code, save and 'Put' and job done but I can't find where the code lives...if anyone has THAT answer I'd be very grateful indeed!

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,966
    Plugin Contributions
    25

    Default Re: New Category doing strange things!

    I expect that code is built dynamically based on criteria like what the current page or cPath is. You won't find code that straight out says <div id="tab1" Style= "display: none:">, but some PHP that creates the (usually) correct set of HTML tags for the category being processed. Obviously there is some oversight in the code that doesn't account for some aspect of your Sale category. The code to edit would be in one of the files for your dropdown mod (which might be embedded in template files if it came with your template).

  6. #6
    Join Date
    Apr 2012
    Location
    Iver, Bucks, UK
    Posts
    16
    Plugin Contributions
    0

    Default Re: New Category doing strange things!

    That's a help, thanks, I shall take a look and see what I can find out. Again, I appreciate your guidance.

 

 

Similar Threads

  1. Googlebot doing stange things
    By creamcrackers in forum General Questions
    Replies: 0
    Last Post: 10 Aug 2009, 08:03 PM
  2. Store Pickup module doing strange things
    By briankstan in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 3 Sep 2008, 10:10 PM
  3. Strange shifting of things in FireFox
    By BouncerFL in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Sep 2007, 11:16 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
  •