[Typo3-german] popup fenster in eigener ext.

JoH info at cybercraft.de
Fri Jul 15 12:57:15 CEST 2005


>>>> wie kann ich ein popup-fenster aus einer listenansicht zu einer
>>>> detail seite (mit anderer - editierbarer- Uid) realisieren?
>>>> Meine bisheriges Suchen in den Listen hat leider nix ergeben.
>>
>>> wie erreiche ich, dass der Link im Fensteraufruf die Variablen mit
>>> nimmt???
>>
>> Joey hat da letztens mal was erzählt. Wenn du der Typolink Funktion
>> als target Parameter nicht _blank, top oder sowas übergibst, sondern
>> 550*650 sollte die Funktion automatisch einen Popup-Link erzeugen.
>> So ähnlich ist es auch bei dem RTE-Linktool.
>>
>
> $this->pi_linkToPage($this->internal["currentRow"][$fN],65,550*650);
> 65= Zielseiten uid
>
> ergibt schön gerechnet:
> <a href="Anbieteransicht.65.0.html" target="357500">
>
> Hätte halt schon gerne pi_openAtagHrefInJSwindow benutzt, damit ich
> die Fensterausgabe mehr als nur über die Größe steuren kann.

Ich zitier mal aus dem Funktions-Set für cObj:

function typoLink($linktxt, $conf)

Implements the "typolink" property of stdWrap (and others)

Basically the input string, $linktext, is (typically) wrapped in a <a>-tag
linking to some page, email address, file or URL based on a parameter
defined by the configuration array $conf.
This function is best used from internal functions as is. There are some API
functions defined after this function which is more suited for general usage
in external applications.
Generally the concept "typolink" should be used in your own applications as
an API for making links to pages with parameters and more. The reason for
this is that you will then automatically make links compatible with all the
centralized functions for URL simulation and manipulation of parameters into
hashes and more.
For many more details on the parameters and how they are intepreted, please
see the link to TSref below.

$linktxt     string       The string (text) to link
$conf        array       TypoScript configuration (see link below)
Returns: stringA link-wrapped string.
 @see stdWrap(), tslib_pibase::pi_linkTP()
 @link
http://typo3.org/doc.0.html?&tx_extrepmgm_pi1[extUid]=270&tx_extrepmgm_pi1[tocEl]=321&cHash=59bd727a5e

Schau Dir unter dem Link mal "parameter" an und dann dürfte klar sein, wie
Du ein Popup-Fenster erzeugst

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau





More information about the TYPO3-german mailing list