[Typo3] Tip-a-friend as popup
Darryl Krause
darrylk at ywam.no
Thu Mar 10 14:07:31 CET 2005
Hi Jerker and Jens
I just came across your thread in the list while looking for an answer to this issue myself. How do you setup Tip-a-friend as popup?
Well you did find some solutions, but since I came across another (cleaner) solution I will add my comment to this thread. So others can read it.
Forget about the "Open.window" function or "target = _blank" (or _new). You just need to add the pop-up window dimensions to the typolink.parameter...
>From your example this would be:
marks.TIP.typolink.parameter = 48 600x400
This would open page id 48 in a clean new pop-up window width 600 and height 400. This works for me anyway.
This seems to be a standard feature of typolink which can be used also in other contexts. Read more about this under "Parameter" and "Open in windows with fixed dimensions" in TSref...
http://typo3.org/documentation/document-library/doc_core_tsref/typolink/
Hope this helps some others.
Regards,
- Darryl Krause (darrylk)
-----------------------
This thread is located in the archive at this URL:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/48547/
> Jens Hoffmeier wrote:
> > Hi.
> > I have Problems with the extension tip-a-friend.
> > I just want to put it in as a popup. My setup is this:
> >
> > marks.TIP = USER
> > marks.TIP.userFunc = tx_tipafriend->main_tipafriend
> > marks.TIP.templateFile = fileadmin/tip_a_friend_template.tmpl
> > marks.TIP.code = TIPLINK
> > marks.TIP.typolink.parameter = 48
> > marks.TIP.typolink.target = _new
> >
> > You see it appears in a new window and not in a popup. I know that i have to
> > call the Open.window function, but i don`t know the corect
> > TypoScript-Settings.
> >
> > thank you for help
> >
> > Jens
> >
> Try to change _new to _blank
>
> marks.TIP.typolink.target = _blank
>
> /Jerker Larsson
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list