What would be the recommended method to add custom page property fields in TYPO3 6.2?
In 4.5 I used TemplaVoila which had its own page module and made it easy to add data records on a page level.
相关问题
- Access fluidpage configuration in template
- How to install an extension to TYPO3 using compose
- TYPO3 Ajax Page Configuration
- Extbase query to compare two fields in same table
- TYPO3: Set more than one storage pid for one exten
相关文章
- How to get TYPO3 settings in the utility files?
- “Controller does not exist. Reflection failed.” TY
- How can i have different translations for action c
- Typo3 LTS9 Routing: ReUse config.YAML
- TYPO3 Extbase: How to sort child objects
- How to add custom wizards in typo3 7 TCA?
- Typo3 eID, how to access config
- How to access properties of a FileReference Object
if you need your own custom content elements, i recommend the extension "DCE" (Dynamic Content Elements).
DCE is really easy to customise and you can create Content elements in some minutes.
Also you can do it like Jost said. Do it with an own extension and put the TCA definition in your extTables.php
As example:
/www/htdocs/website/typo3conf/ext/custom_extension/ext_tables.php
Then you have to add your new field to the ext_tables.sql
There are several approaches:
Create an extension (and with it the file
ext_emconf.php
) and then create a fileext_tables.sql
in the extension root. In it you can put SQL-definitions for the new fields, by defining aCREATE TABLE
statement for the pages table:This SQL-definition will be merged with existing definitions for the table
page
.Then you need to configure the new field in the Table Configuration Array (TCA). You can usually find good examples in existing extensions, for example in
realurl
. There are two places where you can put these definitions, either in the fileext_tables.php
(uncached), or into a php file in the folderConfiguration/Tca/Overrides
(cached).This approach sounds like more work than it actually is.
Just use TemplaVoila. It is available for TYPO3 6.2, but its future is uncertain, AFAIK.
Use the fluidtypo3-Ecosystem of extensions, and especially the extension
fluidpages
. It does what you want, in a similar way to TemplaVoila, but with modern (= fluid-based) technologies.