Hi,
ich habe ein Modul, wo ich gerne eine Tabelle sowohl als Parent als auch Child nutzen möchte. Mit dem Onload-Callback kann ich den Sorting-Mode ja entsprechend auf den Mode 4 stellen. Aber leider erhalte ich immer folgende Meldung:
PHP-Code:
Fatal error: Uncaught exception Exception with message Query error: You can't specify target table 'tl_xxx_post' for update in FROM clause (DELETE FROM tl_xxx_post WHERE NOT EXISTS (SELECT * FROM tl_xxx_post WHERE tl_xxx_post.pid = tl_xxx_post.id)) thrown in system/modules/core/library/Contao/Database/Statement.php on line 293
Was soweit auch erstmal nicht wirklich falsch ist. Ich könnte natürlich auch den Treeview-Mode nehmen, aber eigentlich hätte ich gerne die Darstellung wie im Mode 4. Gibt es da eine Möglichkeit?
Grüße
Chris
Lesezeichen