Search field & send order form does not work on translated copy of site
Autor: Yannick Huys
Visitado 771,
Seguidores 1,
Compartilhado 0
http://www.dataqueen.be/index.html
Search field & order form works fine
http://www.dataqueen.be/frans/index.html
Here it doesn't work... strange (I copied the .CSV to create this site).
Ex.
http://www.dataqueen.be/imsearch.php?search=0122 = ok
http://www.dataqueen.be/frans/imsearch.php?search=0122 = not ok
Publicado em
Checkwhethertheprojectdirectoryin the"URL of the Web" under "General Settings1"asthetranshttp://www.domain.ext/dirisentered, otherwiseit showsonthe project's main directoryhttp://www.domain.extandmaynot work correctly.
RegardsJJ.
Autor
That is not the problem, then it would give me search results in the wrong language.
It is also not a problem with the submap because the same problem is in the root when I upload it directly to public instead of public/frans. (submap)
The php files are everywhere (both dirs, so it should at least find one or another) and both sites look 100% similar so it should be something minimal ; or / or sth the search field is not such a big issue ( can always delete that field) but same problem is when you add items to cart etc and then want to "order" it cannot "send the email" get an error then : "unable to set your order"
I'm sure both problems are the same I have some html knowledge but not really much the .php stuff. Both problems are same and it must be something with the .php. Even if I copy them from site 1 to the other it ... Maybe with the "unable to set your order" some reader rings a bell and knows the answer...
Autor
Solved it by copying the index.html french edition on the dutch one
Some minor details (ofcourse the engine now goes to the dutch version)
And the upper part of the landing page index seems to be in parts
1 upperpart
2 the menu bar
3 the index file the rest
QUESTION : somebody knows the names and dirs of the menubar and the upperpart. ?? they are not named header.html i guess or I looked over it.
Maybe a pro level question :
Is it possible (to manually) combine the engine search from language 1 with the engine from language 2
So that I both case if you talk french or eg english it searches both files....
Language 1 = search 1
Language 2 = search 2
Does it take a lot of programming to make 1 big search file of the words, how to "merger" them.
Because now you have to switch from NL TO UK (future) TO FR and it just searches that site then. (And maybe depending on the click that it auto switches to that language =)
Need a programmer I guess ;-)
Hello Yannick Huys,
I would suggest you in the french project to correct the url to http://www.dataqueen.be/frans/ since many functions it is necessary to have the correct url and you have in it http://www.dataqueen.be/
No the engine can only search inside the same project. The only way to make it work on both projects is to use a custom script.
The pages are not combined by more parts but single pages so there is not header.html file as example. Every page has it's own header incluede in the page code which is the exact copy like in the other pages.
Many thanks!