[TYPO3-german] Sortierung einer Liste im BE

Philipp Gampe philipp.gampe at typo3.org
Sun May 28 14:15:47 CEST 2017


Hi David Brünner,

David Brünner wrote:

> Ich habe ein Modul geschrieben, das mir in einer Tabelle alle Einträge
> aus der Datenbank auflistet:
> [img]index.php/fa/17130/0/[/img]
> 
> Dann habe ich nach dem Vorbild des Buches 'TYPO3 Extbasee' von Patrick
> Lobacher ein Sort-Widget-View-Helper geschrieben um diese Liste sortieren
> zu können. Das funktioniert soweit sehr gut.
> 
> Das Partial für die Tabelle:[img]index.php/fa/17131/0/[/img]
> Das View für den Sort-Widget-View-Helper:[img]index.php/fa/17132/0/[/img]

Warum schiebst du das <th> nicht in das Widget rein, bevor du den <f:for> 
Viewhelper verwendest?

Grüße
-- 
Philipp Gampe – PGP-Key 0AD96065 – LFCS
TYPO3 CMS Certified Integrator – Certified Developer – Active contributor
TYPO3 ... inspiring people to share!



More information about the TYPO3-german mailing list