[TYPO3] RealURL manipulating FORM code of sr_language_select?
Jochen Rieger
j.rieger at connecta.ag
Thu Jun 22 11:57:29 CEST 2006
Hi Dmitry,
>> <option value="/index.php?id=9&L=1"
>> class="option-/index.php?id=9&L=1">English</option>
>> <option value="/index.php?id=9&L=2"
>> class="option-/index.php?id=9&L=2">Français</option>
>
> This does not look like RealURL code at all. I have several sites with
> RealURL+sr_laguage_selector in them but never saw such behavior.
this was the code that gets outputted when you just install the
extension without setting it up in TS config.
When you switch it on, of cause the option values look different. Like
<option value="/de/startseite.html"
class="tx-srlanguagemenu-pi1-option-/de/startseite.html">Deutsch</option>
<option value="/en/home.html"
class="tx-srlanguagemenu-pi1-option-/en/home.html">English</option>
Still it messes up the CSS class value. But I am already about to fix it
and send a patch to Stanislas.
Could you check, if you experience the same thing with the CSS class
attribute?
Thanks and regards,
Jochen
P.S.: Still there is a problem if you run your website in a subdir and
not on the webserver root. e.g. http://localhost/myWebsite/index.php...
I'm trying to fix this by reading the baseURL setting and use php's
parse_url on it.
More information about the TYPO3-english
mailing list