Mittels awstats können umfangreiche Statistiken erstellt werden. Ein gutes Tutorial gibt es hier: http://www.kyt.ch/awstats-typo3.html
$TYPO3_CONF_VARS["FE"]["logfile_dir"] = fileadmin/logfiles/
config.stat = 1 config.stat_apache = 1 config.stat_apache_logfile = typo3.log
<INCLUDE_TYPOSCRIPT:source="file:fileadmin/Pfad/zur/Datei">
im Template inkludiert werden. Diese Dateien können am besten mit SweeTS bearbeitet werden. Nach jeder Änderung an der Datei muss jedoch der Frontend-Cache geleert werden.
page = PAGE page.config { # XHTML doctype = xhtml_trans xhtml_cleaning = all xmlprologue = none # language settings locale_all = de_DE language = de htmlTag_langKey = DE locale_all = de_DE language = de # clean up HTML removeDefaultJS = 1 disablePrefixComment = 1 } # XHTML anchors ---------------------------------------------------------------- tt_content.stdWrap.dataWrap = <a name="content{field:uid}" id="content{field:uid}"></a>| tt_content.menu.20.3.renderObj.typolink.section.wrap = content| includeLibs.xhtmlAnchor = fileadmin/tpl/lib/xhtmlAnchors.inc.php tt_content.text.20.parseFunc.tags.link.typolink.parameter.postUserFunc = user_xhtmlAnchor # Header-Data ------------------------------------------------------------------ page.headerData.10 = TEXT page.headerData.10.value ( <link rel="stylesheet" type="text/css" href="fileadmin/tpl/styles/main.css" media="screen, projection" /> <link rel="stylesheet" type="text/css" href="fileadmin/tpl/styles/rte.css" media="screen, projection" /> <link rel="stylesheet" type="text/css" href="fileadmin/tpl/styles/print.css" media="print" /> ) page.bodyTag = <body> # remove some CSS definitions -------------------------------------------------- plugin.tx_cssstyledcontent._CSS_DEFAULT_STYLE >
function user_xhtmlAnchor($content, $conf)
{
$uriparts = explode("#", $content);
if (isset($uriparts['1']))
{
$content = $uriparts['0'] . "#content" . $uriparts['1'];
}
return $content;
}
Eine sehr gute Anleitung für JavaScript-Menüs gibt es hier: http://www.css-tutorials.de/typo3tutorials/ultimatedropdown.html
Zum Erstellen des Templates sollte (heutzutage) TemplaVoila verwendet werden :)
#!/bin/bash # This script migrates the AO TYPO3 3.8.1 installation to 4.0.1 #unzip typo3.zip #mysql mitarbeiter < mitarbeiter.sql #mysql typo3 < typo3.sql # remove old files rm typo3/typo3 -R rm typo3/t3lib -R rm typo3/tslib -R rm typo3/media -R rm typo3/index.php rm typo3/showpic.php # link new sources cd typo3 ln . /var/www/typo3 -s ln /var/www/typo3_src-4.0.1 typo3_src -s ln typo3_src/t3lib t3lib -s ln typo3_src/typo3 typo3 -s ln typo3_src/index.php -s cd .. # create some more dirs mkdir typo3/typo3temp/temp mkdir typo3/typo3temp/GB mkdir typo3/typo3conf/l10n #mkdir typo3/uploads/media mkdir typo3/uploads/tf # set permissions chown www-data.www-data typo3 -R chmod 0770 typo3/typo3temp/ -R chmod 0770 typo3/typo3conf/ -R chmod 0770 typo3/uploads -R chmod 0770 typo3/fileadmin/_temp_ -R
$TYPO3_CONF_VARS['SYS']['curlUse'] = '1' $TYPO3_CONF_VARS['SYS']['curlProxyServer'] = 'http://proxy:port' $TYPO3_CONF_VARS['EXT']['allowGlobalInstall'] = '1' $TYPO3_CONF_VARS['BE']['unzip_path'] = '/usr/bin/unzip' $TYPO3_CONF_VARS['BE']['diff_path'] = '/usr/bin/diff' $TYPO3_CONF_VARS['BE']['createGroup'] = 'www-data' $TYPO3_CONF_VARS['FE']['tidy_path'] = '/usr/bin/tidy -i --quiet true --tidy-mark true -wrap 0 -raw --output-xhtml true --indent auto --indent-spaces 4 --break-before-br false --vertical-space no'
cd /var/www/intranet/typo3/fileadmin rm templates/ -R svn checkout URL templates --username USER
[BE][forceCharset] = utf-8# XHTML doctype = xhtml_trans xhtml_cleaning = all #xmlprologue = none metaCharset = UTF-8 renderCharset = UTF-8
char-encoding utf8recode in UTF-8 konvertierenrecode ebenfalls in UTF-8 konvertiert werden