Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

undkonsorten/typo3-pagetitle-ts

Repository files navigation

License Release

Important

This package has been abandoned. It‘s superseded by the possibilities of the TYPO3 Page Title API added to TYPO3 CMS since.

This package will not receive updates nor support.

TYPO3 extension pagetitle_ts

This TYPO3 CMS extension provides a TypoScript hook for getData(). It allows you to insert the final page title, built by the TYPO3 PageTitle API.

Installation

Composer:

composer require undkonsorten/typo3-pagetitle-ts

GitHub:

cd typo3conf/ext
git clone git@github.com:undkonsorten/typo3-pagetitle-ts.git pagetitle_ts

Usage

If your page object is named page within TypoScript, you can include the page title as follows:

page.meta {
  og:title {
    data = pagetitle
    stdWrap < config.pageTitle
    replace = 1
  }
  twitter:title < .og:title
  DC\.title < .og:title
  og:title.attribute = property
}

Of course it's possible to use the date = pagetitle configuration in each other context as well.

License

GPL-2.0

About

Extension to access the final page title within TypoScript in TYPO3 CMS.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages