.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt =================================== EXT: Config, Metatag & SEO Features =================================== :Author: Iggy :Created: 2009-03-09T16:37:37 :Changed by: Iggy :Changed: 2009-10-19T13:35:15.980000000 :Classification: metaext :Keywords: forEditors, forAdmins, forBeginners, forIntermediates :Author: Michael 'Iggy' Rudolph - sensomedia.de :Email: info@sensomedia.de :Info 4: :Language: en .. _EXT-Config-Metatag-SEO-Features: EXT: Config, Metatag & SEO Features =================================== Extension Key: metaext Language: en Keywords: forEditors, forAdmins, forBeginners, forIntermediates Copyright 2000-2008, Michael 'Iggy' Rudolph - sensomedia.de, This document is published under the Open Content License available from http://www.opencontent.org/opl.shtml The content of this document is related to TYPO3 \- a GNU/GPL CMS/Framework available from www.typo3.org .. _Table-of-Contents: Table of Contents ----------------- `EXT: Config, Metatag & SEO Features 1 <#1.EXT:%20Config,%20Metatag%20&%20SEO%20Features|outline>`_ **`Introduction 3 <#1.1.Introduction|outline>`_** `What does it do? 3 <#1.1.1.What%20does%20it%20do_|outline>`_ `Screenshots 4 <#1.1.3.Screenshots|outline>`_ **`Users manual 7 <#1.4.Users%20manual|outline>`_** **`Administration 13 <#1.5.Administration|outline>`_** **`Configuration 14 <#1.6.Configuration|outline>`_** **`Tutorial 15 <#1.7.Tutorial|outline>`_** **`Known problems 16 <#1.8.Known%20problems|outline>`_** **`To-Do list 17 <#1.9.To-Do%20list|outline>`_** **`ChangeLog 18 <#1.10.ChangeLog|outline>`_** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ Basically this extension comes with a static template which you can include to your root template. Doing so provides you with a basic configuration for your site which is editable via the constant editor in a pretty comfortable way. Also a smart little titletag generator is included (a.o. with reverse rootline). Additionaly you get some fields added to the page module where you can enter additional metatags ie.: copyright, publisher, robots (like: index,follow or index, nofollow etc), plus an alternative headline Then there is also a tiny xhtml postprocessor included which is able to remove unwanted html comments, reorder the header tags (so title & metatags get on top), remove unneeded whitespace and empty lines and even is able to nicely indent the resulting code including inline js and style content. To sum it up, you just need to include something like this in your root template: config < plugin.tx\_metaext\_config.config page.typeNum = 0 page.headerData.1000 < plugin.tx\_metaext\_metatags ...add some template handling in your page setup and you're ready to go. .. _Screenshots: Screenshots ^^^^^^^^^^^ |img-1| *Illustration 1: edit title & metatag settings with the constant editor* |img-2| *Illustration 2: alternative pagetitle added to the page settings* |img-3| *Illustration 3: additional metatags added to the page settings* .. _Users-manual: Users manual ------------ The main intention behind this extension is to provide a basic set of features which is needed all (or most of) the time to prepare a new typo3 site. This includes the imho. most commonly needed config values, a somewhat smart title tag generator and an easy way to edit and inject the commonly accepted metatags to the page. .. _generated: ((generated)) ^^^^^^^^^^^^^ .. _Post-installation: **Post installation** : """"""""""""""""""""""" After installing the extension via the extension manager you'll get a set of configuration options which I'll explain here: .. ### BEGIN~OF~TABLE ### .. _extend-Constant-Editor: extend Constant Editor ~~~~~~~~~~~~~~~~~~~~~~ .. container:: table-row Field extend Constant Editor Description This enables some new subcategories in the constant editor used by the extension template of this extension. Technically this is managed by xclassing the 'class.t3lib\_tsparser\_ext' class. This is just a cosmetical feature so you can read subcategories like: 'Speaking URL Management' , 'Administrative settings', or 'Administrative settings' in the constant editor. .. _patch-6637: patch 6637 ~~~~~~~~~~ .. container:: table-row Field patch 6637 Description Applying this patch will replace a function in the 'class.tslib\_menu', which then adds a feature which is only available with Typo3 v4.3. This feature is the 'reverseOrder' property for the rootline hmenu. This featue is used for the reverse-rootline in the title-tag generator. With the release of typo3 4.3 this patch will become obsolete und should not be used anymore as the new version of tslib\_menu might have some more features incorporated at that point. .. _disableNoCacheParameter: disableNoCacheParameter ~~~~~~~~~~~~~~~~~~~~~~~ .. container:: table-row Field disableNoCacheParameter Description With this setting turned on, you globaly disallow the use of the no\_cache parameter. This means, even if a pages setting says to not cache the page or a config.no\_cache=1 is somewhere in the setup, this will be disobeyed and the page cache will only be cleared when the regular cache timeout is due or you explicitly clear the cache. .. _Hide-Untranslated-Pages: Hide Untranslated Pages ~~~~~~~~~~~~~~~~~~~~~~~ .. container:: table-row Field Hide Untranslated Pages Description If this setting is checked, all pages with no translation won't show up in the menu if the language setting is not L=0 (which would be the default language). Hiding untranslated pages is neccessary if you use the config option 'sys\_language\_mode = strict' which would result in a 404 if a page isn't translated yet. and 'sys\_language\_mode = fallback' is no good idea at all, because of the double content which would be created if the language overlay sends out the untranslated content when calling the page in a language which is not the default (L=0). Changing this setting eventually changes the behaviour the a setting under Web->Page->Page properties->Localization settings-> from 'Hide page if no translation for current language exists' to 'Show page even if no translation exists'. That in mind you should check this setting on pages where you manually changed them earlier, because they will behave exactly oposite. .. _Create-sitemaps: Create sitemaps ~~~~~~~~~~~~~~~ .. container:: table-row Field Create sitemaps Description comma separated list of sitemaps to create (realurl needs to be enabled [cooluri config will follow soon]). see manual for sitemap integration and configuration reference. valid values would be 'sitemap.xml:1234,anothersitemap.xml:2345,...' where the item in front of the colon is the name and behind is the typeNum which you can refer to in your setup. if this field is not empty, also a realurl config will be added. see manual for avoiding possible pitfalls. .. _Hide-misc-Fields: Hide misc Fields: ~~~~~~~~~~~~~~~~~ .. container:: table-row Field Hide misc Fields: Author, Email, Abstract, Keywords, Description Description you can choose to hide the fields [Author, Email, Abstract, Keywords, Description] in the [metatags] section of the pages module. these are STANDARD fields of Typo3 and might be used with this extension. NOTE: disabling this option only hides the field, the underlying data is left unaffected and will be displayed if configured. .. _Hide-misc-New-Fields: Hide misc New Fields: ~~~~~~~~~~~~~~~~~~~~~ .. container:: table-row Field Hide misc New Fields: Alttitle, Geo, Copyright, Publisher, Robots, Importance Description you can choose to hide the fields [Alttitle, Geotags, Copyright, Publisher, Robots, Importance] in the [metatags] section of the pages module. these are NEW fields that come with this extension. NOTE: disabling this option only hides the field, the underlying data is left unaffected and will be displayed if configured. The Robots field might also be used for excluding different pages from appearing in the sitemap. The importance field is only used in conjunction with the sitemap feature. .. _postprocessing: postprocessing ~~~~~~~~~~~~~~ .. container:: table-row Field postprocessing Description This enables the post processor for processing the generated (x)html content. The post processing will only apply to the typeNum = 0 page object, so no other pagetypes will be affected. It does various things and apart from some features which depend on each other you can switch them on and of in a way which works for your specific setup. It is highly recommended to test the features thoroughly in your environment to decide if the result is ok on all kind of pages on your site. .. _unicode-Processing: unicode Processing ~~~~~~~~~~~~~~~~~~ .. container:: table-row Field unicode Processing Description This switches on the Unicode flag in the case you are using UTF-8 content and only get a white page as result. As there are some replacements done by regex, some might terribly fail if supplied with unicode strings and not havnig the 'u' flag set. This setting takes care of that. Should left unchecked for non-unicode content, though. .. _remove-ALL-html-comments: remove ALL html comments ~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: table-row Field remove ALL html comments Description Postprocessing: Enabling this will remove ALL html comments apart from those nested in