PDA

View Full Version : Problems moving search box into index.html


Alex Mann
21-Oct-2003, 03:35 PM
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?

Nadeem
22-Oct-2003, 09:01 AM
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

Alex Mann
22-Oct-2003, 09:15 AM
Ok I tried that but still getting the same problem with the search box on the index.html page.

Any other ideas?

Alex Mann
28-Oct-2003, 10:15 AM
Still having the same problems *bump*

Nadeem
28-Oct-2003, 10:25 AM
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

Alex Mann
28-Oct-2003, 10:49 AM
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?

cdicken
29-Oct-2003, 01:01 PM
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.

Alex Mann
29-Oct-2003, 01:36 PM
That did it, many thanks.