josefglatz / hide-sys-template
Hide sys_template in backend
Installs: 1 900
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 0
Open Issues: 2
Type:typo3-cms-extension
Requires
- php: ^7.2 || ^7.3 || ^7.4
- typo3/cms-core: ^10
Requires (Dev)
- mikey179/vfsstream: ~1.6.0
- namelesscoder/typo3-repository-client: ^2.0
- phpunit/phpunit: ~4.8.0
- roave/security-advisories: dev-master
README
The hide_sys_template extension prevents TYPO3 CMS administrator users from using sys_template database records.
Installation
Installation using Composer
The recommended way to install the extension is by using
Composer. In your Composer based TYPO3
project root, just do composer require josefglatz/hide-sys-template
You want to update the extension with composer?
Based on what version constraint is used in your composer.json you can use the following command to install the latest stable version:
composer require josefglatz/hide-sys-template
If you want to install or update to a specific version 1.1 and bugfix releases use the following command:
composer require josefglatz/hide-sys-template:1.1.*
Installation as extension from TYPO3 Extension Repository (TER)
Download and install the extension with the TYPO3 CMS extension manager module or directly via extensions.typo3.org.
Configuration
Nothing to configure! You may need to empty the cache once after installation – that's all!
Why?
Imagine a world without sys_template records! That's possible since TYPO3 8 LTS. Everything is better since then!
How to use it?
Register your hook
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['Core/TypoScript/TemplateService']['runThroughTemplatesPostProcessing']
in your TYPO3 sitepackage extension or use b13/bolt. All your TypoScript and
sys_template relevant stuff is right in your sitepackage extension
a.k.a. GIT repository. 🤩 (When using b13/bolt you're PageTSconfig is
loaded automatically for great success)