PHPackages                             b13/cta - 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. b13/cta

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

b13/cta
=======

Adds a CTA Content-type to tt\_content

2.2.1(1mo ago)327.9k↓34.3%1[1 issues](https://github.com/b13/cta/issues)GPL-2.0-or-laterPHP

Since Jun 2Pushed 1mo ago8 watchersCompare

[ Source](https://github.com/b13/cta)[ Packagist](https://packagist.org/packages/b13/cta)[ RSS](/packages/b13-cta/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (23)Used By (0)

EXT:cta
=======

[](#extcta)

About this extension
--------------------

[](#about-this-extension)

This extension adds dedicated fields for creating Call-to-action elements and optionally adds a new stand alone cta element to your TYPO3 project with a simple Fluid template for frontend rendering. It is intended as a basis to add link and cta functionality to your custom content elements like teasers, text elements.

Three fields are being added to table `tt_content`: `tx_cta_link`, `tx_cta_linklabel` and `tx_cta_linkconfig`; `tx_cta_linkconfig` is rendered as a dropdown by default.

To add CTA fields to other content elements you can make use of two different palettes:

- `linklabel` renders a link field and a corresponding link label field.
- `linklabelconfig` adds a third field for additional configuration options per link.

Installing
----------

[](#installing)

Use composer to add this content element to your project

`composer require b13/cta`

and install the extension using the Extension Manager in your TYPO3 backend.

### Update from Version &lt; 2

[](#update-from-version--2)

We have changed the database fields

- link to tx\_cta\_link
- linklabel to tx\_cta\_linklabel
- linkconfig to tx\_cta\_linkconfig

### Use the example cta element

[](#use-the-example-cta-element)

If you want to make use of the basic cta element included as an example, add the site set to your site configuration

For TYPO3 Version &lt; 13, add the TypoScript setup to your site-Extension setup:

`@import 'EXT:cta/Configuration/TypoScript/setup.typoscript'`

To add the element to the new content element wizard, also include the PageTSConfig in your templates:

`@import 'EXT:cta/Configuration/PageTs/PageTs.tsconfig'`

This will add the CTA element to the "common" tab (you can change this within your PageTSConfig of course).

### Customizing

[](#customizing)

To make use of your own Fluid template add your template within your site-Extension using the template name "cta.html".

By default, the content element will show four fields:

- Layout
- Link
- Link label
- Link configuration

To remove fields you don't need, use PageTSConfig within your template configuration, like this:

`TCEFORM.tt_content.layout.types.cta.disabled = 1`

or better yet, use `columnsOverride` configuration in your TCA.

To add options to the dropdown for either one of the dropdown fields, use PageTSConfig like this:

`TCEFORM.tt_content.tx_cta_linkconfig.types.cta.addItems.inverted = Inverted Button`

or, again, use `columnsOverrides` in your TCA configuration.

License
-------

[](#license)

As TYPO3 Core, *cta* is licensed under GPL2 or later. See the LICENSE file for more details.

Background, Authors &amp; Further Maintenance
---------------------------------------------

[](#background-authors--further-maintenance)

TYPO3 is highly configurable and it is easy to add custom content types or fields to the system using a few lines of TCA configuration, a simple PageTS configuration to add the type to the list of elements in the New Content Element Wizard, and a few lines of TypoScript and a Fluid Template. This extension adds a content type in the same way we create custom content types for our TYPO3 projects at [b13](https://b13.com).

`EXT:cta` was initially created by David Steeb in 2017 for [b13, Stuttgart](https://b13.com). We use this as a basis to add cta fields to `tt_content`, render buttons and cta links, add cta elements to other content types (like adding a call-to-action to a textmedia element) and as a general purpose "read more"-type of link field for teasers, sliders and lots of different content types in general.

[Find more TYPO3 extensions we have developed](https://b13.com/useful-typo3-extensions-from-b13-to-you) that help us deliver value in client projects. As part of the way we work, we focus on testing and best practices to ensure long-term performance, reliability, and results in all our code.

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance82

Actively maintained with recent releases

Popularity31

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~163 days

Recently: every ~120 days

Total

14

Last Release

54d ago

Major Versions

1.1.3 → 2.0.02022-12-13

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3862523?v=4)[David Steeb](/maintainers/davidsteeb)[@davidsteeb](https://github.com/davidsteeb)

---

Top Contributors

[![davidsteeb](https://avatars.githubusercontent.com/u/3862523?v=4)](https://github.com/davidsteeb "davidsteeb (28 commits)")[![achimfritz](https://avatars.githubusercontent.com/u/2152991?v=4)](https://github.com/achimfritz "achimfritz (16 commits)")[![bmack](https://avatars.githubusercontent.com/u/165630?v=4)](https://github.com/bmack "bmack (8 commits)")[![jschlier](https://avatars.githubusercontent.com/u/9108576?v=4)](https://github.com/jschlier "jschlier (5 commits)")[![b13-michaelsemle](https://avatars.githubusercontent.com/u/23473071?v=4)](https://github.com/b13-michaelsemle "b13-michaelsemle (1 commits)")[![stegmatze](https://avatars.githubusercontent.com/u/14198734?v=4)](https://github.com/stegmatze "stegmatze (1 commits)")

### Embed Badge

![Health badge](/badges/b13-cta/health.svg)

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

###  Alternatives

[b13/container

Create Custom Container Content Elements for TYPO3

1823.1M63](/packages/b13-container)[fluidtypo3/flux

The flux package from FluidTYPO3

152982.2k20](/packages/fluidtypo3-flux)[friendsoftypo3/content-blocks

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

96374.6k23](/packages/friendsoftypo3-content-blocks)[wazum/sluggi

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

39488.5k](/packages/wazum-sluggi)[b13/doktypemapper

Maps your page.doktype to page.backend\_layout

14109.2k](/packages/b13-doktypemapper)[t3docs/examples

This extension packages a number of code examples from the Core Documentation.

3120.2k](/packages/t3docs-examples)

PHPackages © 2026

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