File tree Expand file tree Collapse file tree 3 files changed +33
-31
lines changed
Configuration/TCA/Overrides Expand file tree Collapse file tree 3 files changed +33
-31
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+ defined ('TYPO3_MODE ' ) || die ();
3+
4+ // Register page TSconfig for inclusion
5+ \TYPO3 \CMS \Core \Utility \ExtensionManagementUtility::registerPageTSConfigFile (
6+ 'linkhandler ' ,
7+ 'Configuration/TSconfig/Page/news.ts ' ,
8+ 'EXT:linkhandler - Configuration for "news" '
9+ );
10+ \TYPO3 \CMS \Core \Utility \ExtensionManagementUtility::registerPageTSConfigFile (
11+ 'linkhandler ' ,
12+ 'Configuration/TSconfig/Page/tt_news.ts ' ,
13+ 'EXT:linkhandler - Configuration for "tt_news" '
14+ );
Original file line number Diff line number Diff line change 1+ <?php
2+ defined ('TYPO3_MODE ' ) || die ();
3+
4+ // Register static TypoScript templates
5+ if (\TYPO3 \CMS \Core \Utility \ExtensionManagementUtility::isLoaded ('tt_news ' )) {
6+ \TYPO3 \CMS \Core \Utility \ExtensionManagementUtility::addStaticFile (
7+ 'linkhandler ' ,
8+ 'Configuration/TypoScript/tt_news ' ,
9+ 'Link handler - tt_news '
10+ );
11+ }
12+ if (\TYPO3 \CMS \Core \Utility \ExtensionManagementUtility::isLoaded ('news ' )) {
13+ \TYPO3 \CMS \Core \Utility \ExtensionManagementUtility::addStaticFile (
14+ 'linkhandler ' ,
15+ 'Configuration/TypoScript/news ' ,
16+ 'Link handler - news '
17+ );
18+ }
Original file line number Diff line number Diff line change 11<?php
2- if (!defined ('TYPO3_MODE ' )) {
3- die ('Access denied. ' );
4- }
5-
6- // Register Page TSconfig for inclusion
7- \TYPO3 \CMS \Core \Utility \ExtensionManagementUtility::registerPageTSConfigFile (
8- 'linkhandler ' ,
9- 'Configuration/TSconfig/Page/news.ts ' ,
10- 'EXT:linkhandler - Configuration for "news" '
11- );
12- \TYPO3 \CMS \Core \Utility \ExtensionManagementUtility::registerPageTSConfigFile (
13- 'linkhandler ' ,
14- 'Configuration/TSconfig/Page/tt_news.ts ' ,
15- 'EXT:linkhandler - Configuration for "tt_news" '
16- );
17-
18- // Register static TypoScript templates
19- if (\TYPO3 \CMS \Core \Utility \ExtensionManagementUtility::isLoaded ('tt_news ' )) {
20- \TYPO3 \CMS \Core \Utility \ExtensionManagementUtility::addStaticFile (
21- 'linkhandler ' ,
22- 'Configuration/TypoScript/tt_news ' ,
23- 'Link handler - tt_news '
24- );
25- }
26- if (\TYPO3 \CMS \Core \Utility \ExtensionManagementUtility::isLoaded ('news ' )) {
27- \TYPO3 \CMS \Core \Utility \ExtensionManagementUtility::addStaticFile (
28- 'linkhandler ' ,
29- 'Configuration/TypoScript/news ' ,
30- 'Link handler - news '
31- );
32- }
2+ defined ('TYPO3_MODE ' ) || die ();
333
344// Add tx_linkhandler type to linkvalidator
355\TYPO3 \CMS \Core \Utility \ExtensionManagementUtility::addPageTSConfig (
You can’t perform that action at this time.
0 commit comments