PHPackages                             bugfix/patchlayout - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bugfix/patchlayout

ActiveTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

bugfix/patchlayout
==================

Patch for Backend Layout

v0.3.0(1y ago)0759[1 issues](https://github.com/franzholz/patchlayout/issues)1GPL-2.0-or-laterPHP

Since Sep 27Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/franzholz/patchlayout)[ Packagist](https://packagist.org/packages/bugfix/patchlayout)[ Docs](https://jambage.com)[ RSS](/packages/bugfix-patchlayout/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (1)Versions (12)Used By (1)

TYPO3 extension patchlayout
===========================

[](#typo3-extension-patchlayout)

What is does
------------

[](#what-is-does)

This extension shall fix the TYPO3 backend error message for a frontend plugin:

**colPos: VALUE IS NOT ALLOWED (“1”)**

**colPos: WERT IST NICHT ERLAUBT (“1”)**

It seems even to work if the extension gridelements is activated.

The patch for the TYPO3 Backend Layout is inside of this extension.

TYPO3 allows to add new item values of the colPos field in the table tt\_content. Any another extension can add its own column values to the selectable columns of the content element. Only be this means it can be avoided that this content element is shown in the front end by means of TYPO3. A special column value can be used by a third party extension to do its own content rendering for it.

Maybe there is another way to avoid that TYPO3 renders a content element. It would be fine if you would tell me how. However this is a proven way which has been working until TYPO3 6.2 by simply adding this TCA override.

### example:

[](#example)

```
// Add the new colPos to the array, only if the ID does not exist...
$colPosOMyExtension = 1212;
$GLOBALS['TCA']['tt_content']['columns']['colPos']['config']['items'][$colPosOMyExtension] = [
        'LLL:EXT:myextension/locallang_db.xml:tt_content.colPosOfMyExtension',
        $colPosOMyExtension
];
```

This will add the corresponding text for the column 1212 of extension ‘myextension’ to the column select box of the TYPO3 content element.

```
'type' => 'select',
'renderType' => 'selectSingle',
```

alternative solution since TYPO3 9:
-----------------------------------

[](#alternative-solution-since-typo3-9)

pointed out by Hendrik Reimers

A hook exists in order not to show the content inside of a general backend layout column and thus to avoid any error hints about invalid columns in the TYPO3 backend. This makes it possible to define your own column in the TCA for tt\_content.

[Feature #82213](https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.0/Feature-82213-NewHookToDetermineIfContentRecordIsUsedUnused.html)

pointed out by Sebastian Klein

```
[request && traverse(request.getQueryParams(),'defVals/tt_content/colPos') == 202]
  TCAdefaults.tt_content {
      vd_layout = aside-box
  }
[end]
```

Keep in mind that this condition will only work when creating new content elements. Only then the query string in the backend contains the colPos. Therefore, the condition can be used for adjusting TCAdefaults, but not for TCEFORM settings.

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance67

Regular maintenance activity

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~206 days

Recently: every ~157 days

Total

10

Last Release

604d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c36ec751f4996bdd88bcfca2669db1d0762e765cb449b33d47aed99ef1e1b1c?d=identicon)[franzholz](/maintainers/franzholz)

---

Top Contributors

[![franzholz](https://avatars.githubusercontent.com/u/4855265?v=4)](https://github.com/franzholz "franzholz (20 commits)")

---

Tags

layoutbackendTYPO3 CMS

### Embed Badge

![Health badge](/badges/bugfix-patchlayout/health.svg)

```
[![Health](https://phpackages.com/badges/bugfix-patchlayout/health.svg)](https://phpackages.com/packages/bugfix-patchlayout)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[ichhabrecht/content-defender

Define allowed or denied content element types in your backend layouts

903.1M24](/packages/ichhabrecht-content-defender)[derhansen/sf_event_mgt

Event management and registration - Configurable event management and registration extension based on ExtBase and Fluid

65329.4k9](/packages/derhansen-sf-event-mgt)[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

41515.2k](/packages/wazum-sluggi)[brotkrueml/schema

Embedding schema.org vocabulary - API and view helpers for schema.org markup

34628.4k14](/packages/brotkrueml-schema)[causal/extractor

This extension detects and extracts metadata (EXIF / IPTC / XMP / ...) from potentially thousand different file types (such as MS Word/Powerpoint/Excel documents, PDF and images) and bring them automatically and natively to TYPO3 when uploading assets. Works with built-in PHP functions but takes advantage of Apache Tika and other external tools for enhanced metadata extraction.

16256.1k](/packages/causal-extractor)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
