Initial commit
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Copyright notice
|
||||
*
|
||||
* (c) 2015 Markus Blaschke <typo3@markus-blaschke.de> (metaseo)
|
||||
* (c) 2013 Markus Blaschke (TEQneers GmbH & Co. KG) <blaschke@teqneers.de> (tq_seo)
|
||||
* All rights reserved
|
||||
*
|
||||
* This script is part of the TYPO3 project. The TYPO3 project is
|
||||
* free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* The GNU General Public License can be found at
|
||||
* http://www.gnu.org/copyleft/gpl.html.
|
||||
*
|
||||
* This script is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* This copyright notice MUST APPEAR in all copies of the script!
|
||||
*/
|
||||
|
||||
namespace Metaseo\Configuration\TCA;
|
||||
|
||||
/**
|
||||
* This File is include()d by TYPO3's ExtensionUtility. We'll get an exception when we remove it.
|
||||
* At some time we should find out what this file is actually good for.
|
||||
*/
|
||||
259
typo3conf/ext/metaseo/Configuration/TCA/Overrides/pages.php
Normal file
259
typo3conf/ext/metaseo/Configuration/TCA/Overrides/pages.php
Normal file
@@ -0,0 +1,259 @@
|
||||
<?php
|
||||
defined('TYPO3_MODE') or exit();
|
||||
|
||||
$tempColumns = array(
|
||||
'tx_metaseo_pagetitle' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.tx_metaseo_pagetitle',
|
||||
'exclude' => 1,
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '30',
|
||||
'max' => '255',
|
||||
'checkbox' => '',
|
||||
'eval' => 'trim',
|
||||
)
|
||||
),
|
||||
'tx_metaseo_pagetitle_rel' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.tx_metaseo_pagetitle_rel',
|
||||
'exclude' => 1,
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '30',
|
||||
'max' => '255',
|
||||
'checkbox' => '',
|
||||
'eval' => 'trim',
|
||||
)
|
||||
),
|
||||
'tx_metaseo_pagetitle_prefix' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.tx_metaseo_pagetitle_prefix',
|
||||
'exclude' => 1,
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '30',
|
||||
'max' => '255',
|
||||
'checkbox' => '',
|
||||
'eval' => 'trim',
|
||||
)
|
||||
),
|
||||
'tx_metaseo_pagetitle_suffix' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.tx_metaseo_pagetitle_suffix',
|
||||
'exclude' => 1,
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '30',
|
||||
'max' => '255',
|
||||
'checkbox' => '',
|
||||
'eval' => 'trim',
|
||||
)
|
||||
),
|
||||
'tx_metaseo_inheritance' => array(
|
||||
'exclude' => 1,
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.tx_metaseo_inheritance',
|
||||
'config' => array(
|
||||
'type' => 'select',
|
||||
'items' => array(
|
||||
array(
|
||||
'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.tx_metaseo_inheritance.I.0',
|
||||
0
|
||||
),
|
||||
array(
|
||||
'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.tx_metaseo_inheritance.I.1',
|
||||
1
|
||||
),
|
||||
),
|
||||
'size' => 1,
|
||||
'maxitems' => 1
|
||||
)
|
||||
),
|
||||
'tx_metaseo_is_exclude' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.tx_metaseo_is_exclude',
|
||||
'exclude' => 1,
|
||||
'config' => array(
|
||||
'type' => 'check'
|
||||
)
|
||||
),
|
||||
'tx_metaseo_canonicalurl' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.tx_metaseo_canonicalurl',
|
||||
'exclude' => 1,
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '30',
|
||||
'max' => '255',
|
||||
'checkbox' => '',
|
||||
'eval' => 'trim',
|
||||
'wizards' => array(
|
||||
'_PADDING' => 2,
|
||||
'link' => array(
|
||||
'type' => 'popup',
|
||||
'title' => 'Link',
|
||||
'icon' => 'link_popup.gif',
|
||||
'module' => array(
|
||||
'name' => 'wizard_element_browser',
|
||||
'urlParameters' => array(
|
||||
'mode' => 'wizard',
|
||||
'act' => 'url'
|
||||
)
|
||||
),
|
||||
'params' => array(
|
||||
'blindLinkOptions' => 'mail',
|
||||
),
|
||||
'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
|
||||
),
|
||||
),
|
||||
)
|
||||
),
|
||||
'tx_metaseo_priority' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.tx_metaseo_priority',
|
||||
'exclude' => 1,
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '30',
|
||||
'max' => '255',
|
||||
'checkbox' => '',
|
||||
'eval' => 'int',
|
||||
)
|
||||
),
|
||||
'tx_metaseo_change_frequency' => array(
|
||||
'exclude' => 1,
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.tx_metaseo_change_frequency',
|
||||
'config' => array(
|
||||
'type' => 'select',
|
||||
'items' => array(
|
||||
array(
|
||||
'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'pages.tx_metaseo_change_frequency.I.0',
|
||||
0
|
||||
),
|
||||
array(
|
||||
'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'pages.tx_metaseo_change_frequency.I.1',
|
||||
1
|
||||
),
|
||||
array(
|
||||
'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'pages.tx_metaseo_change_frequency.I.2',
|
||||
2
|
||||
),
|
||||
array(
|
||||
'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'pages.tx_metaseo_change_frequency.I.3',
|
||||
3
|
||||
),
|
||||
array(
|
||||
'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'pages.tx_metaseo_change_frequency.I.4',
|
||||
4
|
||||
),
|
||||
array(
|
||||
'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'pages.tx_metaseo_change_frequency.I.5',
|
||||
5
|
||||
),
|
||||
array(
|
||||
'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'pages.tx_metaseo_change_frequency.I.6',
|
||||
6
|
||||
),
|
||||
array(
|
||||
'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'pages.tx_metaseo_change_frequency.I.7',
|
||||
7
|
||||
),
|
||||
),
|
||||
'size' => 1,
|
||||
'maxitems' => 1
|
||||
)
|
||||
),
|
||||
'tx_metaseo_geo_lat' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.tx_metaseo_geo_lat',
|
||||
'exclude' => 1,
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '30',
|
||||
'max' => '255',
|
||||
'checkbox' => '',
|
||||
'eval' => 'trim',
|
||||
)
|
||||
),
|
||||
'tx_metaseo_geo_long' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.tx_metaseo_geo_long',
|
||||
'exclude' => 1,
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '30',
|
||||
'max' => '255',
|
||||
'checkbox' => '',
|
||||
'eval' => 'trim',
|
||||
)
|
||||
),
|
||||
'tx_metaseo_geo_place' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.tx_metaseo_geo_place',
|
||||
'exclude' => 1,
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '30',
|
||||
'max' => '255',
|
||||
'checkbox' => '',
|
||||
'eval' => 'trim',
|
||||
)
|
||||
),
|
||||
'tx_metaseo_geo_region' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.tx_metaseo_geo_region',
|
||||
'exclude' => 1,
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '30',
|
||||
'max' => '255',
|
||||
'checkbox' => '',
|
||||
'eval' => 'trim',
|
||||
)
|
||||
),
|
||||
|
||||
);
|
||||
|
||||
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('pages', $tempColumns, 1);
|
||||
|
||||
// TCA Palettes
|
||||
$GLOBALS['TCA']['pages']['palettes']['tx_metaseo_pagetitle'] = array(
|
||||
'showitem' => 'tx_metaseo_pagetitle,--linebreak--,tx_metaseo_pagetitle_prefix,'
|
||||
. 'tx_metaseo_pagetitle_suffix,--linebreak--,tx_metaseo_inheritance',
|
||||
'canNotCollapse' => 1
|
||||
);
|
||||
|
||||
$GLOBALS['TCA']['pages']['palettes']['tx_metaseo_crawler'] = array(
|
||||
'showitem' => 'tx_metaseo_is_exclude,--linebreak--,tx_metaseo_canonicalurl',
|
||||
'canNotCollapse' => 1
|
||||
);
|
||||
|
||||
$GLOBALS['TCA']['pages']['palettes']['tx_metaseo_sitemap'] = array(
|
||||
'showitem' => 'tx_metaseo_priority,--linebreak--,tx_metaseo_change_frequency',
|
||||
'canNotCollapse' => 1
|
||||
);
|
||||
|
||||
$GLOBALS['TCA']['pages']['palettes']['tx_metaseo_geo'] = array(
|
||||
'showitem' => 'tx_metaseo_geo_lat,--linebreak--,tx_metaseo_geo_long,--linebreak--,'
|
||||
. 'tx_metaseo_geo_place,--linebreak--,tx_metaseo_geo_region',
|
||||
'canNotCollapse' => 1
|
||||
);
|
||||
|
||||
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
|
||||
'pages',
|
||||
'tx_metaseo_pagetitle_rel',
|
||||
'1,4,7,3',
|
||||
'after:title'
|
||||
);
|
||||
|
||||
// Put it for standard page
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
|
||||
'pages',
|
||||
'--div--;LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.tab.seo;,--palette--;'
|
||||
. 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.palette.pagetitle;tx_metaseo_pagetitle,'
|
||||
. '--palette--;LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.palette.geo;tx_metaseo_geo,'
|
||||
. '--palette--;LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.palette.crawler;'
|
||||
. 'tx_metaseo_crawler,--palette--;LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'pages.palette.sitemap;tx_metaseo_sitemap',
|
||||
'1,4,7,3',
|
||||
'after:author_email'
|
||||
);
|
||||
@@ -0,0 +1,115 @@
|
||||
<?php
|
||||
defined('TYPO3_MODE') or exit();
|
||||
|
||||
$tempColumns = array(
|
||||
'tx_metaseo_pagetitle' => array(
|
||||
'exclude' => 1,
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'pages_language_overlay.tx_metaseo_pagetitle',
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '30',
|
||||
'max' => '255',
|
||||
'checkbox' => '',
|
||||
'eval' => 'trim',
|
||||
)
|
||||
),
|
||||
'tx_metaseo_pagetitle_rel' => array(
|
||||
'exclude' => 1,
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'pages_language_overlay.tx_metaseo_pagetitle_rel',
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '30',
|
||||
'max' => '255',
|
||||
'checkbox' => '',
|
||||
'eval' => 'trim',
|
||||
)
|
||||
),
|
||||
'tx_metaseo_pagetitle_prefix' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'pages.tx_metaseo_pagetitle_prefix',
|
||||
'exclude' => 1,
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '30',
|
||||
'max' => '255',
|
||||
'checkbox' => '',
|
||||
'eval' => 'trim',
|
||||
)
|
||||
),
|
||||
'tx_metaseo_pagetitle_suffix' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'pages.tx_metaseo_pagetitle_suffix',
|
||||
'exclude' => 1,
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '30',
|
||||
'max' => '255',
|
||||
'checkbox' => '',
|
||||
'eval' => 'trim',
|
||||
)
|
||||
),
|
||||
'tx_metaseo_canonicalurl' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'pages.tx_metaseo_canonicalurl',
|
||||
'exclude' => 1,
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '30',
|
||||
'max' => '255',
|
||||
'checkbox' => '',
|
||||
'eval' => 'trim',
|
||||
'wizards' => array(
|
||||
'_PADDING' => 2,
|
||||
'link' => array(
|
||||
'type' => 'popup',
|
||||
'title' => 'Link',
|
||||
'icon' => 'link_popup.gif',
|
||||
'module' => array(
|
||||
'name' => 'wizard_element_browser',
|
||||
'urlParameters' => array(
|
||||
'mode' => 'wizard',
|
||||
'act' => 'url'
|
||||
)
|
||||
),
|
||||
'params' => array(
|
||||
'blindLinkOptions' => 'mail',
|
||||
),
|
||||
'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
|
||||
),
|
||||
),
|
||||
)
|
||||
),
|
||||
);
|
||||
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('pages_language_overlay', $tempColumns, 1);
|
||||
|
||||
// TCA Palettes
|
||||
$GLOBALS['TCA']['pages_language_overlay']['palettes']['tx_metaseo_pagetitle'] = array(
|
||||
'showitem' => 'tx_metaseo_pagetitle,--linebreak--,tx_metaseo_pagetitle_prefix,tx_metaseo_pagetitle_suffix',
|
||||
'canNotCollapse' => 1
|
||||
);
|
||||
|
||||
$GLOBALS['TCA']['pages_language_overlay']['palettes']['tx_metaseo_crawler'] = array(
|
||||
'showitem' => 'tx_metaseo_canonicalurl',
|
||||
'canNotCollapse' => 1
|
||||
);
|
||||
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
|
||||
'pages_language_overlay',
|
||||
'tx_metaseo_pagetitle_rel',
|
||||
'',
|
||||
'after:title'
|
||||
);
|
||||
|
||||
// Put it for standard page overlay
|
||||
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
|
||||
'pages_language_overlay',
|
||||
'--div--;LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.tab.seo;,--palette--;'
|
||||
. 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.palette.pagetitle;tx_metaseo_pagetitle,'
|
||||
. '--palette--;LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.palette.crawler;'
|
||||
. 'tx_metaseo_crawler',
|
||||
'',
|
||||
'after:author_email'
|
||||
);
|
||||
@@ -0,0 +1,154 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
'ctrl' => array(
|
||||
'title' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:tx_metaseo_setting_root',
|
||||
'label' => 'uid',
|
||||
'adminOnly' => true,
|
||||
'iconfile' => 'page',
|
||||
'hideTable' => true,
|
||||
'dividers2tabs' => true,
|
||||
),
|
||||
'interface' => array(
|
||||
'always_description' => true,
|
||||
'showRecordFieldList' => 'is_robotstxt,robotstxt',
|
||||
),
|
||||
'columns' => array(
|
||||
'is_sitemap' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'tx_metaseo_setting_root.is_sitemap',
|
||||
'config' => array(
|
||||
'type' => 'check',
|
||||
),
|
||||
),
|
||||
'is_sitemap_page_indexer' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'tx_metaseo_setting_root.is_sitemap_page_indexer',
|
||||
'config' => array(
|
||||
'type' => 'check',
|
||||
),
|
||||
),
|
||||
'is_sitemap_typolink_indexer' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'tx_metaseo_setting_root.is_sitemap_typolink_indexer',
|
||||
'config' => array(
|
||||
'type' => 'check',
|
||||
),
|
||||
),
|
||||
'is_sitemap_language_lock' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'tx_metaseo_setting_root.is_sitemap_language_lock',
|
||||
'config' => array(
|
||||
'type' => 'check',
|
||||
),
|
||||
),
|
||||
'sitemap_page_limit' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'tx_metaseo_setting_root.sitemap_page_limit',
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '10',
|
||||
'max' => '10',
|
||||
'eval' => 'int',
|
||||
'range' => array(
|
||||
'upper' => '1000000',
|
||||
'lower' => '0',
|
||||
),
|
||||
),
|
||||
),
|
||||
'sitemap_priorty' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'tx_metaseo_setting_root.sitemap_priorty',
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '6',
|
||||
'max' => '6',
|
||||
'eval' => 'tx_metaseo_backend_validation_float',
|
||||
),
|
||||
),
|
||||
'sitemap_priorty_depth_multiplier' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'tx_metaseo_setting_root.sitemap_priorty_depth_multiplier',
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '6',
|
||||
'max' => '6',
|
||||
'eval' => 'tx_metaseo_backend_validation_float',
|
||||
),
|
||||
),
|
||||
'sitemap_priorty_depth_modificator' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'tx_metaseo_setting_root.sitemap_priorty_depth_modificator',
|
||||
'config' => array(
|
||||
'type' => 'input',
|
||||
'size' => '6',
|
||||
'max' => '6',
|
||||
'eval' => 'tx_metaseo_backend_validation_float',
|
||||
),
|
||||
),
|
||||
'is_robotstxt' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'tx_metaseo_setting_root.is_robotstxt',
|
||||
'config' => array(
|
||||
'type' => 'check',
|
||||
),
|
||||
),
|
||||
'is_robotstxt_sitemap_static' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'tx_metaseo_setting_root.is_robotstxt_sitemap_static',
|
||||
'config' => array(
|
||||
'type' => 'check',
|
||||
),
|
||||
),
|
||||
'robotstxt' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'tx_metaseo_setting_root.robotstxt',
|
||||
'config' => array(
|
||||
'type' => 'text',
|
||||
'cols' => '30',
|
||||
'rows' => '20',
|
||||
),
|
||||
),
|
||||
'robotstxt_default' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'tx_metaseo_setting_root.robotstxt_default',
|
||||
'config' => array(
|
||||
'type' => 'user',
|
||||
'userFunc' => 'Metaseo\Metaseo\Hook\TCA\RobotsTxtDefault->main'
|
||||
),
|
||||
),
|
||||
'robotstxt_additional' => array(
|
||||
'label' => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'tx_metaseo_setting_root.robotstxt_additional',
|
||||
'config' => array(
|
||||
'type' => 'text',
|
||||
'cols' => '30',
|
||||
'rows' => '20',
|
||||
),
|
||||
),
|
||||
|
||||
),
|
||||
'types' => array(
|
||||
'0' => array(
|
||||
'showitem' => '--div--;LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:'
|
||||
. 'tx_metaseo_setting_root.tab.sitemap,is_sitemap;;pallette_sitemap,is_sitemap_language_lock,'
|
||||
. 'sitemap_page_limit,sitemap_priorty,sitemap_priorty_depth_multiplier,'
|
||||
. 'sitemap_priorty_depth_modificator,--div--;LLL:EXT:'
|
||||
. 'metaseo/Resources/Private/Language/TCA/locallang.xlf:tx_metaseo_setting_root.tab.robotstxt,'
|
||||
. 'is_robotstxt;;pallette_robotstxt',
|
||||
'canNotCollapse' => '1'
|
||||
),
|
||||
),
|
||||
'palettes' => array(
|
||||
'pallette_sitemap' => array(
|
||||
'showitem' => 'is_sitemap_page_indexer,is_sitemap_typolink_indexer',
|
||||
'canNotCollapse' => '1'
|
||||
),
|
||||
'pallette_robotstxt' => array(
|
||||
'showitem' => 'is_robotstxt_sitemap_static,--linebreak--,robotstxt,robotstxt_default,'
|
||||
. '--linebreak--,robotstxt_additional',
|
||||
'canNotCollapse' => '1'
|
||||
),
|
||||
),
|
||||
|
||||
);
|
||||
Reference in New Issue
Block a user