[TYPO3-ttnews] Rating hook

Antonio Willybiro keiser_soze at hotmail.com
Sun Apr 9 13:24:07 CEST 2006


Hi,

Thanks a lot! for that, i'll try it now.
I was looking for smthg that would do both actually, admin can put default 
rate but users could also rate the article.
What you gave me is great already :)
Thanks again!

Antonio


"Kevin Renskers" <info at dualdot.nl> wrote in message 
news:mailman.1.1144575433.9687.typo3-project-tt-news at lists.netfielders.de...
> Well, that is weird.. I'll repost my email here...
>
>
> I saw your message on the tt-news group about rating functionality. I
> was not sure if you meant a function that let's YOU add a rating to a
> news article (extending it with an extra field) or if you wanted
> visitors to rate articles.
>
> If you want the first thing, then I made an extension that does just
> that, you can find it in the attachment. I use tt_news for game- and
> movie-reviews, works quite good.
>
> In your TS setup you need to following code:
>
> includeLibs.displayFileLinks = EXT:tt_news_rating/add_marker.php
> plugin.tt_news.itemMarkerArrayFunc = user_addRatingMarker
>
> You can then use a new marker ###RATING### in your template file. Good 
> luck!
> 





More information about the TYPO3-project-tt-news mailing list