Feature #33491

stdWrap for title tag

Added by Philipp Kitzberger almost 9 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2012-01-27
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

the pagerenderer uses htmlSpecialChars for the title tag, i guess it would be splendid if there was a whole stdWrap available. then one could easily strip html tags...


Related issues

Related to TYPO3 Core - Feature #43658: Make page-title easily configurableClosedStefan Neufeind2012-12-06

Actions
Related to TYPO3 Core - Feature #25717: stdWrap for header fieldsClosed2011-04-01

Actions
#1

Updated by Alexander Opitz almost 6 years ago

  • Status changed from New to Needs Feedback

Hi,

does the problem still exists within newer versions of TYPO3 CMS (6.2.9)?

#2

Updated by Riccardo De Contardi almost 6 years ago

In TSREF>config section I don't see how to manipulate title via the stdWrap function

one should do something like:

config.noPageTitle = 2
page.headerData.5 = TEXT
page.headerData.5.field =  title
page.headerData.5.wrap = <title> |</title> 

Then you can manipulate the TEXT object via stdWrap

#3

Updated by Philipp Kitzberger almost 6 years ago

Riccardo De Contardi wrote:

In TSREF>config section I don't see how to manipulate title via the stdWrap function

one should do something like:

[...]

Then you can manipulate the TEXT object via stdWrap

This surely does the trick when one only wants to output the page title as title tag. The website title (set in root TS template) would be missing though. Additionally modification applied to the page title (news extension single view) would simply be ignored by your solution. Therefore not working for me ;-)

#4

Updated by Riccardo De Contardi almost 6 years ago

For advanced title tag management i'd recommend an extension like metaseo http://typo3.org/extensions/repository/view/metaseo

#5

Updated by Philipp Kitzberger almost 6 years ago

Unnecessary when having a stdWrap for the title tag ;-)

#6

Updated by Alexander Opitz almost 6 years ago

  • Category set to TypoScript
  • Status changed from Needs Feedback to New
#7

Updated by Gerrit Code Review almost 6 years ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35691

#8

Updated by Gerrit Code Review almost 6 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35691

#9

Updated by Mathias Schreiber almost 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#10

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF