[TYPO3-dev] deleting records on front end for custom tables with mmrelation
Artur Nankran
arturnankran at yahoo.com.br
Tue Sep 12 12:57:33 CEST 2006
What i find out is thah when i click delete the record from the table deleted , but the ones from the link table are not.
And the same thing happens in the backend, the records from the link table are not deleted, so now i think the best solution is to just make a configuration, so that the error messages will not appear, and the job will be done in the same way as it is done in the backend. What is good enough for me.
Just have to find out how to do it now.
And steffen, do you mean the field on the TCA? which delete field?
Steffen Kamper <steffen at dislabs.de> escreveu: Hi,
"Artur Nankran" schrieb im Newsbeitrag
news:mailman.8233.1157975531.6911.typo3-dev at lists.netfielders.de...
> Hello list, this is the problem that i have,
>
> I have a table with true MM relations, and so I have some link tables
> (mm tables), and I made it possible for the users to edit the records and
> also add new records by the front end, and this is working fine.
> But I am having problems with deleting records, when the button is
> pressed the following message appears:
>
> "Warning: mysql_fetch_row(): supplied argument is not a valid MySQL
> result resource in
> /usr/share/typo3/typo3_src-3.8.1/t3lib/class.t3lib_db.php on line 754"
>
> After that the record from the local table is deleted, but the one from
> the link table is not. I think that maybe this delete function is not
> made to support MM tables, but I am not shure, maybe someone could giveme
> some hint if there is a way to solve this problem.
>
> Cheers
> Artur Nankran
>
>
> ---------------------------------
> Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular.
> Registre seu aparelho agora!
best way to delete a record is to set the field delete=1, so one simple
update can be used for it.
vg Steffen
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
---------------------------------
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora!
More information about the TYPO3-dev
mailing list