[TYPO3] GETvars with redundant arguments in RealURL fixedPostVars

Steffen Müller typo3 at t3node.com
Thu Jul 17 13:08:56 CEST 2008


Hi,

we use a tagcloud (vge_tagcloud) with tags generated by keywords from 
tt_news and pages. The tags link to a results page (id=123) which has 
two FE plugins, one to render the list of pages (tx_vgetagcloud_pi2), 
the other for the list of news (tx_ttnews_pi SEARCH).

Tags have links with the following pattern:

http://foo.bar/?id=123&tx_vgetagcloud_pi2[keyword]=EXAMPLE&tx_vgetagcloud_pi2[pages]=3_44&tx_ttnews[swords]=EXAMPLE

In RealURL we use fixedPostVars for the results page:

'fixedPostVars' => array(
   '123' => array(
     array (
       'GETvar' => 'tx_vgetagcloud_pi2[keyword]',
     ),
     array (
       'GETvar' => 'tx_vgetagcloud_pi2[pages]',
     ),
     array (
       'GETvar' => 'tx_ttnews[swords]',
     ),
   ),
),

This renders the above link to:
http://foo.bar/topics/EXAMPLE/3_44/EXAMPLE/

You see, the keyword is used two times, one time for tt_news and one for 
vge_tagcloud.
Is there a solution in RealURL to get rid of this redundancy? Is GETvar 
somehow able to process one argument to several vars?
Or is there another way to solve this?

Thanks in advance.

-- 
cheers,
Steffen


More information about the TYPO3-english mailing list