[FEATURE] Use Wiki Page Title in HTML Title 14/15514/1
authorBastian Bringenberg <mail@bastian-bringenberg.de>
Thu, 11 Oct 2012 13:45:48 +0000 (15:45 +0200)
committerBastian Bringenberg <mail@bastian-bringenberg.de>
Thu, 11 Oct 2012 13:45:48 +0000 (15:45 +0200)
Enabled via TypoScript because of less load

Change-Id: I287544d67f4834dbece8bc9e8e55ee8c4ca18055
Fixes: #41468 @1h00

Configuration/TypoScript/constants.txt
Configuration/TypoScript/setup.txt

index 8accae4..d6b8b2a 100755 (executable)
@@ -15,5 +15,12 @@ plugin.tx_typo3wiki {
                // @todo file is wrong
                # cat=plugin.tx_typo3wiki/file; type=string; label=Starting Page for Wiki (FE)
                indexPageTitle = main
+               header = COA
+               header{
+                   prefix = TEXT
+                   prefix =  :
+            suffix = TEXT
+            suffix =
+               }
        }
 }
\ No newline at end of file
index 46ac09e..e8b8ab2 100755 (executable)
@@ -16,6 +16,13 @@ plugin.tx_typo3wiki {
     }
 }
 
+lib.typo3wiki.header = TEXT
+lib.typo3wiki.header {
+  data = GP:tx_typo3wiki_typo3wiki|page
+  wrap = {$plugin.tx_typo3wiki.settings.header.prefix}{DB:tx_typo3wiki_domain_model_page:|:page_title}{$plugin.tx_typo3wiki.settings.header.suffix}
+  insertData = 1
+}
+
 plugin.tx_typo3wiki._CSS_DEFAULT_STYLE (
        input.f3-form-error {
                background-color:#FF9F9F;