Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] Including PageTSconfig file "Restrict to News Pages" has no effect #6

Closed
wants to merge 10 commits into from

Conversation

calien666
Copy link
Contributor

@calien666 calien666 commented Mar 8, 2023

Using the static TSconfig file for restricting the pages to news only had no effect.
After code insights a wrong registration path was detected. This was fixed and
some changes are made to follow extension development guide by TYPO3.

Changes:

  • Cleanup ext_tables.php
    • Moved TCA overrides to specific files in TCA/Overrides
    • Moved Icon registry to ext_localconf
    • Moved default Page/User TsConfig to ext_localconf
  • Cleanup ext_localconf
    • wrapped call in anonymous function
  • Moved TsConfig files according to extension development guidelines
  • changed registration paths for TsConfig
  • Wrapped TCA/Overrides/tt_content into anonymous function call
  • Wrapped TCA/Overrides/sys_template into anonymous function call
  • Wrapped TCA/Overrides/pages into anonymous function call
    • Removed not used locallang variable
    • streamlined variable calls

Moves the TsConfig files to best practices
directory
TsConfig for restriction was falsely located
under TypoScript in Code, but is TsConfig
Call registry of static TypoScript for sys_template in an
anonymous function following best practices
Call registry of Content element for tt_content in an
anonymous function following best practices
Variable FrontendLanguagePrefix was not used
so must not be defined
configurePlugin should be called in TCA/Overrides, so moved there
Default User and Page TsConfig should be registered in
ext_localconf.php following guidelines
Call registry of news Configuration for pages in an
anonymous function following best practices
Icons should be registered in ext_localconf.php
up to TYPO3 v10.
Doktype should be added in TCA/Overrides
@calien666 calien666 closed this Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant