[TYPO3-core] RFC: Bidirectioanl MM relations

Franz Holzinger franz at fholzinger.com
Thu Sep 7 12:39:46 CEST 2006


Hello Karsten,

> On Wednesday 06 September 2006 17:39, Franz Holzinger wrote:
> > P.S: I would also like to get rid of the necessity to have a 'pid' field
> > for all tables. This is to be able to use any sql table from some PHP
> > code unmodified.
> 
> You can use any table you want with your PHP code, but as long as you want to 
> edit it with the help of the BE, there has to be a PID, so it can be shown on 
> a page.
> 
> The only way around this would be to treat tables without pid as if they had 
> pid 0, I'd say.

Yes, I would like to have it this way. And an new TSconfig for TCA could
be added to a table without 'pid', e.g.

It could be defined by this like as documented here
http://typo3.org/documentation/document-library/references/doc_core_tsconfig/current/view/1/2/

TCAdefaults.table_without_pid {
  pid = 125
}

Then the table 'table_without_pid' would be shown in the page tree and
list module on page 125. There would be only a virtual TCA for the
column 'pid' without a real column 'pid' in the table.

If you agree I would open a feature request for it at
http://bugs.typo3.org and help with coding.


Greets,

Franz







More information about the TYPO3-team-core mailing list