#14929Need to set config.noPageTitle to 2 to make it work
Description
http://typo3.org/documentation/document-library/doc_core_tsref/quot_CONFIG_quot/ reports that config.noPageTitle is a boolean field. However, to get it to work as intended I needed to use config.noPageTitle = 2
I don’t know if the code or the documentation is wrong, but line 616 of tslib_pagegen.php checks for !== 2
The effect is if I have TS in my template like
config.noPageTitle = 1
page.headerData.20 = TEXT
page.headerData.20.field = subtitle // title
page.headerData.20.wrap = <title>My Website Title: |</title>
then I end up with two <title> tags in the <HEAD></p> <p>If I change to</p> <p>config.noPageTitle = 2</p> <p>then it’s OK. But the documentation isn’t enlightening on what the value 1 would do, if anything.<br />(issue imported from #M1382)</p></title>
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.