Announcement

Collapse
No announcement yet.

Problems moving search box into index.html

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

    Problems moving search box into index.html

    I have transfered the code from the catalog index page to the index.html page for the site, changed the URL to account for the folder difference.

    However when I enter the same search phrase into the index.html page search box, and the search box in the catalog, it goes to exactly the same URL but the one from the index.html page has all broken image links.

    If you type the same search phrase into the two different pages you will see what I mean.

    http://www.feeling-flirtatious.co.uk/
    http://www.feeling-flirtatious.co.uk/acatalog/

    Any Ideas?

    #2
    Hi Alex

    Looking at your issue

    When going into the first site (The one with the issue)
    http://www.feeling-flirtatious.co.uk/

    I check the source and saw the BASEHREF to
    <Actinic:BASEHREF VALUE="http://www.feeling.intothenet.co.uk/acatalog/"/>

    The one thats does work
    http://www.feeling-flirtatious.co.uk/acatalog/

    The BASEHREF is correctly set to:
    Actinic:BASEHREF VALUE="http://www.feeling-flirtatious.co.uk/acatalog/"/

    This is the reason why you are getting broken images. On the first one, the basehref should be set to "http://www.feeling-flirtatious.co.uk/acatalog/"

    Kind Regards
    Nadeem Rasool
    SellerDeck Development

    Comment


      #3
      Ok I tried that but still getting the same problem with the search box on the index.html page.

      Any other ideas?

      Comment


        #4
        Still having the same problems *bump*

        Comment


          #5
          Hi there

          Are you using brochure pages? It looks like you are, now when i try to search using brochure pages, the basehref is looking at:
          http://www.feeling-flirtatious.co.uk/

          not

          http://www.feeling-flirtatious.co.uk/acatalog/

          Have you taken out
          <Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF" FORCED=NETQUOTEVAR:BASEHREFFORCED/>

          This should be in the Act_BrochurePrimary.html template, straight under </title>

          Please could you check this, and if it has been taken out, then simply put this back in.

          Kind Regards
          Nadeem Rasool
          SellerDeck Development

          Comment


            #6
            The index.html page was actually coded from scratch, and I simply copied and pasted over the bits of code for the search box from one of the catalog pages.

            I have tried both:
            http://www.feeling-flirtatious.co.uk/acatalog/
            and
            http://www.feeling-flirtatious.co.uk/

            as the basehref and both have the same problem.

            <Actinic:BASEHREF VALUE="NETQUOTEVAR:BASEHREF" FORCED=NETQUOTEVAR:BASEHREFFORCED/>
            I added to the page as well, but still the same problem.

            Any more suggestions?

            Comment


              #7
              Add the following hidden form field within the <form> tags for the search:

              <input type="hidden" name="ACTINIC_REFERRER" value="http://www.feeling-flirtatious.co.uk/acatalog/">

              That should do the trick.

              Comment


                #8
                That did it, many thanks.

                Comment

                Working...
                X