Coder Social home page Coder Social logo

Comments (4)

IchHabRecht avatar IchHabRecht commented on June 14, 2024 1

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.

IchHabRecht avatar IchHabRecht commented on June 14, 2024

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.

DanielSiepmann avatar DanielSiepmann commented on June 14, 2024

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.

DanielSiepmann avatar DanielSiepmann commented on June 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.