################################################## ######### main configuration ##################### ################################################## config { #leave these with live configuration and install abz_developer LOCALLY (not in subversion), it will override this values debug = 0 admPanel = 0 disablePrefixComment = 1 headerComment = featured by A.BE.ZET, www.abezet.de pageTitleFirst = 1 // simulate static Documents // make sure you have mod_rewrite in /.htaccess file active simulateStaticDocuments = 1 simulateStaticDocuments_noTypeIfNoTitle = 1 simulateStaticDocuments_addTitle = 20 // encode parameters and name the ones to be encoded #simulateStaticDocuments_pEnc = md5 #simulateStaticDocuments_pEnc_onlyP = // real url configuration /* baseURL = {$baseURL} simulateStaticDocuments = 0 tx_realurl_enable = 1 prefixLocalAnchors = all */ // enable logging for use with awstats stat = 1 stat_apache = 1 stat_apache_logfile = apache_log.txt // put js and stylesheet into external files automatically removeDefaultJS = external inlineStyle2TempFile = 1 spamProtectEmailAddresses = 6 spamProtectEmailAddresses_atSubst = (at) // enable indexing of pages for indexed search index_enable = 1 index_externals = 1 // configuration of http-headers to avoid error message in IE when using back-button with form fields like search sendCacheHeaders = 1 sendCacheHeaders_onlyWhenLoginDeniedInBranch = 1 #enableContentLengthHeader = 1 // default language definitions language = de locale_all = de_DE htmlTag_langKey = de // more properties for multilanguage pages #linkVars = L #uniqueLinkVars = 1 #sys_language_mode = content_fallback // for use of several domains in one installation (to be able to use internal links between domain trees) typolinkCheckRootline = 1 // doctypescwitch: see below, switch only for ie (ie needs switch to make correct display, otherwise no switch to get documents validated) doctype = xhtml_trans xhtml_cleaning = all } // doctypeswitch - ie only [browser = msie] config.doctypeSwitch = 1 [global] // Language Settings for second language /* [globalVar = GP:L=1] config { language = en locale_all = en_US htmlTag_langKey = en sys_language_uid = 1 } [global] */ ################################################## ######### plugins ################################ ################################################## // Add your plugin configurations here, this will override the default plugin settings plugin.tx_newloginbox_pi1 { //override general record storage setting storagePid = 2 showForgotPassword = 1 #email_from = info@yourdomain.de #email_fromName = Website Team #templateFile = #_CSS_DEFAULT_STYLE > #_DEFAULT_PI_VARS.[piVars_key] } // adds an icon to firefox that enables dynamic favorites, used with tt_news RSS /* page.headerData.47 = TEXT page.headerData.47 { typolink.parameters = {$rssFeedPage} typolink.returnLast = url wrap = } */ ################################################## ######### several marks and subparts ############# ################################################## // Page title temp.page_title = TEXT temp.page_title { field = title override.field = nav_title #or the same effect: field = nav_title//title } // year for copyright temp.year = TEXT temp.year { data = date:U strftime = %Y } ##################################################### ############## NAVIGATION ########################## ##################################################### // main navigation temp.navi_main = COA temp.navi_main { 10 = HMENU 10 { 1 = TMENU 1 { wrap = NO { wrapItemAndSub =
  • |
  • } ACT < .NO ACT = 1 ACT { wrapItemAndSub =
  • |
  • } } 2 < .1 3 < .1 } // add editpanel for page record 20 < styles.content.editPanelPage } // breadcrumb temp.breadcrumb = HMENU temp.breadcrumb { special = rootline special.range = 1|-1 1 = TMENU 1 { NO.allStdWrap.noTrimWrap = | | > | CUR = 1 CUR.doNotLinkIt = 1 } } // meta navigation temp.navi_meta = HMENU temp.navi_meta { special = directory special.value = {$metanavi.pid} 1 = TMENU 1 { wrap = NO { wrapItemAndSub =
  • |
  • } ACT < .NO ACT = 1 ACT { wrapItemAndSub =
  • |
  • } } } ############################################################################################### ############## main PAGE Object, with TemplateSelector ######################################## ############################################################################################### //template selector plugin.tx_rlmptmplselector_pi1 { templateType = main templatePathMain = {$templatePath}tmpl_main/ templatePathSub = {$templatePath}tmpl_sub/ defaultTemplateFileNameMain = main.html defaultTemplateFileNameSub = 1column.html // If there is a page having no template selected, use a template // selected earlier in the rootline. If there is none, use the default inheritMainTemplates = 1 inheritSubTemplates = 1 } # TEMPLATE Content #-------------------------- temp.contentArea = TEMPLATE temp.contentArea { # Feeding the content from the Auto-parser to the TEMPLATE cObject: CREATES A COPY since we need to manipulate some properties! # template < plugin.tx_rlmptmplselector_pi1 template { # Reconfigurating the "tmplselect" plugin to select from the "content area templates " in sub/ folder instead of main templates: templateType = sub } relPathPrefix = {$templatePath}tmpl_sub/ # Select only the content of the
    element and put content to placeholder from template workOnSubpart = CONTENT_CONTAINER subparts { CONTENT < styles.content.get CONTENT_LEFT < styles.content.getLeft CONTENT_RIGHT < styles.content.getRight CONTENT_BORDER < styles.content.getBorder } } #------------------------------------------ # Default PAGE object: # ----------------------------------------- page = PAGE page { // Favicon shortcutIcon = {$templatePath}media/favicon.ico // CSS Definitions includeCSS { screen = {$templatePath}css/10_screen.css screen.media = all print = {$templatePath}css/20_print.css print.media = print } // include CSS for IE hacks headerData { 10 = TEXT 10.value ( ) } #page.title.override.field = subtitle // get this information from fields on page, use default if nothing found meta.description = ZZZ meta.keywords = XXX, YYY meta.description.override.field = description meta.keywords.override.field = keywords // if you want to use slide you need to add that fields to the rootline with $TYPO3_CONF_VARS['FE']['addRootLineFields'] #meta.description.override.data = levelfield:-1,description,slide #meta.keywords.override.data = levelfield:-1,keywords,slide // Template Object 10 = TEMPLATE 10 { template < plugin.tx_rlmptmplselector_pi1 workOnSubpart = DOCUMENT_BODY subparts { NAVI_META < temp.navi_meta NAVI_MAIN < temp.navi_main BREADCRUMB < temp.breadcrumb CONTENT_CONTAINER < temp.contentArea } marks { PAGE_TITLE < temp.page_title YEAR < temp.year } relPathPrefix = {$templatePath}tmpl_main/ } }