[TYPO3] real url doesn't substitute a variable ([ for %5B problem?)

Dmitry Dulepov 9f4eetb02 at sneakemail.com
Tue May 8 14:12:38 CEST 2007


Hi!

Rens Admiraal wrote:
> I have made a menu using the user_menuFunc  class posted by Peter Klein 
> on typo3wizard 
> (http://www.typo3wizard.com/en/snippets/menus/create-menus-using-data-from-other-tables-than-pages.html). 
> 
> 
> With additionalParams.wrap I add a variable to the URL with brackets in 
> it. I want this to be substituted by real url (it should show the 
> groupname). Unfortunately this doesn't work, and it gives urls like:
> http://www.kunstboekwinkel.nl/nc/webshop/?tx_AmbitionWebshopFE_pi1%5Bpgroup%5D=6 
> 
> 
> What am I doing wrong?

You did not provide variable name for replacement. I.e. realurl does not 
know what to use instead of "tx_AmbitionWebshopFE_pi1[pgroup]". Here is 
wrong piece of code:

>             '_DEFAULT' => array(
>                 array(
>                     'GETvar' => 'tx_AmbitionWebshopFE_pi1[pgroup]',

Checks docs for correct format.

-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)


More information about the TYPO3-english mailing list