[TYPO3] Add param in pid conditionally

Surajit surajit at srijan.in
Fri Mar 3 11:00:39 CET 2006


Hi All,

Can anyone please tell me How-to add a parameter along with the pid 
depending on condition in menu using Typoscript
Like,

lib.subMenu2.1.NO {
allWrap =    |*|   |    |*|
subst_elementUid = true

[globalVar {elementUid}=23]
    beforeWrap = <a href="?id={elementUid}&magazine_id= | &action="del"">
[else]
    beforeWrap = <a href="?id={elementUid}&magazine_id= | ">
[end]

before.data = global:HTTP_GET_VARS|magazine_id
after = </a>
doNotLinkIt = 1
}
//

Thanks,
Surajit
Srijan Technologies, India.



More information about the TYPO3-english mailing list