Comments (4)
Hi @DanielSiepmann,
With the current version TYPO3 12.1 around, unused BackendLayout columns need to be configured as
2 {
name = unused
}
This is tested with the provided fixtures for pageTS-Templates and I close this issue for now. If there are any further problems, please open a new issue.
from content_defender.
Hi @DanielSiepmann,
Would you mind to point me to the documentation, that allows the abstinence of colPos completely? There are tests integrated for an empty value to hide the column from any input, but I'm not aware that completely omitting the colpos is possible too.
from content_defender.
Actually I encountered that using an empty colPos
, instead of omitting it, results in the same title for columns within the same row :(
So to use TYPO3 without an assigned colPos
(9.5 LTS), you actually need to not provide colPos
at all.
Using above example with colPos =
for row 2 and column 2 would result in the same title for row 2 and column 1, as both are considered "0" then by TYPO3.
Actually I am only aware of https://docs.typo3.org/m/typo3/reference-tsconfig/master/en-us/PageTsconfig/Mod.html#backendlayouts which is very basic and does not cover this case at all.
from content_defender.
https://github.com/TYPO3/TYPO3.CMS/blob/9.5/typo3/sysext/backend/Classes/View/PageLayoutView.php#L1190 is the place where TYPO3 has its logic. TYPO3 is also checking via isset
first, then it will check for an empty string.
I would consider TYPO3 does support both ways, but has a bug in the one when colPos
is empty.
from content_defender.
Related Issues (20)
- $incomingFieldArray['colPos'] is accessed before checking if it's available HOT 15
- Compatibility for TYPO3 version 12 HOT 6
- FR: Respect disabled CEs and start/stop HOT 4
- Possibility to deactivate functionality for extension when editing records on storage folders (pages type 254)? HOT 10
- First Tab in NewContentElementWizard not selected HOT 2
- Remove «new Content Element» Buttons if maxitems reached HOT 1
- Error on maxitem for editors HOT 2
- Usage of deprecated "fetch" Method leads in exception (PHP 8.1) HOT 2
- Copy plugins not possible HOT 6
- ContentRepository must be of type Countable|array, null given HOT 10
- TYPO3 v12: Undefined array key 1 in TcaCTypeItems.php and TcaColPosItems.php HOT 1
- Restricting both TcaColPosItems and TcaCTypeItems results in un-editable content => solve by showing the real current values as 'invalid' HOT 1
- Deprecation: #100053 - GeneralUtility::_GP()
- Do not manually set $_GET parameter in form data providers HOT 3
- PHP Warning with one backend_layout column HOT 2
- TYPO3 12 compatibility: Undefined array key error in TcaColPosItems.php on line 62 HOT 2
- PHP warning with content elements created inside a news record HOT 3
- ext_emconf.php '_md5_values_when_last_written' generate log entry HOT 3
- Exception with TYPO3 12.4.5 HOT 1
- Item group labels are not displayed when using 'allowed'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from content_defender.