feat: design change to hero and add stats element
This commit is contained in:
parent
7133371206
commit
daa02d36d5
11 changed files with 207 additions and 96 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue