[TYPO3-dev] Views in TYPO3 database

Ernesto Baschny [cron IT] ernst at cron-it.de
Mon Mar 7 13:56:42 CET 2011


Rik Willems schrieb am 07.03.2011 11:38:
> Howdy,
> 
> I'm planning an extension that would need to show the same records on
> different pages. For this I'm planning a m2m table like is common in TYPO3.
> But, I'd like my records not the have a single pid where it is
> accessable through the 'list' function. Preferaby I'd like the record to
> be edited through all pages it is on.
> 
> Is it possible to make a view of the m2m and record table and add this
> to TCA? This way the record would show up on all pages the m2m says it
> is on.
> 
> Looking forward to your thoughts.

It could work. Try it out and tell us about it, I would say. :)

You could get in trouble if the editor wants to "edit" the record. I am
pretty sure there will be issues, because TYPO3 won't know its a view
and not a real table, and doing an "INSERT" in such a view might get
bizarre results.

Cheers,
Ernesto




More information about the TYPO3-dev mailing list