Zum Inhalt springen

Content Breite

Erstellt am 9. April 2004 · 4 Antworten · letzte Antwort am 4. Mai 2004

Tags: Frage

ff6016 ·

Hallo Gemeinde,

ich habe folgendes Problem nicht lösen können:

Unter meiner TYPO3 Installation werden mehrere Domains mit jeweils eigenem Design verwaltet!

Setup und Constants sind bei allen gleich, bzw je nach Layout ähnlich!

Alle bestehen aus drei Frames, in den Basic_Constants sind als Breite 600px eingestellt, die Content-Tabelle hat als feste Breite 670px!

Ich kann mich bei drei der fünf Templates auf den Kopf stellen, der RTE schreibt den gesamten Text OHNE Umbrüche in eine Zeile!

Kurioser Weise aber nicht bei allen Templates!
Hoffe, mir kann irgendjemand das Licht anknipsen, wo meine Einstellung hakt!

Frohe Ostern
Stefan

ff6016 ·

Klar, hier kommen die Constants:

content.RTE_compliant = 1
plugin.feadmin.fe_users.email = webmaster@****
plugin.feadmin.fe_users.usergroupOverride = 1
plugin.feadmin.fe_users.pid = 9
plugin.feadmin.fe_users.emailName = Feuerwehr Bad Harzburg
plugin.feadmin.fe_users.file.templateFile = fe_admin_fe_users*.tmpl
plugin.feadmin.fe_users.color2 = #999999

styles.content.getNews.newsPid = 8
styles.content.searchresult.color = black
plugin.tt_guest.file.templateFile = guest_template1*.tmpl
plugin.tt_guest.http.extTarget = _blank
plugin.tt_news.file.templateFile = news_template*.tmpl
plugin.tt_news.wrap2 = <font face="verdana" size=1 color=black> | </font>
plugin.tt_news.wrap1 = <font face="verdana" size=1 color=black> | </font>
plugin.tt_news.color1 = #CCCCCC
plugin.tt_news.color2 = #999999
plugin.tt_news.backPid = 173
plugin.tt_news.PIDitemDisplay = 295

content.stylesheet.file = ff60*.css
plugin.alt.print.file.template = fileadmin/ff60/template/frames/print.html
styles.content.imgtext.maxW = 450
content.linkToTop = <BR><A href="#top">Nach oben</A><BR>
plugin.alt.print.file.stylesheet = fileadmin/ff60/template/frames/css/print*.css
styles.content.loginform.pid = 9
content.splash.bgCol = white
PAGE_TARGET = page
content.pageFrameObj = page
content.tt_address.orderBy = name

Und hier das Setup:
##################################
# Gästebuch Breite einstellen
##################################

plugin.tt_guest.postform.dataArray.20.type=*data[tt_guest][NEW][note]=textarea,80,20

config.tx_loginusertrack_enable = 1
page.config.no_cache = 0
###############################################
#CSS-Angaben fuer p-tags bereinigen
tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines.addAttributes {
P.style=
PRE.style=;
}
###############################################
#sprache
config.locale_all = german
config. language = de
config.locale_all = de_DE
###############################################
#no wrapping of RTE lines
tt_content.text.20.parseFunc {
nonTypoTagStdWrap.encapsLines.nonWrappedTag >
nonTypoTagStdWrap.encapsLines.wrapNonWrappedLines = <p>|</p>
}
###############################################

###############################################
# Einstellungen für Listen aus RTE
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 =
###############################################

# Enabling the admin panel for the 'page' PAGE object:
page.config.admPanel=1

# Spam Protection for Email
config {
spamProtectEmailAddresses = 2
spamProtectEmailAddresses_atSubst = (at)
}

config.extTarget = _blank
config.intTarget = page

########Template##########################
# Definition of the page-objects
page = PAGE
menu = PAGE
top = PAGE

page.typeNum = 1
menu.typeNum = 2
top.typeNum = 3


# Defining the content-frame
page.10 = TEXT
page.10.value = The page-frame

# Defining the menu-frame
menu.10 = TEXT
menu.10.value = The menu-frame

# Defining the top-frame
top.10 = TEXT
top.10.value = The top-frame

outer_frameset = PAGE
outer_frameset.typeNum = 0

# Defining the outer frameset
outer_frameset.frameSet.rows = 153,*
outer_frameset.frameSet.params = border="0" framespacing="0" frameborder="NO"
outer_frameset.frameSet {
1 = FRAME
1.obj = top
1.params = scrolling="NO" noresize frameborder="NO" marginwidth="0" marginheight="0"
2 = FRAMESET
2.cols = 160, *
2 {
1 = FRAME
1.obj = menu
2 = FRAME
2.obj = page
}
}
# *************************
# Defining the content-frame, "page"
# *************************

# Header code, stylesheet
page.headerData.10 = TEMPLATE
page.headerData.10 {
template = FILE
template.file = fileadmin/ff60/template/frames/content1.htm
workOnSubpart = HEADER_CODE
}

# Bodytag
page.bodyTag = <BODY bgcolor="#aa4100" background="fileadmin/ff60/template/frames/background/01-Vollbrand.jpg"/>

#Style
page.stylesheet = fileadmin/ff60/template/frames/css/ff60.css

# Page-content
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/ff60/template/frames/content1.htm
workOnSubpart = DOCUMENT_BODY
subparts.CONTENT < styles.content.get
#subparts.PAGE_HEADER = TEXT
#subparts.PAGE_HEADER.field = title
marks.Drucken = TEXT
marks.Drucken.field = uid
marks.Drucken.wrap = <a href="|.98.html" target = _blank>Druckversion</a>
marks.back = TEXT
marks.back.wrap = <a href="javascript:history.back()">Zurück</a>
marks.update = TEXT
marks.update {
data = page:lastUpdated
if.isTrue.data = page:lastUpdated
date = d.m.Y
wrap = <font face="verdana" size=1 color=black>Letzte Änderung😐</font>
wrap2 = <font face="verdana" size=1 color=black>|</font>
data = register : SYS_LASTCHANGED
if >
}
}

