![]() |
| | LinkBack | Themen-Optionen | Thema durchsuchen | Thema bewerten | Ansicht |
|
#1
| ||||
| ||||
Hallo, nach einem Komplettserverabsturz habe ich nun die 4er-Version installiert. Obwohl ich auf einem anderen Serverplatz funktionierende Templates verwende, wird das Html-Template nicht eingebunden. Das Haupttemplate (Setup) sieht folgendermaßen aus: page.10.subparts.logo = IMAGE page.10.subparts.logo { file = fileadmin/templates/main/img/logo.gif stdWrap.typolink.parameter = 66 } page.10.subparts.switch < plugin.ix_issstyleswitcher_pi1 page.10.subparts.copyright = TEXT page.10.subparts.copyright.value = © 2002-2006 The TYPO3 Association plugin.tx_indexedsearch._CSS_DEFAULT_STYLE > plugin.tx_veguestbook_pi1._CSS_DEFAULT_STYLE > config.linkVars = L #values for default language config.sys_language_uid = 0 config.language = de config.locale_all = de_DE plugin.tx_isstyleswitcher_pi1.absCSSFilePath = fileadmin/templates/main/css plugin.tx_isstyleswitcher_pi1.absIMGFilePath = fileadmin/templates/main/img Site-layout (Setup:sad: plugin.tx_rlmptmplselector_pi1 { // Define the paths leading to our HTML template files templatePathMain = fileadmin/templates/main/ templatePathSub = fileadmin/templates/sub/ // Define the filenames used as the default HTML templates defaultTemplateFileNameMain = template1.html defaultTemplateFileNameSub = ct_1.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 } plugin.tx_automaketemplate_pi1 { content < plugin.tx_rlmptmplselector_pi1 elements { BODY.all = 1 BODY.all.subpartMarker = DOCUMENT_BODY HEAD.all = 1 HEAD.all.subpartMarker = DOCUMENT_HEADER HEAD.rmTagSections = title TD.all = 1 DIV.all = 1 } relPathPrefix = fileadmin/templates/main/ } temp.contentAreaTemplate = TEMPLATE temp.contentAreaTemplate { template =< plugin.tx_automaketemplate_pi1 // Modify the template selector config: This is a sub template! template.content.templateType = sub workOnSubpart = DOCUMENT_BODY subparts.CONTENT < styles.content.get subparts.RCONTENT < styles.content.getRight subparts.LCONTENT < styles.content.getLeft subparts.BORDER < styles.content.getBorder } temp.mainTemplate = TEMPLATE temp.mainTemplate { template =< plugin.tx_automaketemplate_pi1 template.content.templateType = main workOnSubpart = DOCUMENT_BODY subparts.content < temp.contentAreaTemplate # subparts.content = CONTENT # subparts.content < styles.content.get } temp.headTemplate = TEMPLATE temp.headTemplate { template =< plugin.tx_automaketemplate_pi1 workOnSubpart = DOCUMENT_HEADER } page = PAGE #page.config.incT3Lib_htmlmail = 1 page { typeNum = 0 bodyTag = <body> # includeCSS { # file1 = fileadmin/templates/main/res/layout.css # file2 = fileadmin/templates/main/res/content.css # } 10 < temp.mainTemplate headerData.10 < temp.headTemplate } bodyTag = <body> # includeCSS { # file1 = fileadmin/templates/_temp_/main/res/layout.css # file2 = fileadmin/templates/_temp_/main/res/content.css # } 10 < temp.mainTemplate headerData.10 < temp.headTemplate headerData.20 < temp.contentAreaHeaderTemplate } General config (Setup:sad: config{ # add some debugging info debug = 0 #cat=Basic/Config; type=int[1-26];label=Email; spamProtectEmailAddresses = 1 spamProtectEmailAddresses_atSubst = (at) # general settings admPanel = 0 # settings for gathering statistics stat_apache = 1 stat_apache_logfile = access.log stat_excludeBEuserHits = 1 stat_mysql = 1 stat_typeNumList = 0,1,98 # log clicks to external links in sys_stat table jumpurl = 1 # settings for simulateStaticDocuments simulateStaticDocuments = 0 simulateStaticDocuments_noTypeIfNoTitle = 1 simulateStaticDocuments_pEnc = md5 simulateStaticDocuments_pEnc_onlyP = L # settings for indexed search index_enable = 1 index_externals = 1 # Track FE Users extension tx_loginusertrack_enable = 1 } # Metadaten für Beschreibung und Stichwörter einfügen, benötigt Extension "metatags" page.headerData.999 < plugin.meta config.doctype = xhtml_trans config.xhtml_cleaning = all #This allows to remove <xml...> tag completely #config.xmlprologue = none # make sure that MSIE doesn't work in Quirksmode with XHTML docs [browser = msie] config.doctypeSwitch = 1 [GLOBAL] content.RTE_compliant = 1 ############################################### #remove css attributes for p- and pre-tags tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines.addAttributes { P.style= PRE.style=; } ############################################### ############################################### #no wrapping of RTE lines #tt_content.text.20.parseFunc { # nonTypoTagStdWrap.encapsLines.nonWrappedTag > # nonTypoTagStdWrap.encapsLines.wrapNonWrappedLines = <p>|</p> #} ############################################### ############################################### # settings for RTE-bullet lists #tt_content.text.20.parseFunc.tags.typolist.default.wrap = <ul> | </ul> #tt_content.text.20.parseFunc.tags.typolist.default.split.1.wrap = #tt_content.text.20.parseFunc.tags.typolist.1.fontTag = <ol> | </ol> #tt_content.text.20.parseFunc.tags.typolist.1.split.1.wrap = ############################################### #allow html-Tags in headers lib.stdheader.10.setCurrent.htmlSpecialChars = 0 # Targets für Sitemap nicht extern tt_content.menu.20.2.1.noBlur = 1 tt_content.menu.20.2.1.target = tt_content.menu.20.2.2.noBlur = 1 tt_content.menu.20.2.2.target = tt_content.menu.20.2.3.noBlur = 1 tt_content.menu.20.2.3.target = tt_content.menu.20.2.4.noBlur = 1 tt_content.menu.20.2.4.target = General Config (Constants:sad: #cat=Config/Email/a; type=int[-5-5];label=Email:if set, will scramble Email addresses so that spambots will not find them spamProtectEmailAddresses = 1 #cat=Statistics/Enable Apache logfile; type=boolean;label=Enable Apache-style logging:create a logfile in Apache-style format stat_apache = 1 #cat=Statistics/Logfile; type=string; label=Name of logfile:Enter the filename for the logfile, the file must exist and be writable, use '.log' or '.txt' as extension stat_apache_logfile = website.log stat_excludeBEuserHits = 1 stat_mysql = 1 styles.content.uploads.jumpurl = 0 de_phpot.client = 1 de_phpot.add_data = email de_phpot.debug = PAGE_TARGET = _top Der Analyzer zeigt folgendes Bild: ![]() Die Html-Datei liegt unter "fileadmin/templates/main" und sieht folgendermaßen aus: <!--###DOCUMENT_HEADER###--> <link rel="stylesheet" type="text/css" href="css/layout1.css" /> <!--###DOCUMENT_HEADER###--> <!-- ###DOCUMENT_BODY### --> <div id="outer-wrapper"> <div id="content-wrapper"> <div id="rootline"> </div> <div id="content"> </div> <div id="copyright"> </div> </div> <div id="header"> <div id="logo"> </div> <div id="topmenu"> </div> <div id="switch"> </div> </div> <div id="header2"> <div id="header-image"> </div> <div id="header-text"> </div> </div> <div id="left"> <div id="leftmenu"> </div> <div id="search"> </div> </div> </div> <!-- ###DOCUMENT_BODY###--> Bei den Seiteneigenschaften der ersten Seite wird unter "Wählen Sie eine Vorlage:" die Vorlage auch nicht angezeigt. Nach nun zwei Tagen erfolgloser Suche nach dem Fehler hoffe ich, dass mir im Forum jemand helfen kann. Gruß Anne |
![]() |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
| |
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Designvorlage wird nicht eingebunden | Bela | TYPO3 4.x Fragen und Probleme | 2 | 25.05.08 19:36 |
| CSS Datei wird nicht eingebunden | AndiLaken | tt_products | 4 | 20.01.08 21:36 |
| HTML-Template wird nicht eingelesen | bfeser | TYPO3 4.x Fragen und Probleme | 0 | 25.05.06 09:18 |
| Html-Template wird nicht eingebunden die 2. | annerosewald | TYPO3 4.x Fragen und Probleme | 2 | 23.05.06 20:30 |
| HTML Template wird nicht angezeigt | Leibnitz | HTML & CSS | 5 | 16.01.06 10:50 |