[TYPO3] Menu and pids
Dan Osipov
dosipov at phillyburbs.com
Fri Aug 15 20:20:42 CEST 2008
Ok, I tried that, but it doesn't seem to work properly...
Here is the code:
marks.BREADCRUMBS.special = rootline
marks.BREADCRUMBS.special.value.data = GP: tx_ttnews|backPid
marks.BREADCRUMBS.special.range = 0
marks.BREADCRUMBS.1 = TMENU
marks.BREADCRUMBS.1 {
# Do stuff
}
The value of tx_ttnews[backPid] is completely ignored...
Am I doing something wrong?
Dan Osipov
Calkins Media
http://danosipov.com/blog/
Tyler Kraft wrote:
> yes
>
> get your menu to work right using an arbitrary value, that way you know
> it works.
>
> Then if you read TSref it stateas:
>
> ".special.value always has stdWrap-properties!"
>
> So from that you can get the value form the get variable
>
> hth
>
> Dan Osipov wrote:
>> We have a special page, that has a menu. What makes the page special,
>> is that it has to render the menu as if it were elsewhere in the
>> hiearchy, depending on the value of the _GET variable (which contains
>> the PID). Is it possible to fool TypoScript into thinking thats the
>> PID of the page and render the menu, when it actually isn't)?
>>
>>
More information about the TYPO3-english
mailing list