[TYPO3] typolink with cli / backend plugin

Klaus Hinum k_hinum at hotmail.com
Wed Feb 14 21:23:18 CET 2007


hi group,

my problem is that i want to create a typolink in a cli plugin but 
nothing works.

i have instanced tslib_pibase.php bug i always get errors if i call the
getTypoLink_URL function.

Something like this:
Fatal error: Call to a member function on a non-object in 
/srv/www/typo3_src/typo3_src-4.0.4/typo3/sysext/cms/tslib/class.tslib_content.php 
on line 5396

I have somehow found out that a missing cObj is a problem, but creating one:
$local_cObj = t3lib_div::makeInstance('tslib_cObj');
$local_cObj->start($row, 'tt_content');

does also not help.
Any ideas?

regards Klaus


More information about the TYPO3-english mailing list