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'
|
||||
),
|
||||
),
|
||||
|
||||
);
|
||||
172
typo3conf/ext/metaseo/Configuration/TypoScript/constants.txt
Normal file
172
typo3conf/ext/metaseo/Configuration/TypoScript/constants.txt
Normal file
@@ -0,0 +1,172 @@
|
||||
###
|
||||
# This are the default TS-constants for metaseo
|
||||
##
|
||||
plugin.metaseo {
|
||||
# cat=plugin.metaseo.metaTags/page/01; type=string; label= Meta Description: Short description of your webpage.
|
||||
metaTags.description =
|
||||
|
||||
# cat=plugin.metaseo.metaTags/page/02; type=string; label= Meta Keywords: Comma separated list of keywords.
|
||||
metaTags.keywords =
|
||||
|
||||
# cat=plugin.metaseo.metaTags/page/03; type=string; label= Meta Copyright info: Copyright information (eg. "Me Myself and I, %YEAR%. All rights reserved.", %YEAR% will be substituted with the current year).
|
||||
metaTags.copyright =
|
||||
|
||||
# cat=plugin.metaseo.metaTags/page/04; type=string; label= Meta Reply-to email: Enter the e-mail adress for contact issues
|
||||
metaTags.email =
|
||||
|
||||
# cat=plugin.metaseo.metaTags/page/05; type=string; label= Meta Author: Enter name of author.
|
||||
metaTags.author =
|
||||
|
||||
# cat=plugin.metaseo.metaTags/page/06; type=string; label= Meta Publisher: Enter name of publisher.
|
||||
metaTags.publisher =
|
||||
|
||||
# cat=plugin.metaseo.metaTags/page/08; type=string; label= Distribution
|
||||
metaTags.distribution =
|
||||
|
||||
# cat=plugin.metaseo.metaTags/page/08; type=options[,General,Mature,14 years,Restricted]; label= Rating
|
||||
metaTags.rating =
|
||||
|
||||
# cat=plugin.metaseo.metaTags/page/10; type=int+; label= Revisit after: Number of days between search engine visits.
|
||||
metaTags.revisit =
|
||||
|
||||
# cat=plugin.metaseo.metaTags/page/14; type=string; label= Geo Position Latitude: Latitude of webpage
|
||||
metaTags.geoPositionLatitude =
|
||||
|
||||
# cat=plugin.metaseo.metaTags/page/15; type=string; label= Geo Position Longitude: Longitude of webpage
|
||||
metaTags.geoPositionLongitude =
|
||||
|
||||
# cat=plugin.metaseo.metaTags/page/16; type=string; label= Geo Region: Region of webpage (eg. DE-BW)
|
||||
metaTags.geoRegion =
|
||||
|
||||
# cat=plugin.metaseo.metaTags/page/17; type=string; label= Geo Placename: Placename of webpage (eg. Stuttgart)
|
||||
metaTags.geoPlacename =
|
||||
|
||||
# cat=plugin.metaseo.metaTags/page/19; type=string; label= PICS-Label: Platform for Internet Content Selection Label, see http://www.w3.org/PICS/
|
||||
metaTags.picsLabel =
|
||||
|
||||
# cat=plugin.metaseo.metaTags/enable/20; type=boolean; label= Publish LastUpdate-Time: Should the crawler be informed about the time a page was last updated.
|
||||
metaTags.useLastUpdate = 1
|
||||
|
||||
# cat=plugin.metaseo.metaTags/enable/22; type=boolean; label= Canonical Tag: Autogenerate Canonical-Metatag if possible.
|
||||
metaTags.canonicalUrl = 1
|
||||
|
||||
# cat=plugin.metaseo.metaTags/enable/23; type=boolean; label= Canonical Tag (Strict mode): Enable strict mode (all wrong GET-parameters will generate a canonical-tag to the self without GET-params).
|
||||
metaTags.canonicalUrl.strict = 1
|
||||
|
||||
# cat=plugin.metaseo.metaTags/enable/23; type=boolean; label= Canonical Tag (No MP mode): Link all mount point links to origin pages.
|
||||
metaTags.canonicalUrl.noMP = 0
|
||||
|
||||
# cat=plugin.metaseo.metaTags/enable/24; type=boolean; label= OpenGraph Tags: Enable generation of OpenGraph Tags
|
||||
metaTags.opengraph = 1
|
||||
|
||||
# cat=plugin.metaseo.metaTags/enable/25; type=boolean; label= Publish Page Expire Time: Anounce Expire Tag (TYPO3's enddate in content elements).
|
||||
metaTags.useExpire = 1
|
||||
|
||||
# cat=plugin.metaseo.metaTags/page/26; type=string; label= P3P Compact Policy: W3C P3P Compact Policy String.
|
||||
metaTags.p3pCP =
|
||||
|
||||
# cat=plugin.metaseo.metaTags/page/27; type=string; label= P3P Policy Url: URL to your W3C P3P Policy file.
|
||||
metaTags.p3pPolicyUrl =
|
||||
|
||||
# cat=plugin.metaseo.metaTags/enable/28; type=boolean; label= Link generation: Automatic generate index, up, prev und next links (metatags).
|
||||
metaTags.linkGeneration = 1
|
||||
|
||||
# cat=plugin.metaseo.metaTags/enable/29; type=boolean; label= Meta Description: Enable Dublin Core (DC.) metatags
|
||||
metaTags.enableDC = 1
|
||||
|
||||
# cat=plugin.metaseo.crawler/page/01; type=boolean; label= Crawler Robots-Tag: Enable robot-metatag
|
||||
metaTags.robotsEnable = 1
|
||||
# cat=plugin.metaseo.crawler/page/02; type=boolean; label= Crawler Index: Should the crawler (eg. Google) index the page and subpages
|
||||
metaTags.robotsIndex = 1
|
||||
# cat=plugin.metaseo.crawler/page/03; type=boolean; label= Crawler Follow: Should the crawler (eg. Google) follow links
|
||||
metaTags.robotsFollow = 1
|
||||
# cat=plugin.metaseo.crawler/page/04; type=boolean; label= Crawler Archive: Should the crawler (eg. Google) put the content of the page into the archive (eg. Google Cache)
|
||||
metaTags.robotsArchive = 1
|
||||
# cat=plugin.metaseo.crawler/page/05; type=boolean; label= Crawler Snippet: Should the crawler (eg. Google) show the snippet in the search result
|
||||
metaTags.robotsSnippet = 1
|
||||
# cat=plugin.metaseo.crawler/page/06; type=boolean; label= Crawler Noimageindex: Should the crawler (eg. Google) not index images
|
||||
metaTags.robotsNoImageindex = 0
|
||||
# cat=plugin.metaseo.crawler/page/07; type=boolean; label= Crawler Notranslate: Should the crawler (eg. Google) not translate content
|
||||
metaTags.robotsNoTranslate = 0
|
||||
# cat=plugin.metaseo.crawler/page/08; type=boolean; label= Crawler ODP: Should the crawler (eg. Google) use the description from the OpenDirectoryProject
|
||||
metaTags.robotsOdp = 1
|
||||
# cat=plugin.metaseo.crawler/page/09; type=boolean; label= Crawler YDir: Should the crawler (eg. Google) use the description from the Yahoo Directory
|
||||
metaTags.robotsYdir = 1
|
||||
|
||||
# cat=plugin.metaseo.userAgent/ie/1; type=options[,Highest Version=edge,10.x=10,9.x=9,8.x=8,7.x=7,6.x=6,5.x=5]; label= IE Compatibility Mode: Compatibility mode for Microsoft Internet Explorer.
|
||||
userAgent.ieCompatibilityMode =
|
||||
|
||||
# cat=plugin.metaseo.services/enable/01; type=boolean; label= Enable Services if header is disabled: If config.disableAllHeaderCode = 1 then services are automatically disabled (eg. for ajax calls) to prevent duplicate hits in google analytics/piwik (and/or javascript issues)
|
||||
services.enableIfHeaderIsDisabled = 0
|
||||
|
||||
# cat=plugin.metaseo.services/page/02; type=string; label= Google Crawler Verification: Verification code for google webmaster tools
|
||||
metaTags.googleVerification =
|
||||
|
||||
# cat=plugin.metaseo.services/page/03; type=string; label= MSN Crawler Verification: Verification code for msn webmaster tools
|
||||
metaTags.msnVerification =
|
||||
|
||||
# cat=plugin.metaseo.services/page/04; type=string; label= Yahoo! Crawler Verification: Verification code for yahoo! webmaster tools
|
||||
metaTags.yahooVerification =
|
||||
|
||||
# cat=plugin.metaseo.services/page/05; type=string; label= Web Of Trust Verification: Verification code for Web of trust (mywot.com)
|
||||
metaTags.wotVerification =
|
||||
|
||||
# cat=plugin.metaseo.services/page/06; type=string; label= Google Analytics: Code for google analytics (eg. UA-12345456-1) (multiple codes, comma separated)
|
||||
services.googleAnalytics =
|
||||
# cat=plugin.metaseo.services/page/07; type=string; label= Google Analytics Download & Click Domain Name: "auto", "none", single domain support: "example.com", subdomain support: ".example.com"
|
||||
services.googleAnalytics.domainName =
|
||||
# cat=plugin.metaseo.services/page/08; type=boolean; label= Google Analytics Anonymize IP: Enable anonymize IP
|
||||
services.googleAnalytics.anonymizeIp = 0
|
||||
# cat=plugin.metaseo.services/page/09; type=boolean; label= Google Analytics Track Downloads: Track downloads (with javascript) (BETA!)
|
||||
services.googleAnalytics.trackDownloads = 0
|
||||
|
||||
# cat=plugin.metaseo.services/page/11; type=string; label= Piwik URL: Url to your piwik installation (eg. www.example.com/piwik/ - don't use http:// or https:// as prefix!)
|
||||
services.piwik.url =
|
||||
# cat=plugin.metaseo.services/page/12; type=string; label= Piwik Id: Id of your website (multiple ids, comma separated)
|
||||
services.piwik.id =
|
||||
# cat=plugin.metaseo.services/page/13; type=string; label= Piwik Download & Click Domain Name: single domain support: "example.com", subdomain support: ".example.com"
|
||||
services.piwik.domainName =
|
||||
# cat=plugin.metaseo.services/page/14; type=string; label= Piwik Cookie Domain Name: single domain support: "example.com", subdomain support: ".example.com"
|
||||
services.piwik.cookieDomainName =
|
||||
# cat=plugin.metaseo.services/page/15; type=boolean; label= Piwik DoNotTrack: Opt Out users with Mozilla's DoNotTrack browser setting
|
||||
services.piwik.doNotTrack = 1
|
||||
|
||||
# cat=plugin.metaseo.social/page/1; type=string; label= Google+ Direct Connect: Your Google+ Profile Page ID (see https://developers.google.com/+/plugins/badge/)
|
||||
social.googleplus.profilePageId =
|
||||
|
||||
# cat=plugin.metaseo.pageTitle/enable/01; type=boolean; label= Apply Tmpl-Sitetitle to absolute <title>: This enables the addition of the template-sitetitle to the rendered page-title (in absolute <title>-mode)
|
||||
pageTitle.applySitetitleToPagetitle = 0
|
||||
|
||||
# cat=plugin.metaseo.pageTitle/enable/02; type=boolean; label= Apply Tmpl-Sitetitle to prefix/suffix: This enables the addition of the template-sitetitle to the rendered page-title (in pagetitle-prefix/suffix-mode)
|
||||
pageTitle.applySitetitleToPrefixSuffix = 1
|
||||
|
||||
# cat=plugin.metaseo.pageTitle/enable/03; type=string; label= Sitetitle glue: String between title and sitetitle (from template)
|
||||
pageTitle.sitetitleGlue = :
|
||||
|
||||
# cat=plugin.metaseo.pageTitle/enable/04; type=boolean; label= Sitetitle glue spacer (before): Add spacer between title and glue (from template)
|
||||
pageTitle.sitetitleGlueSpaceBefore = 0
|
||||
|
||||
# cat=plugin.metaseo.pageTitle/enable/05; type=boolean; label= Sitetitle glue spacer (after): Add spacer between glue and sitetitle (from template)
|
||||
pageTitle.sitetitleGlueSpaceAfter = 1
|
||||
|
||||
# cat=plugin.metaseo.pageTitle/enable/06; type=options[Sitetitle-Pagetitle=0, Pagetitle-Sitetitle=1]; label= Sitetitle position: Position of template-sitetitle in title
|
||||
pageTitle.sitetitlePosition = 0
|
||||
|
||||
# cat=plugin.metaseo.pageTitle/enable/07; type=string; label= Sitetitle : Overwrite the template sitetitle with a custom one
|
||||
pageTitle.sitetitle =
|
||||
|
||||
# cat=plugin.metaseo.sitemap/page/02; type=int+; label= Default page priority (0-100)
|
||||
sitemap.pagePriority =
|
||||
|
||||
# cat=plugin.metaseo.sitemap/page/03; type=options[,Always=1,Hourly=2,Daily=3,Weekly=4,Monthly=5,Yearly=6,Never (archive)=7]; label= Default change frequency: Default change frequency for sitemap cache (will be cached!)
|
||||
sitemap.changeFrequency =
|
||||
|
||||
# cat=plugin.metaseo.sitemap/page/04; type=int+; label= Default expiration: Sitemap entry expiration in days
|
||||
sitemap.expiration = 60
|
||||
|
||||
# cat=plugin.metaseo.sitemap/index/01; type=boolean; label= Index not static cacheable pages: Allow to index not static cacheable pages
|
||||
sitemap.index.allowNoStaticCachable = 0
|
||||
|
||||
# cat=plugin.metaseo.sitemap/index/01; type=boolean; label= Index no_cache pages: Allow to index no_cache pages
|
||||
sitemap.index.allowNoCache = 0
|
||||
}
|
||||
593
typo3conf/ext/metaseo/Configuration/TypoScript/setup.txt
Normal file
593
typo3conf/ext/metaseo/Configuration/TypoScript/setup.txt
Normal file
@@ -0,0 +1,593 @@
|
||||
###
|
||||
# This is the default TS-setup for metaseo
|
||||
#
|
||||
# (see Section Reference in the manual for more options & parameters)
|
||||
#
|
||||
###
|
||||
|
||||
## title tag changer
|
||||
config.titleTagFunction = Metaseo\Metaseo\Page\Part\PagetitlePart->main
|
||||
|
||||
page {
|
||||
# MetaSEO: Metatags
|
||||
headerData.84113002 = USER
|
||||
headerData.84113002 {
|
||||
userFunc = Metaseo\Metaseo\Page\Part\MetatagPart->main
|
||||
}
|
||||
|
||||
# MetaSEO: Pager Footer
|
||||
84113002 = USER
|
||||
84113002 {
|
||||
userFunc = Metaseo\Metaseo\Page\Part\FooterPart->main
|
||||
}
|
||||
}
|
||||
|
||||
# TypoScript added by extension "metaseo"
|
||||
plugin.metaseo =
|
||||
plugin.metaseo {
|
||||
# Page title generator
|
||||
pageTitle =
|
||||
pageTitle {
|
||||
# Caching of page title
|
||||
caching = 1
|
||||
|
||||
applySitetitleToPagetitle = {$plugin.metaseo.pageTitle.applySitetitleToPagetitle}
|
||||
applySitetitleToPrefixSuffix = {$plugin.metaseo.pageTitle.applySitetitleToPrefixSuffix}
|
||||
sitetitleGlue = {$plugin.metaseo.pageTitle.sitetitleGlue}
|
||||
sitetitleGlueSpaceBefore = {$plugin.metaseo.pageTitle.sitetitleGlueSpaceBefore}
|
||||
sitetitleGlueSpaceAfter = {$plugin.metaseo.pageTitle.sitetitleGlueSpaceAfter}
|
||||
sitetitlePosition = {$plugin.metaseo.pageTitle.sitetitlePosition}
|
||||
sitetitle = {$plugin.metaseo.pageTitle.sitetitle}
|
||||
|
||||
# list of stdWraps for advanced page title manipulations
|
||||
stdWrap =
|
||||
stdWrap {
|
||||
# stdWrap for raw page title (before processing)
|
||||
before =
|
||||
before {
|
||||
|
||||
}
|
||||
|
||||
# stdWrap for sitetitle (the title from the template, not from the page)
|
||||
sitetitle =
|
||||
sitetitle {
|
||||
|
||||
}
|
||||
|
||||
# stdWrap for processed page title (after processing)
|
||||
after =
|
||||
after {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Page metatag generator
|
||||
metaTags =
|
||||
metaTags {
|
||||
enableDC = {$plugin.metaseo.metaTags.enableDC}
|
||||
description = {$plugin.metaseo.metaTags.description}
|
||||
keywords = {$plugin.metaseo.metaTags.keywords}
|
||||
copyright = {$plugin.metaseo.metaTags.copyright}
|
||||
email = {$plugin.metaseo.metaTags.email}
|
||||
author = {$plugin.metaseo.metaTags.author}
|
||||
publisher = {$plugin.metaseo.metaTags.publisher}
|
||||
language = {$plugin.metaseo.metaTags.language}
|
||||
distribution = {$plugin.metaseo.metaTags.distribution}
|
||||
rating = {$plugin.metaseo.metaTags.rating}
|
||||
revisit = {$plugin.metaseo.metaTags.revisit}
|
||||
|
||||
p3pCP = {$plugin.metaseo.metaTags.p3pCP}
|
||||
p3pPolicyUrl = {$plugin.metaseo.metaTags.p3pPolicyUrl}
|
||||
|
||||
linkGeneration = {$plugin.metaseo.metaTags.linkGeneration}
|
||||
|
||||
robotsEnable = {$plugin.metaseo.metaTags.robotsEnable}
|
||||
robotsIndex = {$plugin.metaseo.metaTags.robotsIndex}
|
||||
|
||||
robotsIndex {
|
||||
# blacklist (RegExp, eg /typo3/)
|
||||
blacklist {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
robotsFollow = {$plugin.metaseo.metaTags.robotsFollow}
|
||||
robotsArchive = {$plugin.metaseo.metaTags.robotsArchive}
|
||||
robotsSnippet = {$plugin.metaseo.metaTags.robotsSnippet}
|
||||
robotsNoImageindex = {$plugin.metaseo.metaTags.robotsNoImageindex}
|
||||
robotsNoTranslate = {$plugin.metaseo.metaTags.robotsNoTranslate}
|
||||
robotsOdp = {$plugin.metaseo.metaTags.robotsOdp}
|
||||
robotsYdir = {$plugin.metaseo.metaTags.robotsYdir}
|
||||
|
||||
geoPositionLatitude = {$plugin.metaseo.metaTags.geoPositionLatitude}
|
||||
geoPositionLongitude = {$plugin.metaseo.metaTags.geoPositionLongitude}
|
||||
geoRegion = {$plugin.metaseo.metaTags.geoRegion}
|
||||
geoPlacename = {$plugin.metaseo.metaTags.geoPlacename}
|
||||
|
||||
googleVerification = {$plugin.metaseo.metaTags.googleVerification}
|
||||
msnVerification = {$plugin.metaseo.metaTags.msnVerification}
|
||||
yahooVerification = {$plugin.metaseo.metaTags.yahooVerification}
|
||||
wotVerification = {$plugin.metaseo.metaTags.wotVerification}
|
||||
|
||||
picsLabel = {$plugin.metaseo.metaTags.picsLabel}
|
||||
|
||||
useLastUpdate = {$plugin.metaseo.metaTags.useLastUpdate}
|
||||
|
||||
# canonical tag generator settings
|
||||
canonicalUrl = {$plugin.metaseo.metaTags.canonicalUrl}
|
||||
canonicalUrl {
|
||||
strict = {$plugin.metaseo.metaTags.canonicalUrl.strict}
|
||||
noMP = {$plugin.metaseo.metaTags.canonicalUrl.noMP}
|
||||
|
||||
# Default typolink configuration for canonical link
|
||||
typolink {
|
||||
|
||||
}
|
||||
|
||||
# blacklist (RegExp, eg /typo3/)
|
||||
blacklist {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
# OpenGraph metatags
|
||||
opengraph = {$plugin.metaseo.metaTags.opengraph}
|
||||
opengraph {
|
||||
site_name = TEXT
|
||||
site_name {
|
||||
data = TSFE:tmpl|sitetitle
|
||||
}
|
||||
|
||||
title = TEXT
|
||||
title {
|
||||
field = title
|
||||
}
|
||||
|
||||
type = article
|
||||
admins =
|
||||
email = {$plugin.metaseo.metaTags.email}
|
||||
phone_number =
|
||||
fax_number =
|
||||
latitude = {$plugin.metaseo.metaTags.geoPositionLatitude}
|
||||
longitude = {$plugin.metaseo.metaTags.geoPositionLongitude}
|
||||
street-address =
|
||||
locality = {$plugin.metaseo.metaTags.geoPlacename}
|
||||
region = {$plugin.metaseo.metaTags.geoRegion}
|
||||
postal-code =
|
||||
country-name =
|
||||
}
|
||||
|
||||
useExpire = {$plugin.metaseo.metaTags.useExpire}
|
||||
|
||||
ieCompatibilityMode = {$plugin.metaseo.userAgent.ieCompatibilityMode}
|
||||
|
||||
# basic configuration for metatag information
|
||||
conf =
|
||||
conf {
|
||||
description_page.field = description
|
||||
keywords_page.field = keywords
|
||||
title_page.field = title
|
||||
author_page.field = author
|
||||
email_page.field = author_email
|
||||
|
||||
tx_metaseo_geo_lat.field = tx_metaseo_geo_lat
|
||||
tx_metaseo_geo_long.field = tx_metaseo_geo_long
|
||||
tx_metaseo_geo_place.field = tx_metaseo_geo_place
|
||||
tx_metaseo_geo_region.field = tx_metaseo_geo_region
|
||||
|
||||
lastUpdate_page = TEXT
|
||||
lastUpdate_page {
|
||||
data = page:lastUpdated
|
||||
stdWrap.ifEmpty.data = register : SYS_LASTCHANGED
|
||||
date = c
|
||||
}
|
||||
}
|
||||
|
||||
# section links (start, up, next, prev)
|
||||
sectionLinks =
|
||||
sectionLinks {
|
||||
prev = HMENU
|
||||
prev {
|
||||
special = browse
|
||||
special {
|
||||
items = prev
|
||||
prev.fields.title =
|
||||
}
|
||||
|
||||
1 = TMENU
|
||||
1.NO {
|
||||
wrapItemAndSub = {field:uid}
|
||||
wrapItemAndSub.insertData = 1
|
||||
doNotLinkIt = 1
|
||||
}
|
||||
}
|
||||
|
||||
next = HMENU
|
||||
next {
|
||||
special = browse
|
||||
special {
|
||||
items = next
|
||||
next.fields.title =
|
||||
}
|
||||
|
||||
1 = TMENU
|
||||
1.NO {
|
||||
wrapItemAndSub = {field:uid}
|
||||
wrapItemAndSub.insertData = 1
|
||||
doNotLinkIt = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# list of stdWraps for advanced metatag manipulations
|
||||
stdWrap =
|
||||
stdWrap {
|
||||
# stdWrap for title
|
||||
title =
|
||||
title {
|
||||
|
||||
}
|
||||
|
||||
# stdWrap for description
|
||||
description =
|
||||
description {
|
||||
|
||||
}
|
||||
|
||||
# stdWrap for keywords
|
||||
keywords =
|
||||
keywords {
|
||||
|
||||
}
|
||||
|
||||
# stdWrap for copyright
|
||||
copyright =
|
||||
copyright {
|
||||
|
||||
}
|
||||
|
||||
# stdWrap for language
|
||||
language =
|
||||
language {
|
||||
|
||||
}
|
||||
|
||||
# stdWrap for email
|
||||
email =
|
||||
email {
|
||||
|
||||
}
|
||||
|
||||
# stdWrap for author
|
||||
author =
|
||||
author {
|
||||
|
||||
}
|
||||
|
||||
# stdWrap for publisher
|
||||
publisher =
|
||||
publisher {
|
||||
|
||||
}
|
||||
|
||||
# stdWrap for distribution
|
||||
distribution =
|
||||
distribution {
|
||||
|
||||
}
|
||||
|
||||
# stdWrap for rating
|
||||
rating =
|
||||
rating {
|
||||
|
||||
}
|
||||
|
||||
# stdWrap for lastUpdate
|
||||
lastUpdate =
|
||||
lastUpdate {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Advanced services (google analytics, piwik ...)
|
||||
services =
|
||||
services {
|
||||
# Google Analytics configuration
|
||||
googleAnalytics = {$plugin.metaseo.services.googleAnalytics}
|
||||
googleAnalytics {
|
||||
# show google analytics if user is logged in be (default is disable, we don't want to track be-users)
|
||||
showIfBeLogin = 0
|
||||
|
||||
anonymizeIp = {$plugin.metaseo.services.googleAnalytics.anonymizeIp}
|
||||
domainName = {$plugin.metaseo.services.googleAnalytics.domainName}
|
||||
|
||||
trackDownloads = {$plugin.metaseo.services.googleAnalytics.trackDownloads}
|
||||
trackDownloadsScript = EXT:metaseo/Resources/Public/Frontend/JavaScript/GoogleAnalyticsTrackDownload.js
|
||||
|
||||
customizationCode =
|
||||
enableIfHeaderIsDisabled = {$plugin.metaseo.services.enableIfHeaderIsDisabled}
|
||||
|
||||
## google analytics template code
|
||||
template = COA
|
||||
template {
|
||||
10 = FLUIDTEMPLATE
|
||||
10 {
|
||||
file = EXT:metaseo/Resources/Private/Templates/PageParts/ServiceGoogleAnalytics.html
|
||||
variables {
|
||||
gaCode = TEXT
|
||||
gaCode.field = gaCode
|
||||
|
||||
gaCustomizationCode = TEXT
|
||||
gaCustomizationCode.field = gaCustomizationCode
|
||||
|
||||
gaIsAnonymize = TEXT
|
||||
gaIsAnonymize.field = gaIsAnonymize
|
||||
|
||||
gaDomainName = TEXT
|
||||
gaDomainName.field = gaDomainName
|
||||
|
||||
gaUseUniversalAnalytics = TEXT
|
||||
gaUseUniversalAnalytics.field = gaUseUniversalAnalytics
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Piwik configuration
|
||||
piwik =
|
||||
piwik {
|
||||
# show piwik if user is logged in be (default is disable, we don't want to track be-users)
|
||||
showIfBeLogin = 0
|
||||
url = {$plugin.metaseo.services.piwik.url}
|
||||
id = {$plugin.metaseo.services.piwik.id}
|
||||
|
||||
domainName = {$plugin.metaseo.services.piwik.domainName}
|
||||
cookieDomainName = {$plugin.metaseo.services.piwik.cookieDomainName}
|
||||
doNotTrack = {$plugin.metaseo.services.piwik.doNotTrack}
|
||||
customizationCode =
|
||||
|
||||
enableIfHeaderIsDisabled = {$plugin.metaseo.services.enableIfHeaderIsDisabled}
|
||||
|
||||
## piwik template code
|
||||
template = COA
|
||||
template {
|
||||
10 = FLUIDTEMPLATE
|
||||
10 {
|
||||
file = EXT:metaseo/Resources/Private/Templates/PageParts/ServicePiwik.html
|
||||
variables {
|
||||
piwikUrl = TEXT
|
||||
piwikUrl.field = piwikUrl
|
||||
|
||||
piwikId = TEXT
|
||||
piwikId.field = piwikId
|
||||
|
||||
piwikCustomizationCode = TEXT
|
||||
piwikCustomizationCode.field = piwikCustomizationCode
|
||||
|
||||
piwikDomainName = TEXT
|
||||
piwikDomainName.field = piwikDomainName
|
||||
|
||||
piwikCookieDomainName = TEXT
|
||||
piwikCookieDomainName.field = piwikCookieDomainName
|
||||
|
||||
piwikDoNotTrack = TEXT
|
||||
piwikDoNotTrack.field = piwikDoNotTrack
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Social services (Google+,...)
|
||||
social =
|
||||
social {
|
||||
googlePlus =
|
||||
googlePlus {
|
||||
profilePageId = {$plugin.metaseo.social.googleplus.profilePageId}
|
||||
}
|
||||
}
|
||||
|
||||
# Sitemap indexer and generator
|
||||
sitemap =
|
||||
sitemap {
|
||||
pagePriority = {$plugin.metaseo.sitemap.pagePriority}
|
||||
changeFrequency = {$plugin.metaseo.sitemap.changeFrequency}
|
||||
expiration = {$plugin.metaseo.sitemap.expiration}
|
||||
|
||||
# indexer settings
|
||||
index {
|
||||
# blacklist (RegExp, eg /typo3/)
|
||||
blacklist {
|
||||
|
||||
}
|
||||
|
||||
# Blacklist for SetupTS PAGE object typeNums
|
||||
pageTypeBlacklist =
|
||||
|
||||
allowNoStaticCachable = {$plugin.metaseo.sitemap.index.allowNoStaticCachable}
|
||||
allowNoCache = {$plugin.metaseo.sitemap.index.allowNoCache}
|
||||
|
||||
# Whitelist of allowed file extensions
|
||||
fileExtension {
|
||||
# PDF
|
||||
1 = pdf
|
||||
|
||||
# Microsoft Office
|
||||
2 = doc,docx,xls,xlsx,ppt,pptx
|
||||
|
||||
# OpenOffice
|
||||
3 = odt,odp,ods,odg
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Robots.txt configuration
|
||||
robotsTxt =
|
||||
robotsTxt {
|
||||
# Default robots.txt if no config is found
|
||||
default = COA
|
||||
default {
|
||||
10 = TEXT
|
||||
10 {
|
||||
value (
|
||||
User-agent: *
|
||||
Disallow: /fileadmin/_temp_/
|
||||
Disallow: /t3lib/
|
||||
Disallow: /typo3/
|
||||
Disallow: /typo3_src/
|
||||
Disallow: /typo3conf/
|
||||
Disallow: /clear.gif
|
||||
Allow: /typo3/sysext/frontend/Resources/Public/*
|
||||
|
||||
)
|
||||
}
|
||||
|
||||
90 = TEXT
|
||||
90 {
|
||||
value (
|
||||
Sitemap: %sitemap%
|
||||
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
# Extra robots.txt, will added even if robots.txt is found
|
||||
extra = COA
|
||||
extra {
|
||||
|
||||
}
|
||||
|
||||
# Robots.txt marker (search/replace, eg. %name%)
|
||||
marker =
|
||||
marker {
|
||||
sitemap = TEXT
|
||||
sitemap {
|
||||
typolink {
|
||||
parameter.data = leveluid:0
|
||||
parameter.wrap = |,841132
|
||||
returnLast = url
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# MetaSEO TXT Sitemap
|
||||
metaSeoSitemapTxt = PAGE
|
||||
metaSeoSitemapTxt {
|
||||
typeNum = 841131
|
||||
|
||||
config {
|
||||
linkVars < config.linkVars
|
||||
linkVars := removeFromList(type)
|
||||
}
|
||||
|
||||
10 = USER_INT
|
||||
10 {
|
||||
userFunc = Metaseo\Metaseo\Page\SitemapTxtPage->main
|
||||
}
|
||||
|
||||
config {
|
||||
disableAllHeaderCode = 1
|
||||
additionalHeaders = Content-type:text/plain;charset=UTF-8
|
||||
xhtml_cleaning = 0
|
||||
|
||||
## disable static documents and stuff
|
||||
simulateStaticDocuments = 0
|
||||
tx_realurl_enable = 0
|
||||
tx_cooluri_enable = 0
|
||||
sourceopt.enabled = 0
|
||||
|
||||
## disable indexed search
|
||||
index_enable = 0
|
||||
|
||||
## disable features
|
||||
insertDmailerBoundaries = 0
|
||||
admPanel = 0
|
||||
stat = 0
|
||||
jumpurl_enable = 0
|
||||
debug = 0
|
||||
message_preview = #
|
||||
}
|
||||
}
|
||||
|
||||
# MetaSEO XML Sitemap
|
||||
metaSeoSitemapXml = PAGE
|
||||
metaSeoSitemapXml {
|
||||
typeNum = 841132
|
||||
|
||||
config {
|
||||
linkVars < config.linkVars
|
||||
linkVars := removeFromList(type)
|
||||
}
|
||||
|
||||
10 = USER_INT
|
||||
10 {
|
||||
userFunc = Metaseo\Metaseo\Page\SitemapXmlPage->main
|
||||
}
|
||||
|
||||
config {
|
||||
disableAllHeaderCode = 1
|
||||
additionalHeaders = Content-type:application/xml;charset=UTF-8
|
||||
xhtml_cleaning = 0
|
||||
|
||||
## disable static documents and stuff
|
||||
simulateStaticDocuments = 0
|
||||
tx_realurl_enable = 0
|
||||
tx_cooluri_enable = 0
|
||||
sourceopt.enabled = 0
|
||||
|
||||
## disable indexed search
|
||||
index_enable = 0
|
||||
|
||||
## disable features
|
||||
insertDmailerBoundaries = 0
|
||||
admPanel = 0
|
||||
stat = 0
|
||||
jumpurl_enable = 0
|
||||
debug = 0
|
||||
message_preview = <!-- -->
|
||||
}
|
||||
}
|
||||
|
||||
# MetaSEO Robots.txt
|
||||
metaSeoRobotsTxt = PAGE
|
||||
metaSeoRobotsTxt {
|
||||
typeNum = 841133
|
||||
|
||||
10 = USER_INT
|
||||
10 {
|
||||
userFunc = Metaseo\Metaseo\Page\RobotsTxtPage->main
|
||||
}
|
||||
|
||||
config {
|
||||
disableAllHeaderCode = 1
|
||||
additionalHeaders = Content-type:text/plain;charset=UTF-8
|
||||
xhtml_cleaning = 0
|
||||
|
||||
## disable static documents and stuff
|
||||
simulateStaticDocuments = 0
|
||||
tx_realurl_enable = 0
|
||||
tx_cooluri_enable = 0
|
||||
sourceopt.enabled = 0
|
||||
|
||||
## disable indexed search
|
||||
index_enable = 0
|
||||
|
||||
## disable features
|
||||
insertDmailerBoundaries = 0
|
||||
admPanel = 0
|
||||
stat = 0
|
||||
jumpurl_enable = 0
|
||||
debug = 0
|
||||
message_preview = #
|
||||
}
|
||||
}
|
||||
|
||||
#####
|
||||
# Ext: news
|
||||
####
|
||||
|
||||
plugin.tx_news.settings.detail.registerProperties := addToList(keywords,title,teaser,authoremail)
|
||||
Reference in New Issue
Block a user