# *************************
# Defining the top-frame, "top"
# *************************

# Header code, stylesheet
top.headerData.10 = TEMPLATE
top.headerData.10 {
template = FILE
template.file = fileadmin/ff60/template/frames/top.html
workOnSubpart = HEADER_CODE
}

# Bodytag
top.bodyTag = <BODY bgcolor="#aa4100" leftmargin="160" topmargin="5">

# Page-content
top.10 = TEMPLATE
top.10 {
template = FILE
template.file = fileadmin/ff60/template/frames/top.html
workOnSubpart = DOCUMENT_BODY
}

# *************************
# Defining the menu-frame, "menu"
# *************************

# Header code, stylesheet
menu.headerData.10 = TEMPLATE
menu.headerData.10 {
template = FILE
template.file = fileadmin/ff60/template/frames/menu.html
workOnSubpart = HEADER_CODE
}

# Bodytag
menu.bodyTag = <BODY bgcolor="#aa4100">

# Menu-content
menu.10 = TEMPLATE
menu.10 {
template = FILE
template.file = fileadmin/ff60/template/frames/menu.html
workOnSubpart = DOCUMENT_BODY
subparts.MENU_ITEMS = HMENU
subparts.MENU_ITEMS.1 = GMENU
subparts.MENU_ITEMS.1.target = _parent
subparts.MENU_ITEMS.1 {
expAll=0
collapse = 1
NO {
XY = [5.w],[5.h]
5 = IMAGE
5.file = fileadmin/ff60/template/frames/background/ButtonGross.gif
10 = TEXT
10.text.field = title
10.offset = 5,16
10.fontColor = white
10.fontFile = fileadmin/fonts/verdanab.ttf
10.fontSize = 12
10.niceText = 1
}
}
#### Level 2 ############
subparts.MENU_ITEMS.2 = GMENU
subparts.MENU_ITEMS.2.target = _parent
subparts.MENU_ITEMS.2 {
#expAll=1
collapse = 1
NO {
XY = [5.w],[5.h]
5 = IMAGE
5.file = fileadmin/ff60/template/frames/background/ButtonKlein.gif
10 = TEXT
10.text.field = title
10.fontColor = white
10.fontFile = t3lib/fonts/verdana.ttf
10.fontSize = 9
10.offset = 5,13
10.niceText = 1
}
}

####Login####
marks.login = html
marks.login <styles.content.loginform
marks.login {
stdWrap.wrap = <table width="100" border=0 cellspacing=0 align="left" cellpadding=1 > | </table>
layout = <tr><td align=left>###FIELD###<img src="clear.gif" width=5></td></tr>
dataArray.10.value = Benutzername
COMMENT.layout =
dataArray.10.value =
}

marks.user = text
marks.user < plugin.tx_khusersonline_pi1
marks.user {
userText.guests.lang.de = <font face="verdana" size="1" color="white">Sie sind nicht angemeldet.</font>
text.lang.de = <font size="1">###USERTEXT###</font>
}

plugin.tx_newloginbox_pi3.listView.results_at_a_time = 10
plugin.tx_newloginbox_pi3.listView.results_at_a_time = 10
plugin.tx_sklinklist_pi1.showLinks.viewStyle.1.visible.edit = 0
plugin.tx_sklinklist_pi1.showLinks.viewStyle.1.visible.edit >

##########################
# News
plugin.tt_news {
archiveTypoLink.parameter = 192
limit = 5
displayList {
image.file.maxW = 100
imageWrapIfAny (
<table align="left" bgcolor="#AAAAAA" cellpadding="1"
cellspacing="0" border="0">
<tr><td>
<table bgcolor="#EEEEEE" cellpadding="0"
cellspacing="0" border="0">
<tr><td> | </td></tr>
</table>
</td></tr>
</table>
)
}
displaySingle {
image.file.maxW = 160
imageWrapIfAny (
<table align="left" bgcolor="#AAAAAA" cellpadding="1"
cellspacing="0" border="0">
<tr><td>
<table bgcolor="#EEEEEE" cellpadding="0"
cellspacing="0" border="0">
<tr><td> | </td></tr>
</table>
</td></tr>
</table>
)
image.wrap (
| <br>
<img src="clear.gif" width="1" height="3">
)
caption_stdWrap.wrap (
<div align="center">
<font face=verdana size=1>
<i>|</i>
</font>
</div>
<img src="clear.gif" width="1" height="5"><br>
)
}

plugin.tt_news.itemLinkType = 1
plugin.tt_news.itemLinkTarget = page

plugin.tx_newloginbox_pi3.pidList = 1

Wie gesagt, es laufen mehrere Domains mit DIESEN Einstellungen!
Exakt die Hälfte meiner Domains versagt Ihrern Dienst!

Ich habe natürlich einige Variablen für Bilder angepaßt, liegen aber alle im gleichen Ordner!

Danke
Stefan

FotoHorst ·

hast du unterschiedliche typo3 vorlagen benutzt ?

ich frage deshalb, weil die RTE einstellungen sehr stark von den TScript einstellungen des Users/Administrators abhängen.

?!

ff6016 ·

Genau das iat der springende Punkt: Alle Vorlagen sind absolut gleich!

Die TScripts für die einzelnen Vorlagen wurden per Paste&Copy übernommen! Alle haben die absolut gleichen Einstellungen

So langsam bin ich etwas verzweifelt!