[TYPO3-templavoila] typolink.parameter to open in new JS window

Dmitry Dulepov [typo3] dmitry at typo3.org
Thu Sep 6 10:22:00 CEST 2007


Martin Adler wrote:
> after pulling my hair out on this one for hours, I thought before it's all
> gone, I will seek help here. I must admit that I might have missed it while
> googling or searching the wiki/newsgroup.
> I am trying to have a typolink of an image open a page inside a fixed-sized
> JS popup window (no addressbar etc). This is of course inside a FCE. TSref
> shows me this nicely in section 5.8 under parameter.
> So I try to do the following in the DS:


>         10.stdWrap.typolink.parameter = 1 230x450:resizable=0,location=0
>         10.stdWrap.typolink.parameter.field = field_link1
> </TypoScript>
> It somehow ignores the first parameter completely. I have been able to get a
> new window via typolink.target = _blank but this is not at all what I want.
> Please open my eyes on this one.
> PS: Dmitry, I am up for a riddle if it is that trivial. ;-)

:) The second overrides the first. This is how it works in stdWrap. 
"field" overrides whatever you assigned directly. I guess you wanted this:

10.stdWrap.typolink.parameter.field = field_link1
10.stdWrap.typolink.parameter.wrap = | 230x450:resizable=0,location=0

Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs

More information about the TYPO3-project-templavoila mailing list