![]() |
| | LinkBack | Themen-Optionen | Thema bewerten | Ansicht |
|
#1
| ||||
| ||||
Hi Leute, hat jemand von euch tt_rating oder ähnliches im Einsatz, um einzelne News bewerten zu können? Wenn ja, was und wie. Über sachdienliche Hinweise freut sich, Michael
__________________ Aus gegebenem Anlass mal eine neue Signatur: Kein Support per PN! |
|
#2
| |||
| |||
| Zitat:
I have the same problem. Could you please share the solution? Thanks, Pavlo. |
|
#3
| ||||
| ||||
| Yo, dies ist möglich. Folgendes ins TYPOSCRIPT Setup einfügen: Typoscript-Code:
Im Plugin musste ich folgende zeilen anpassen ca. Zeile 102, der call für createNewItem darf nicht auskommentiert sein // I'm not sure if this would be good $items[] = $this->createNewItem($pid, this->rateTable.'_'.$this->rateTableUid); ca Zeile 135, damit das form nicht angezeigt wird wenn ein user schon gevotet hat, check ob cookie existiert case 'VOTEFORM': if (!$GLOBALS['register']['tx_ttrating'][$item['uid']]['submittedRating'] AND !isset($GLOBALS['HTTP_COOKIE_VARS'][$cookieName])) { ca. Zeile 282, $recordLink ist ein funktionsargument, rest auskommentiert function createNewItem($pid=0,$recordLink) { $pid = $pid ? $pid : $GLOBALS['TSFE']->id; //$recordLink = ''; //if ($this->rateTable AND $this->rateTableUid) { // $recordLink = $this->rateTable .':'. $this->rateTableUid; //} Danke an alani. |
|
#4
| ||||
| ||||
| Hi Leute, Also bei mir Funktioniert das nicht. Hab alles so gemacht wie es hier, resp hier steht. Ich hab den Code ins TS geschriben, das Plugin angepasst, auf der SIngle-Page von tt_news ein tt_rating Plugin platziert. Das ist auch Sichtbar, doch wenn ich bewerte werden automatisch alle News bewertet, d.h. die News-ID wird irgendwie nicht übergeben. Kann mir jemand weiterhelfen? Gruss BENCH |
![]() |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
| |
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| RTE funktioniert nicht | borobudur | TYPO3 4.x Fragen und Probleme | 4 | 16.06.08 08:30 |
| tt_rating - Rendering | huskarlar | Alle anderen Extensions | 0 | 30.05.08 18:05 |
| ts_lastupdate funktioniert nur im IE | Michael V83 | Alle anderen Extensions | 1 | 06.12.07 09:51 |
| Quickstart und nix funktioniert | Baxter | TYPO3 4.x Installation und Updates | 1 | 21.06.07 09:33 |
| Wie funktioniert das mit dem Cache? | ziczac-stoffe | TYPO3 4.x Fragen und Probleme | 0 | 24.04.07 08:11 |