[TYPO3-english] Config backend layout with custom database tables

bernd wilke t3ng at bernd-wilke.net
Tue Apr 21 11:45:19 CEST 2015


Am 21.04.15 um 08:02 schrieb Jan Bednarik:
> Hi,
>
> there are a few things I don't understand. So you create a page and data
> is stored into tt_content by itself? Or you mean you create content on
> the page and the content goes to tt_content (which is the usual thing).
>
> About that custom table, you want to insert a row when student page is
> created? Like a log? That can be done via TCEmain hook (just google it).
>
> Or maybe, you want your content to be created in the new table rather
> than tt_content? Well, that's not possible. I could imagine you would be
> creating content in a special column for that (colPos) and then instead
> of table, you'd have a view which would select only content from this
> column.

are you sure?
isn't it a question of rendering definition?
you easily can define something to render all records of table xy on a 
page (so you have no positioning in different columns and also no 
preview in page-view)

it is not the usual way, but TYPO3 can do more ;)

other more usual ways:
have a plugin in each page (either per CE in tt_content) or per TS which 
renders all records of table XY on that page.

or have a CE "insert records" where records from table XY are allowed 
(and rendering must be configured)


bernd
-- 
http://www.pi-phi.de/cheatsheet.html


More information about the TYPO3-english mailing list