[Typo3] simulate static? pros and cons

Alexander Heidl aheidl at fulcio.co.uk
Mon Oct 3 20:01:49 CEST 2005


Quoting bugtracker info:
>>>
The 3.7 language menu generates a faulty URL for language switch. When
rendering a page with the L querystring in the URL (e.g.
index.php?id=10&L=2), the links in the language menu contain two L query
strings (e.g. index.php?id=10&L=2&L=1).

This seems to happend only then L is in config.linkVars.
<<<

This doesn't harm the language switch as long as you do not use
simulateStatic. The second L variable will override the first instance when
queried with GET. But in simulateStatic the notation of the variables is
reversed; hence the switch will not work as the current language variable is
added after the switch variable. So once you run into the situation with
double L variables in the URL string then you  cannot switch language
anymore.

My t3-3.8.0 installation still does that! Also see
http://lists.netfielders.de/pipermail/typo3-english/2005-March/002666.html

Any clues?


-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Jay Austad
Sent: 03 October 2005 19:52
To: TYPO3 English
Subject: Re: [Typo3] simulate static? pros and cons

I really like the look of the RealURL extension.  What is the  
postVars bug the people speak of?
On Oct 3, 2005, at 12:48 PM, Alexander Heidl wrote:

> Well ... as I just have posted I ran into problems with  
> simulateStatic when
> config.linkVars adds the L variable twice. In this case  
> simulateStatic will
> break the language menu.
>
> Currently I am still trying to find out why my t3-3.8.0  
> installation still
> does this. See bug tracker id 490 at http://bugs.typo3.org/view.php? 
> id=490
>
> If theres anyone whos got a solution to that please lelt me know.
>
> Br,
>
> alex
>
> -----Original Message-----
> From: typo3-english-bounces at lists.netfielders.de
> [mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of  
> Jay Austad
> Sent: 03 October 2005 19:41
> To: TYPO3 English
> Subject: Re: [Typo3] simulate static? pros and cons
>
> So, the general consensus seems to be to definitely use
> simulateStatic or RealURL.  Do any extensions have problems with  
> these?
>
> On Oct 3, 2005, at 4:02 AM, Jean-Baptiste Rio wrote:
>
>
>> Dmitry Dulepov wrote:
>>
>>
>>> Hi!
>>>
>>> Jay Austad wrote:
>>>
>>>
>>>
>>>> Can anyone give me a list of reasons why I might want to simulate
>>>> static pages?
>>>>
>>>>
>>>
>>>
>>> Much better Google indexing -- much more visitors to your site.
>>>
>>> Urls are easier to remember -- looks more atractive (compare
>>> "http://mydomain.com/index.php?id=25843" with
>>> "http://mydomain.com/Cheapest_auto_parts.25843.html").
>>>
>>> Dmitry.
>>>
>>>
>>
>> +1
>>
>> Google indexing is the most interesting reason.
>>
>> Plus, the fact that it is Typo3 core function and not an external
>> extension. It works fine, it's fast and, for my point of view, the
>> best
>> advantage is that it's MySQL free-consuming (no intermediate table
>> as it
>> is in the my RealURL extension, if i remember well).
>>
>> Just M2P
>>
>> Jean-Baptiste
>> _______________________________________________
>> Typo3-english mailing list
>> Typo3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>>
>>
>
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
>

_______________________________________________
Typo3-english mailing list
Typo3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english





More information about the TYPO3-english mailing list