feat: design change to hero and add stats element
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
<?php
|
||||
defined('TYPO3') or die();
|
||||
|
||||
// $GLOBALS['TCA']['tt_content']['columns']['cloonar_hero_bodytext']['config']['enableRichText'] = true;
|
||||
// Add the new fields for the stats element to TCA if needed:
|
||||
// This is only necessary if we need special configuration. By default Content Blocks handles field creation.
|
||||
// Here we simply ensure that the fields appear in the backend form.
|
||||
|
||||
// Register the content element type in tt_content (only if needed, Content Blocks typically handle this automatically):
|
||||
// $GLOBALS['TCA']['tt_content']['types']['cloonar_stats'] = [
|
||||
// 'showitem' => 'header, number1, label1, number2, label2, number3, label3, number4, label4'
|
||||
// ];
|
||||
|
||||
// The above is optional if Content Blocks extension is in use and config.yaml fields are applied automatically.
|
||||
|
||||
Reference in New Issue
Block a user