[TYPO3-english] CoolURI and standard search
Axel Joensson
a.joensson at web.de
Wed Feb 24 18:23:04 CET 2010
Hello,
for just two days I am using CoolURI 1.0.19 (having moved from realURL,
which somehow didn't work out for me) within a one-domain, one-tree
multilanguage (de = 0, en = 1, japanese [in process] = 2 and [coming
soon] chinese = 3) typo3 4.2.10 installation and it works like a charm,
except one strange detail: The integrated standard (not the indexed!)
search behaves strangely.
Being called, the default German search form appears as defined under
example.com/suche.html, the English version under
example.com/en/search.html. However, the German form never shows query
results, while the English does as desired, but: The English query
results appear under example.com/en/suche.html, so, as if it was the
German search form ...? As I just saw, I have not defined search target
pages in the definitions of these content elements, may that be a
reason?
Here comes the source of both search forms, as displayed in browser:
German form:
<form action="suche.html" id="mailform" name="mailform"
enctype="multipart/form-data" method="post" onsubmit="return
validateForm('mailform','','','','')"><div style="display:none;"><input
type="hidden" name="stype" id="mailformstype" value="L0" /><input
type="hidden" name="locationData" value="67:tt_content:575" /></div>
("67" is the page id, "575" the id of the content element of the type
"Suchen" in German, in the English version this content element has the
id "586")
English version:
<form action="en/suche.html" id="mailform" name="mailform"
enctype="multipart/form-data" method="post" onsubmit="return
validateForm('mailform','','','','')"><div style="display:none;"><input
type="hidden" name="stype" id="mailformstype" value="L0" /><input
type="hidden" name="locationData" value="67:tt_content:586" /></div>
Why does the German form not work, and why is the English version
working, though calling the "wrong" action "en/suche.html" (as though
may be expected looking at the 'value="L0"'-parameter)?
Among the "Cached links", there also appears the English query result as
"en/suche" with parameters "L=1&id=67&no_cache=1". The German form only
is listed as "suche" with id=67.
Any help appreciated ...
Regards,
Axel
More information about the TYPO3-english
mailing list