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

bernd wilke t3ng at bernd-wilke.net
Tue Apr 21 14:39:35 CEST 2015


Am 21.04.15 um 13:09 schrieb l lin:
> Thanks Bernd. That's very helpful!
>
> I would follow your advices to use TS to render all records of table XY
> on that page.

that was not a recommendation for TYPO3 beginners.
that is an not so easy task you want to do.

> I assume what I should do is to write some scripts in TypoScript
> Configuration field shown in the sample pic below:
>
> http://docs.typo3.org/typo3cms/TSconfigReference/_images/PageTsconfigField.png

that is page TSconfig, an area to configure the appearance of the BE. 
mostly to configure the accessibility of fields or the 
reducing/enhancing of selection for fields.

> In the page, I used a template 'student_with_menu' which contains a
> Content Element 'content_main'.  I assume a simple script can keep a
> record of this content to store in a custom table 'Custom_Student_Table'.
> Would there any documents I could look into? I have no idea how to write
> such script. Just assume I should write somethings like
>
> Custom_Student_Table.firstname = CE.field

workig with your own table includes always an extension. at least to 
make a new table/field known to TYPO3. If you want a rendering it is 
good style to define the rendering (Typoscript) where you define the 
fields: provide a default rendering in the same extension (static template).

This static extension template must be included in your Typoscript where 
you define rendering of the whole site.

-----
there are a lot of places where you can find typoscript. you have to 
learn which place is used for what result.
you must distinguish betweeen the different kinds of "templates" 
(Typoscript-~, HTML-~: fluid-~ / marker-~)


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


More information about the TYPO3-english mailing list