[TYPO3-english] tt_news user funcs

Lamb, Brian blamb at jcvi.org
Wed Oct 29 12:49:57 CET 2008


Yes that was it. Thanks!

-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Dan
Osipov
Sent: Tuesday, October 28, 2008 12:00 PM
To: typo3-english at lists.netfielders.de
Subject: Re: [TYPO3-english] tt_news user funcs

All user functions must have a prefix "user_", otherwise they will not 
execute.

Dan Osipov
Calkins Media
http://danosipov.com/blog/

Lamb, Brian wrote:
> 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? 
> 
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list