Commit 29c9793a authored by Georg Ringer's avatar Georg Ringer Committed by Daniel Goerz
Browse files

[FEATURE] Add seo fields to info module

The options "SEO" and "Social Media" are added to the Pagetree Overview.

Releases: master
Resolves: #90425
Change-Id: Iaee3e15bf2699e349b02cb7950c2df3e9db0952a
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/59773


Reviewed-by: Simon Gilli's avatarSimon Gilli <typo3@gilbertsoft.org>
Reviewed-by: default avatarChristian Eßl <indy.essl@gmail.com>
Reviewed-by: Daniel Goerz's avatarDaniel Goerz <daniel.goerz@posteo.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarChristian Eßl <indy.essl@gmail.com>
Tested-by: Daniel Goerz's avatarDaniel Goerz <daniel.goerz@posteo.de>
parent f3ce02cb
.. include:: ../../Includes.txt
===============================================
Feature: #90425 - Add seo fields to info module
===============================================
See :issue:`90425`
Description
===========
Two more options are added to the Info module (sub-module: "Pagetree Overview")
- "SEO" and "Social Media" to get a quick overview of the relevant data.
Impact
======
The options "SEO" and "Social Media" are added to the Pagetree Overview.
.. index:: Backend, TSConfig, ext:seo
......@@ -44,13 +44,13 @@
<source>Twitter Cards</source>
</trans-unit>
<trans-unit id="pages.twitter_title" resname="pages.twitter_title">
<source>Title</source>
<source>Twitter Title</source>
</trans-unit>
<trans-unit id="pages.twitter_description" resname="pages.twitter_description">
<source>Description</source>
<source>Twitter Description</source>
</trans-unit>
<trans-unit id="pages.twitter_image" resname="pages.twitter_image">
<source>Image</source>
<source>Twitter Image</source>
</trans-unit>
<trans-unit id="pages.twitter_card" resname="pages.twitter_card">
<source>Type of card to show</source>
......
<?xml version="1.0" encoding="UTF-8"?>
<xliff version="1.0" xmlns:t3="http://typo3.org/schemas/xliff">
<file t3:id="1582063376" source-language="en" datatype="plaintext" original="EXT:seo/Resources/Private/Language/locallang_webinfo.xlf" date="2020-02-18T22:02:42Z" product-name="cms">
<header/>
<body>
<trans-unit id="seo" resname="seo">
<source>SEO</source>
</trans-unit>
<trans-unit id="social_media" resname="social_media">
<source>Social Media</source>
</trans-unit>
</body>
</file>
</xliff>
......@@ -26,3 +26,16 @@ unset($metaTagManagerRegistry);
}
}
'));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(trim('
mod.web_info.fieldDefinitions {
seo {
label = LLL:EXT:seo/Resources/Private/Language/locallang_webinfo.xlf:seo
fields = title,slug,seo_title,description,no_index,no_follow,canonical_link,sitemap_changefreq,sitemap_priority
}
social_media {
label = LLL:EXT:seo/Resources/Private/Language/locallang_webinfo.xlf:social_media
fields = title,og_title,og_description,twitter_title,twitter_description
}
}
'));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment