[TYPO3] pdf_generator2 and realurl

Dmitry Dulepov typo3 at accio.lv
Fri Jul 7 10:51:14 CEST 2006


Hi!

Daniel wrote:
> I've installed the extension 'pdf_generator2' and it works flawlessy.
> The only snag is the makePdfLink function (which can be called via
> typoscript). This method generates a "usual" link (e.g.
> http://.../index.php?id=...&type=123) and I wanted to know in which
> way I could modify this function to call a proper link function (e.g.
> typolink) to create a realurl-conform link.
 >
> The function I'm talking about is in a class (without parent class)
> and I don't know how to get to such an object on which a linking
> function can be called.

$GLOBALS['TSFE']->cObj->typolink()

Dmitry.
-- 
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)



More information about the TYPO3-english mailing list