[TYPO3-english] linkVars: add configurad GET variable names for every pages
Matyi Gábor
gmatyi at freemail.hu
Mon May 10 20:33:33 CEST 2010
Hi,
thanks, at least I put simple "config.linkVars = L, tt_products, var" in
my ts.
But now there is a new problem with the linkvars. If I browse a
tt_product single page, and I browse to another page, every linkvars
remain in the url.
f.e. I browse the page: index?id=23&L=2 . From here I browse a product,
so I get to the page
index?id=17&L=2&tt_products[backPID]=23&tt_products[product]=5&tt_products[cat]=2&cHash=e8030996f7dc8792
and if now I browse forward, every pages get the
L=2&tt_products[backPID]=23&tt_products[product]=5&tt_products[cat]=2&cHash=e8030996f7dc8792
linkvars.
f.e. If I open the page index?id=1, in this case the index?id=1&L=2
should open, and not the
index?id=1&L=2&tt_products[backPID]=23&tt_products[product]=5&tt_products[cat]=2&cHash=e8030996f7dc8792
Gabor
On 07/05/10 15:44, Xavier Perseguers wrote:
> Hi,
>
>> I'd like to put this in my linkVars
>>
>> config.linkVars = L, tt_products[backPID], tt_products[product],
>> tt_products[cat], cHash
>>
>> because the GET variable name is tt_products[backPID], but
>> unfortunately the [] charater has other meanig in the linkvars.
>
> using
>
> config.linkVars = L, tt_products|backPID, tt_products|product,
> tt_products|cat, cHash
>
> should do the trick.
>
More information about the TYPO3-english
mailing list