[TYPO3-english] tt_news user funcs

Lamb, Brian blamb at jcvi.org
Tue Oct 28 16:33:10 CET 2008


I have added the following to a page that has a tt_news list item:

 

includeLibs.displayFileLinks =
fileadmin/template/main/scripts/php/func.related_news.inc

plugin.tt_news.itemMarkerArrayFunc = related_news

 

func.related_news.inc:

 

<?php

  function related_news($markerArray, $conf) { 

    echo '<pre>'.print_r($markerArray, true).'</pre>'; exit;

  }

?>

 

But it doesn't look like anything is happening. FWIW, I used the example
in res/example_itemMarkerArrayFunc.php file and got nothing. 

 

What am I doing wrong? 



More information about the TYPO3-english mailing list