Skip to content
Extension to access the final page title within TypoScript in TYPO3 CMS.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Classes/ContentObject [BUGFIX] Trim getData() identifier before comparing it Apr 5, 2019
Resources/Public/Icons [TASK] Move extension icon to public resources Apr 3, 2019
.editorconfig
LICENSE Initial commit Apr 1, 2019
README.md [TASK] Refactor getData() string and drop stdWrap of config.pageTitle Apr 3, 2019
composer.json
ext_emconf.php [TASK] Bump version number to 1.0.2 Apr 5, 2019
ext_localconf.php

README.md

License Release

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

You can’t perform that action at this time.