Project

General

Profile

Actions

Feature #33491

closed

stdWrap for title tag

Added by Anonymous almost 13 years ago. Updated about 6 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 2 (0 open2 closed)

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
Actions #1

Updated by Alexander Opitz almost 10 years ago

  • Status changed from New to Needs Feedback

Hi,

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

Actions #2

Updated by Riccardo De Contardi almost 10 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

Actions #3

Updated by Anonymous almost 10 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 ;-)

Actions #4

Updated by Riccardo De Contardi almost 10 years ago

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

Actions #5

Updated by Anonymous almost 10 years ago

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

Actions #6

Updated by Alexander Opitz almost 10 years ago

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

Updated by Gerrit Code Review almost 10 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

Actions #8

Updated by Gerrit Code Review almost 10 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

Actions #9

Updated by Mathias Schreiber almost 10 years ago

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

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF