Über verschiedene URL`s die gleiche Typo3 Instanz aufrufen in verschiedene Konfigurationen
- << Erste
- < Vorherige
-
- 1
- 2
- Nächste >
- Letzte >>
| Autor | Nachricht |
|---|---|
|
Verfasst am: 27. 01. 2012 [09:06]
|
|
|
schumahs
Themenersteller
Dabei seit: 27.02.2007
Beiträge: 15
|
laptop24 schrieb: Du hängst einfach am Ende Deines TypoScriptes diese Zeilen von Norman2k ran: TYPOSCRIPT [globalString = HTTP_HOST=intranet.mit.header.com] page.10.template.file = fileadmin/templates/baselayoutWithHeader.html [global] Super nett..DANKE. Problem ist aber leider nicht behoben. Da ich auch mit RealURL was mache kommen sich die Seiten ins Gehege...denke ich. mfg.
Helmut |
|
Verfasst am: 27. 01. 2012 [12:20]
|
|
|
laptop24
Dabei seit: 23.08.2004
Beiträge: 547
|
Hier ist das komplette Script in einer etwas lesbareren Form. Einige Sachen habe ich auch noch geändert, damit Ihr noch ein paar Beispiele habt, wie man bestimmte Sachen macht. Für das eingangs geschilderte Problem sind die allerletzten 5 Zeilen wichtig. TYPOSCRIPT ### Configuring default language config { linkVars = L sys_language_uid = 0 language = de locale_all = German } # Default PAGE object: page = PAGE page { config { admPanel = 0 simulateStaticDocuments = 0 # simulateStaticDocuments_noTypeIfNoTitle = 1 baseURL = http://intranet-solvents.sasol.com/ tx_realurl_enable = 1 language = de locale_all = de_DE } stylesheet = fileadmin/css/solvents.css headerData { 5 = TEXT 5.field = subtitle // title ### Remove and use whitespace instead ### 5.wrap = <title>Sasol Solvents Intranet - | </title> 5.noTrimWrap = |<title>Sasol Solvents Intranet - |</title>| } 10 = TEMPLATE 10 { template = FILE ### Set default template file here; the alternative template will be set elsewhere (see the very bottom line) template.file = fileadmin/templates/baselayoutWithoutHeader.html marks { LANGUAGE = TEXT LANGUAGE { field = uid wrap = <a style="font-size:11px;" href="index.php?id=|&L=1">English version</a> } PRINTLINK = IMAGE PRINTLINK { file = fileadmin/img/print2.gif stdWrap.postUserFunc = tx_make_printlink } LASTCHANGED = TEXT LASTCHANGED { field = SYS_LASTCHANGED date = j.m.Y ### To keep the whitespace after "Änderung: ", use this wrap noTrimWrap = |Letzte Änderung: || } CENTER = CONTENT CENTER { table = tt_content select.orderBy = sorting select.where = colPos = 0 select.languageField = sys_language_uid } TEASER = COA TEASER { 10 = CONTENT 10 { table = tt_content select.where = colPos = 2 select.orderBy = sorting select.languageField = sys_language_uid } } MENU = HMENU MENU { # special = rootline # special.value = 5 # special.range= 1|0 entryLevel = 1 1 = TMENU 1 { NO = 1 NO.ATagParams = class="navi1" CUR < .NO CUR.allWrap = <b>|</b> IFSUB = 1 IFSUB < .NO IFSUB.ATagBeforeWrap = 1 IFSUB.ATagParams = class="navi1" style="background:url(fileadmin/res/images/hasSubpages.gif) #ddd no-repeat right" ### ACTIFSUB does not differ from IFSUB. Therefore it is useless => remove expAll = 0 } 2 = TMENU 2 { ### There is no value "2"; it's a boolean (corrected to "1"<img src="typo3conf/ext/mm_forum//res/smilies/icon_wink.gif" alt="icon_wink.gif" /> NO = 1 NO.ATagParams = class="navi2" CUR = 1 CUR.allWrap = <b>|</b> CUR.ATagParams = class="navi2" IFSUB = 1 IFSUB < .NO IFSUB.ATagBeforeWrap = 1 IFSUB.ATagParams = class="navi2" style="background:url(fileadmin/res/images/hasSubpages.gif) #eee no-repeat right" expAll = 0 } 3 = TMENU 3 { NO = 1 NO.ATagParams = class="navi3" CUR = 1 CUR.ATagParams = class="navi3" CUR.linkWrap = <b>|</b> IFSUB = 1 IFSUB < .NO IFSUB.ATagBeforeWrap = 1 IFSUB.ATagParams = class="navi3" style="background:url(fileadmin/res/images/hasSubpages.gif) #fff no-repeat right" expAll = 0 } 4 = TMENU 4 { NO = 1 NO.ATagParams = class="navi4" CUR = 1 CUR.ATagParams = class="navi4" CUR.linkWrap = <b>|</b> IFSUB = 1 IFSUB < .NO IFSUB.ATagBeforeWrap = 1 IFSUB.ATagParams = class="navi4" style="background:url(fileadmin/res/images/hasSubpages.gif) #fff no-repeat right" expAll = 0 } 5 = TMENU 5 { NO = 1 NO.ATagParams = class="navi5" CUR = 1 CUR.ATagParams = class="navi5" CUR.linkWrap = <b>|</b> IFSUB = 1 IFSUB < .NO IFSUB.ATagBeforeWrap = 1 IFSUB.ATagParams = class="navi5" style="background:url(fileadmin/res/images/hasSubpages.gif) #fff no-repeat right" expAll = 0 } } BOTTOMMENU = HMENU BOTTOMMENU { special = directory special.value = 22 1 = TMENU 1.NO = 1 1.NO.ATagParams = class="top" } TOPMENU = HMENU TOPMENU { special = directory special.value = 5 1 = TMENU 1.NO = 1 1.NO.ATagParams = class="topnavi" 1.CUR = 1 1.CUR.ATagParams = class="topactive" # 1.CUR.linkWrap = <b>|</b> 1.ACT = 1 1.ACT.ATagParams = class="topactive" } LOGO = IMAGE LOGO.file = fileadmin/img/logo.gif TRAILER = IMAGE TRAILER.file = fileadmin/img/swirl.jpg } RTE.default.classesParagraph = pdf_link RTE.classes { name = PDF-Link value = background: grey; } } } #Druckansicht print_page = PAGE print_page { typeNum = 98 stylesheet = fileadmin/css/solvents.css 20 = CONTENT 20 < styles.content.get } styles.content.imgtext = IMGTEXT styles.content.imgtext.border.field = none #Mehrsprachigkeit [globalVar = GP:L=1] config { sys_language_uid = 1 language = en } page.10.marks.LANGUAGE.wrap = <a style="font-size:11px;" href="index.php?id=|&L=0">Deutsche Version</a> page.10.marks.LASTCHANGED.noTrimWrap = |Last update: || [global] #Eingetragen von Helmut / damit funktioniert auch im BE die Sicht;ist allerdings nicht ganz sauber pageBE < page pageBE.typeNum = 1 plugin { # Helmut tt_news { dontUseBackPid = 1 useHRDates = 1 _CSS_DEFAULT_STYLE > defaultStyle = templateFile = fileadmin/templates/newstemplate.html sys_language_mode = strict displaySingle.subheader_stdWrap.wrap = <b>|</b> displaySingle.imageCount = 8 displayLatest.subheader_stdWrap.crop = 250 | ... | 1 # displayLatest.subheader_stdWrap.crop = 20 | nbsp;... | 1 displayList.date_stdWrap.strftime = %d.%m.%Y } tx_irfaq_pi1.answer_stdWrap.wrap = <div class="FAQanswer">|</div> tx_mocfilemanager_pi1._CSS_DEFAULT_STYLE = DIV.tx-mocfilemanager-pi1 TABLE.mounttable TD { padding: 0px;} DIV.tx-mocfilemanager-pi1 TABLE#contenttable TD { padding: 0px;} DIV.tx-mocfilemanager-pi1 .filelink { font-family: Verdana; font-size: 10px; color: #000033; text-decoration: none;} DIV.tx-mocfilemanager-pi1 TABLE#contenttable TD.borderbottom { padding: 0px;border-bottom: 1px solid black;} DIV.tx-mocfilemanager-pi1 .filelink:hover {text-decoration: underline;} DIV.tx-mocfilemanager-pi1 .filelinkactive { font-family: Verdana; font-size: 10px; font-weight: bold; color: #000033; text-decoration: none;} DIV.tx-mocfilemanager-pi1 { font-family: Verdana; font-size: 18px; color: #000033;} DIV.tx-mocfilemanager-pi1 .filelinkactive { font-family: Verdana; font-size: 10px; font-weight: bold; color: #000033; text-decoration: none;} DIV.tx-mocfilemanager-pi1 .filelinkactive:hover{ text-decoration: underline;} DIV.tx-mocfilemanager-pi1 .action {font-family: Verdana, Arial, Helvetica; font-size: 7pt;color: #333333;border:#666666 solid 1pkt;background-color: #ffffff;} DIV.tx-mocfilemanager-pi1 .actionButton {font-family: Verdana, Arial, Helvetica;font-size: 7pt;color: #333333;border:#666666 solid 1pkt;background-color: #ffffff;} DIV.tx-mocfilemanager-pi1 .command {font-family: Verdana; font-size: 10px; color: #000033; font-weight: bold;} DIV.tx-mocfilemanager-pi1 .info {font-family: Verdana; font-size: 10px; color: #000033; font-weight: normal;} DIV.tx-mocfilemanager-pi1 .dirpath {font-family: Verdana; font-size: 12px; color: #000033; font-weight: bold;} DIV.tx-mocfilemanager-pi1 P { font-family: Verdana; font-size: 10px; color: #000033; text-decoration: none;} DIV.tx-mocfilemanager-pi1 TABLE.MainInfoTable { border: 1px solid #000033; background-color: yellow; padding: 5px;} tx_indexedsearch.forwardSearchWordsInResultLink = 1 tx_skpdfviewer_pi1._CSS_DEFAULT_STYLE = .tx-skpdfviewer-pi1 .pdf {background:#eee;border:2px solid #aaa;} .tx-skpdfviewer-pi1 .pdf-header {float:left;width:59%;text-align:left;padding:2px 6px;} .tx-skpdfviewer-pi1 .pdf-browser {float:right;width:36%;text-align:right;} .tx-skpdfviewer-pi1 .pdf-browser form {margin:0 !important;padding:0 !important;} .tx-skpdfviewer-pi1 .pdf-browser form input {margin:0;font-size:84%;} .tx-skpdfviewer-pi1 .pdf-browser form input.page {width:24px;text-align:center;} .tx-skpdfviewer-pi1 img {margin:0;padding:0;} .tx-skpdfviewer-pi1 span.title {font-size:110%;font-weight:bold;padding-right:12px;} .tx-skpdfviewer-pi1 span.pagelabel {font-size:85%;font-weight:bold;font-style:italic;} .tx-skpdfviewer-pi1 span.page {font-size:85%;font-weight:bold;font-style:italic;} .tx-skpdfviewer-pi1 span.pageslabel {font-size:85%;font-weight:bold;font-style:italic;} .tx-skpdfviewer-pi1 span.pages {font-size:85%;font-weight:bold;font-style:italic;} #Schumacher_03.03.2011 ## Rendering of calenders ## See TSref and/or EXT:tt_calender/pi/calendar.inc for details about the TypoScript config. # tt_calender > # tt_calender = PHP_SCRIPT # tt_calender { # file = EXT:tt_calender/pi/calendar.inc # templateFile = {$plugin.tt_calender.file.templateFile} # pid_list.field = pages # recursive.field = recursive # fontFace = {$plugin.tt_calender.fontFace} # maxAge = {$plugin.tt_calender.maxAge} # parseFunc < styles.content.parseFunc # } ## Rendering of calendar-entries tx_kkcalendar_pi1 { debug = 0 templateFile = {$plugin.tx_kkcalendar_pi1.file.templateFile} pid_list.field = pages recursive.field = recursive realUrlUsed = {$plugin.tx_kkcalendar_pi1.realUrlUsed} maxAge = {$plugin.tx_kkcalendar_pi1.maxAge} parseFunc < styles.content.parseFunc global_calendarItems_pid = {$plugin.tx_kkcalendar_pi1.global_calendarItems_pid} shortWeekday = 0 trans = {$plugin.tx_kkcalendar_pi1.trans} } #Powermail tx_powermail_pi1 { markerALL.hideLabel = 1 # Some settings for Emails email { # Einstellungen für die E-Mail an den Standard-Empfänger (Websitebetreiber) recipient_mail { # Name des Absenders sender.name = TEXT sender.name.value = Intranet # E-Mail-Adresse des Absenders sender.email = TEXT sender.email.value = intranet@sasol.com } # Einstellung für die E-Mail an den Benutzer (falls aktiviert) sender_mail { # Name des Absenders sender.name = TEXT sender.name.value = Intranet # E-Mail-Adresse des Absenders sender.email = TEXT sender.email.value = intranet@sasol.com } } } } #Schumacher/frontend page.headerData.10 < plugin.tx_simulatebe_pi1 #Ende # This is the alternative template for domain WITH intranet [globalString = HTTP_HOST=http://intranet-solvents.sasol.com/MITheader] page.10.template.file = fileadmin/templates/baselayoutWithHeader.html [global] THAMEY - creative office solutions
http://www.thamey.de |
|
Verfasst am: 27. 01. 2012 [12:34]
|
|
|
schumahs
Themenersteller
Dabei seit: 27.02.2007
Beiträge: 15
|
Was soll ich sagen ausser DANKE, tolles Feedback..tolle Leute... UNGLAUBLICH....... Danke an alle. mfg.
Helmut |
|
Verfasst am: 27. 01. 2012 [14:57]
|
|
|
laptop24
Dabei seit: 23.08.2004
Beiträge: 547
|
Funktionierts? THAMEY - creative office solutions
http://www.thamey.de |
- << Erste
- < Vorherige
-
- 1
- 2
- Nächste >
- Letzte >>



