Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2009
    Posts
    414
    Plugin Contributions
    0

    Default Why is this link on my Main Page activating when a Manufacturer Is Selected?

    I added a link to a website on my main page, <div align="center"><script src="http://www.sheetmusicdirect.us/affiliates/searchBanner.jsp?affiliate=55280"></script></div></p>

    Now, if I click on a manufacturer from the sidebox, I am sent to the link instead of having the products from that manufacturer show up on the main page as before.

    What happened and how could it be fixed?

    I have so far found the manufacturers list in Admin-Catalog-Manufacturers, but I don't want to link to manufacturers. I just want all of the products from the manufacturer to be called when I click on the manufacturer.

    Also, I want to use the manufacturer's box for publishers also, and was thinking of putting a suffix or prefix, i.e., mfr or pub, on the manufacturer or publisher name, and was wondering if that would work to distinguish one from the other.

    Thanks, if anyone has any pointers on these questions.

  2. #2
    Join Date
    Mar 2009
    Posts
    414
    Plugin Contributions
    0

    Default Re: Why is this link on my Main Page activating when a Manufacturer Is Selected?

    Update on preceding question: The link only takes over the manufacturers sidebox on the main page. The link does not appear when in category views, and the manufacturers sidebox works as expected on pages other than the main page.

    I guess I would need to deactivate the manufacturers sidebox on the main page and have it show on sub-pages if I am to use the disruptive main page link.

    I would like to know the cause of this problem, though, if anyone has a thought on it, thanks.

  3. #3
    Join Date
    Jul 2005
    Posts
    537
    Plugin Contributions
    0

    Default Re: Why is this link on my Main Page activating when a Manufacturer Is Selected?

    It's too bad you didn't post a URL.

  4. #4
    Join Date
    Mar 2009
    Posts
    414
    Plugin Contributions
    0

    Default Re: Why is this link on my Main Page activating when a Manufacturer Is Selected?

    Chuck,

    Thanks for responding. I was working on my WAMP server and had deleted the products from my site which has not gone live yet. This a.m. I populated my site for purposes of review of this problem.

    See www.riverfrontsouth.com

    Thanks.

  5. #5
    Join Date
    Jul 2005
    Posts
    537
    Plugin Contributions
    0

    Default Re: Why is this link on my Main Page activating when a Manufacturer Is Selected?

    Tell sheetmusicdirect.us that their javascript needs rewriting.
    They open a <form> tag but don't close it. That's bad HTML coding, and is conflicting with the <form> used to display your manufacturer sidebox pulldown list.

  6. #6
    Join Date
    Mar 2009
    Posts
    414
    Plugin Contributions
    0

    Default Re: Why is this link on my Main Page activating when a Manufacturer Is Selected?

    Chuck,

    Thank you. I will certainly let them know. But for my contact to take me seriously, I would like to let him know what exactly needs to be done to their link, as I do not see a form tag in this link, although I do see a paragraph tag that is not opened but is closed (most likely I put that </p>in there for my page's purposes):

    <div align="center"><script src="http://www.sheetmusicdirect.us/affiliates/searchBanner.jsp?affiliate=55280"></script></div></p>

    Is there some code I could enter myself to close the form tag?

    My alternative is to research how to not show the Manufacturers sidebox on the main page but show it on subcategory and product pages.

  7. #7
    Join Date
    Jul 2005
    Posts
    537
    Plugin Contributions
    0

    Default Re: Why is this link on my Main Page activating when a Manufacturer Is Selected?

    Visit the link they gave you:

    http://www.sheetmusicdirect.us/affiliates/searchBanner.jsp?affiliate=55280

    You can see there that the javascript they use to inject their code into your page is written badly, and does not close the <form> they open.

 

 

Similar Threads

  1. Main Page Showing When Category Selected
    By Ranch Dog in forum General Questions
    Replies: 2
    Last Post: 23 Apr 2012, 05:44 PM
  2. Replies: 3
    Last Post: 27 May 2011, 05:45 PM
  3. why main page looks like this?
    By MonkeyDo in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 1 Jul 2009, 02:29 PM
  4. <B>Why does the MAIN PAGE BLANK when selecting products
    By steverf in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Feb 2007, 01:26 AM
  5. Replies: 3
    Last Post: 5 Dec 2006, 02:21 AM

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