[TYPO3-dev] Unset a field in the page properties?

Mario Rimann typo3-coding at rimann.li
Thu Jul 27 09:21:34 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mario Rimann schrieb:
> I have an extension that extends the pages table with a new field. It's
> a database relation to a table that contains person records. The field
> in the page settings is used to save a contact person for this page.
> 
> When I create a new page, no person is set. But if I once set a person,
> I cannot wipe out this selection. The only solution I found is to use
> phpmyadmin and manually clean this field.
> 
> What's the trick to do this? I couldn't find it yet. Any help is very
> appreciated!

I found a solution by myself:

- - added a pages_person_mm table that holds the connections
- - changed TCA to reflect this change
- - changed the SQL-Queries

Cheers,
Mario
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEyGl+5yAXgAWej3wRAhr7AJ9xPEOl2gbkBel1gc4/nTad1B3ZOQCeOLQL
XAutrhX8oSWoTqVnb0xu6CY=
=GePt
-----END PGP SIGNATURE-----




More information about the TYPO3-dev mailing list