[TYPO3-core] RFC: Bidirectioanl MM relations

Kasper Skårhøj kasper2006 at typo3.com
Thu Sep 7 15:14:47 CEST 2006


No,

For any table that doesn't have it you just create the "pid" field.  
You would have to use the "uid" field as well. Those are the two only  
required fields and it is really not much to ask for. this is a non- 
issue,

- kasper


On Sep 7, 2006, at 12:39 , Franz Holzinger wrote:

> 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
>
>
>
>
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core



- kasper

"Gimme Five!"
-------------------------------
kasper2006 at typo3.com | +45 20 999 115 | skype: kasperskaarhoej |  
gizmo: kasper_typo3






More information about the TYPO3-team-core mailing list