How to set Customize page title in typo3 + typoscript


 

How to set title OR subtitle in title tag in typo3 + typoscript

config.noPageTitle = 2

page.headerData.5 = TEXT
page.headerData.5.field = subtitle // title
page.headerData.5.wrap = <title>|</title>

OR you can use below typoscript

config.noPageTitle = 1

page = PAGE
page {
          headerData.10 = TEXT
          headerData.10 {
            field = subtitle
            ifEmpty {
               field = title
               required = 1
            }
            noTrimWrap = |<title>| </title>|
          }
}

How to set title and subtitle together in title tag in typo3 + typoscript

config.noPageTitle = 1

page.headerData.5 = COA
page.headerData.5 {
  20 = HTML
  20.value.field = title
  30 = HTML
  30.value.field = subtitle
  30.value.stdWrap.noTrimWrap = | : ||
 
  stdWrap.noTrimWrap = |  <title>|</title>|
}

If you have any query then feel free to contact me at Jainish Senjaliya

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s