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

allowedColPos not working as aspected #1988

Open
michael-binder opened this issue Jan 16, 2023 · 0 comments
Open

allowedColPos not working as aspected #1988

michael-binder opened this issue Jan 16, 2023 · 0 comments

Comments

@michael-binder
Copy link
Contributor

Bug Report

Current Behavior
When allowedColPos is set for templateLayouts in PageTSConfig, the layout is not removed if the colPos is not allowed.

Expected behavior/output
If 1.allowedColPos = 1, the layout 1 should not be visible if the content element is in a column other than colPos=1

Environment

  • TYPO3 version: 11.5
  • news version: 10.0.3
  • Composer Mode: yes

Possible Solution
This is where the real problem begins. The solution already existed in ticket #810. However, this was undone with ticket #963. I can't quite understand the reasoning from the ticket. What exactly was meant here? Even if I remove the option allowedColPos or activate this option only for one of the templateLayouts, I get the correct layouts for selection with the solution from #810 $allLayouts[$layout[1]] = $layout;.
Is there anyone who can confirm this or test the other option if there are still errors here?

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

No branches or pull requests

1 participant