[Typo3-dev] tt_rating description is wrong, plugin is not working?

Dmitry Dulepov typo3 at fm-world.ru
Fri Feb 4 11:21:36 CET 2005


Well, to solve the problem I had to comment most of the code (excluding
"return 1;") of the locDataCheck in the tslib_fe.php. Even if I add missing
location data to tt_rating form using "locadtionData = 1" property, location
check still fails.

So the QUICK solution to tt_rating problems is to disable locDataCheck
function checks in the tslib_fe.php. Now it works as expected and without
any additional configuration.

I tried with official release of Typo3 3.7.0.

Dmitry.
----- Original Message ----- 
From: "Dmitry Dulepov" <typo3 at fm-world.ru>
To: "List for Core-/Extension development" <typo3-dev at lists.netfielders.de>
Sent: Friday, February 04, 2005 10:18 AM
Subject: [Typo3-dev] tt_rating description is wrong, plugin is not working?


> Hi!
>
> It appears that description of tt_rating plugin at
> http://typo3.org/extensions/repository/list/tt_rating/ is wrong :( My
> findings:
>
> ----------------------------
> Please note that the rating plugin is not enabled by default in typo3. You
> have to include the file rating_extTables.inc in typo3conf/localconf.php.
> Set in localconf.php:
> $typo_db_extTableDef_script = "extTables.php";
> ----------------------------
> There is no extTables.php in /typo3conf where localconf.php is located but
> there is one in /typo3/ext/tt_rating. Should I still put the mentioned
line
> (without a path to tt_rating directory) to localconf.php?
>
> -------------------------------------
> Add/set/uncomment in extTables.php:
> include(PATH_site."media/scripts/rating_extTables.inc");
> -------------------------------------
> There is no rating_extTables.inc in media/scripts/ directory at all.
> Interstingly, ext_typoscript_setup.txt for this plugin sets processScript
to
> EXT:tt_rating/pi/rating_submit.inc.
>
> Does anyone have an up-to-date information about setting up tt_rating
> plugin?
>
> Does tt_rating work with TemplaVoila-based sites? I tried to insert it
with
> "RESULT,VOTEFORM" codes but it always tells me "This page is not rated yet
"
> after I submit a rating. I see new records in the tt_rating table but
there
> are only zero values there...
>
> Dmitry.
>
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>





More information about the TYPO3-dev mailing list