TYPO3 API  SVNRelease
Functions
example_typolinkpop.php File Reference

Go to the source code of this file.

Functions

 user_typoLinkPopUp ($content, $conf)

Function Documentation

user_typoLinkPopUp ( content,
conf 
)

Typo Link PopUp EXAMPLE!

Id:
example_typolinkpop.php 10120 2011-01-18 20:03:36Z ohader

Revised for TYPO3 3.6 June/2003 by Kasper Skårhøj XHTML compliant

Author:
Kasper Skårhøj <kasperYYYY@typo3.com> Demonstrates how to make typolink tags (<link ...>) open in a pop-up window

Example can be found in the testsite package at the page-path "/Intro/TypoScript examples/Small Tricks/Making Pop-up links/" This TypoScript configuration will also demonstrate it:

tt_content.text.20.parseFunc.tags.link.typolink.userFunc = user_typoLinkPopUp includeLibs.popup = media/scripts/example_typolinkpop.php config.setJS_openPic = 1

page = PAGE page.10 < styles.content.get

(Plus the "content (default)" static template included as well)

Parameters:
arrayIn this case: An array with data you can use for processing; keys "url" and "aTagParams" contains something at least
arrayTypoScript array with custom properties for this function call.
Returns:
string Return the new tag
See also:
tslib_cObj::typoLink()

Definition at line 70 of file example_typolinkpop.php.

References $content.