Announcement

Collapse
No announcement yet.

search page to show section menu

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    search page to show section menu

    I have a customised menu on my primary page which i need to display on my search results page.....the menu is still generated dynamically but because its not present on the search results page im getting a javascript error which causes my whole page to break apart....i mention this in another post but had no reply.....i either need a way to make the yahoo sections display in the saearch results...OR...change the template that the results page uses..i.e. not act_primary.html.

    any help/advice greatly appreciated

    #2
    The reason you're not getting any answers is because we don't know what you've done with your custom menu so its kind of hard to say what you've done wrong.

    A link to the problem site would probably be enough to get a few people helping.

    Mike
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

    -----------------------------------------

    Comment


      #3
      http://www.happybeavers.co.uk/

      heres the site which i put in the prev post.....all ive changed in the menu is the way its displayed...so its a drop menu.

      for example if you search in the quicksearch for the word (beaver) for example you see it gives teh javascript error this.menu is null or not an object...presumable because the menu doesnt get generated on that page.

      Comment


        #4
        This is missing from the search result page header
        Code:
        <SCRIPT LANGUAGE="JavaScript" SRC="acatalog/sdmenu.js" TYPE="text/javascript"></SCRIPT>
        just before this
        Code:
        <script type="text/javascript">
        // <![CDATA[
        There may be more. I just compared the source of the index page and search results page and that was the most obvious difference

        Comment


          #5
          Hi, Thx for a reply.

          The sdmenu.js file is there but its locating it from a different directory due to the baseref.....
          <SCRIPT LANGUAGE="JavaScript" SRC="sdmenu.js" TYPE="text/javascript"></SCRIPT>
          all relevent files are there its just down the the menu not being used on this page.....similar to when you view the cart it doesn't show the menu.

          the difference is i can specify a different template for the cart pages which i dont need the menu in.....but you cant specify a different template for the search pages which seems daft as i dont want my search page using the same template as my catalog.

          i wondered if there was any way i could locate in the perl files where it tells the catalog which template to use for the search pages.

          thanks for taking a look though.

          Comment


            #6
            Hi,

            i wondered if there was any way i could locate in the perl files where it tells the catalog which template to use for the search pages.
            Not in v7 I'm afraid, but you can in v8.
            ********************
            Tracey
            SellerDeck

            Comment


              #7
              Hi Tracey,

              so basically the search results page HAS to look like my act_primary....i cant change it at all?

              theres no way around it?

              thx

              Comment


                #8
                Hi,

                You can't change it in v7. The primary template for the search results is fixed in the C++ code of the software. There is no way to change it.
                ********************
                Tracey
                SellerDeck

                Comment


                  #9
                  There is no way to change it.
                  So you are saying that there is really no way to change it at all, never ever, even on a monday?

                  Comment


                    #10
                    So you are saying that there is really no way to change it at all, never ever, even on a monday?
                    Not if there is a 'y' in the day
                    ********************
                    Tracey
                    SellerDeck

                    Comment


                      #11
                      Not if there is a 'y' in the day
                      Ahhhh - I understand now, thats much clearer

                      Comment


                        #12
                        cumon......theres no need to take the biscuit...i just wanted to be sure.

                        Comment


                          #13
                          i just wanted to be sure
                          me too......

                          Comment


                            #14
                            Sorry about that - but yes, just to confirm, the search results page in v7 is hard-wired to use the overall layout selected for the checkout. We've removed these restrictions in v8, but unfortunately, in v7 there is no way around them.
                            ********************
                            Tracey
                            SellerDeck

                            Comment

                            Working...
                            X