Skip to content

setTitleField does not work #572

@ste101

Description

@ste101

Using 'Automatic functionality for records' works but not setTitleField does not work.

I used the example from the docu:

\YoastSeoForTypo3\YoastSeo\Utility\RecordUtility::configureForRecord('tx_news_domain_model_news')
     ->setGetParameters([
         ['tx_news_pi1', 'news'],
         ['tx_news_pi1', 'news_preview']
    ])
    ->setSitemapFields(false)
    ->setTitleField('alternative_title')
    ->setFieldsPosition('after:bodytext');

but seo_title still shows up.

Technical info

  • TYPO3 version: 12.4.14
  • Yoast SEO version: 9.0.3

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions