[TYPO3] Getting parent id in menu

Christopher Torgalson bedlamhotel at gmail.com
Tue May 22 20:26:28 CEST 2007


Hi,

On 5/22/07, Patxi Goitia <pgoitia at euskalnet.net> wrote:
> The two versions of the problem is typo error...
>
> I want to maintain the original id of the page, but I want to add an
> extra 'parameter' to control who is the parent.
>
> pid seems a good start, but I need it in additionalParams and not in field.
>
> If I do this:
>
> typolink.additionalParams.data = pid I get a blank 'response', but if
> work great as you said in field= pid.
>
> Besides, I need to have the first level's id in all childs:
>
>   Root (id=1)
>      |
>      |___Food (id=3)
>            |______ Veggies (id=6)
>            |______ Meat (id=7)
>                |
>                |______ Poultry(id=25)
>
> I need the link to Poultry to be: id=25&section=3



Before we go any further, what are you trying to achieve (e.g. /why/
do you need 'section=x' in the url)? There may be other, easier ways
to do it in TYPO3.


-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list