Zum Inhalt springen

Wie bekomme ich einen Impressum - Text unten von einer Seite

Erstellt am 2. August 2005 · 9 Antworten · letzte Antwort am 8. August 2005

Tags: Frage

caier ·

Ich habe in meinem HTML einen Abschnitt "unten" für das Impressunm und Copyright.
Wie kann ich den Text in eine Seite ablegen und dann auf allen Seiten anzeigen?

MFG Michi

toyde ·

hi.
schon ein jahr im Forum und noch nicht gelesen?
ok, such mal nach "RECORDS". Mithilfe dieser Syntax kannst du über einen Marker eine Seite ausgeben, bzw. deren Inhalt.

lg Robert

caier ·

hallo Robert,
ich habe das auch schon probiert gehabt - funktioniert aber nicht. Im HTML habe ich ###UNTEN###.
Was mache ich da falsch?

marks.UNTEN = RECORDS
marks.UNTEN {
tables = tt_content
source = 50
dontCheckPid = 1
}

Danke, Ciao, Michi #paralyzed#

[/quote]

caier ·

hallo Robert,
ich habe das auch schon probiert gehabt - funktioniert aber nicht. Im HTML habe ich ###UNTEN###.
Was mache ich da falsch?

marks.UNTEN = RECORDS
marks.UNTEN {
tables = tt_content
source = 50
dontCheckPid = 1
}

[/quote]
Danke, Ciao, Michi #paralyzed#

toyde ·

Poste mal dein HTML und dein ganzes Setup vom TypoScript.

Hast du den Cache geleert? Steht die 50 für das Contentelement, und nicht für eine Page?
Und mach mal checkpid = 0.

caier ·
 seite = PAGE
 seite {
 typeNum = 0
 bodyTag = <body bgcolor="#FFFFFF">
 stylesheet = fileadmin/defaultstylesheet.css
 meta.AUTHOR = Michael Grassberger
 meta.DESCRIPTION = Hier steht eine Beschreibung

config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = (at)


 10 = TEMPLATE
 10.template = FILE
 10.template.file = fileadmin/vorlage4.html
 10.workOnSubpart = DOKUMENT
 10.marks {
 TRAILER = IMAGE
 TRAILER.file = GIFBUILDER
 TRAILER.file {
 XY = 559, 86
 backColor = #82BC8B
 10 = TEXT
 10.text.field = subtitle // title
 10.fontSize = 60
 10.fontFile = fileadmin/arialbi.ttf
 10.fontColor = #96CC9F
 10.niceText = 1
 10.offset = 10, 75

 20 = TEXT
 20.text.field = subtitle // title
 20.fontSize = 36
 20.fontFile = fileadmin/arialb.ttf
 20.fontColor = #E2F5E5
 20.niceText = 1
 20.offset = 40, 68
 }

 MENU_OBEN = HMENU
 MENU_OBEN.special = directory
 MENU_OBEN.special.value = 4
 MENU_OBEN.1 = TMENU
 MENU_OBEN.1.NO = 1
 MENU_OBEN.1.NO.ATagParams = class="link"
 MENU_OBEN.1.NO.linkWrap =   |*|   |*|  |*|   |*|  


 MENU_LINKS = HMENU
 MENU_LINKS.special = directory
 MENU_LINKS.special.value = 3
 MENU_LINKS.entryLevel = 1
 MENU_LINKS.1 = GMENU
 MENU_LINKS.1.NO = 1
 MENU_LINKS.1.NO {
 wrap = |<br />
 XY = 140, 30
 backColor = #A2B7DF

 10 = TEXT
 10.text.field = title
 10.fontColor = #000000
 10.fontFile = fileadmin/arialb.ttf
 10.fontSize = 14
 10.niceText = 1
 10.offset = 7, 19

 20 = IMAGE
 20.file = GIFBUILDER
 20.file {
 XY = 140,1
 backColor = #FFFFFF
 }
 20.offset = 0, 29
 }
 MENU_LINKS.1.RO < .MENU_LINKS.1.NO
 MENU_LINKS.1.RO.backColor = #C9D6ED
 MENU_LINKS.1.CUR < .MENU_LINKS.1.RO
 MENU_LINKS.2 < .MENU_LINKS.1
 MENU_LINKS.2 {
 NO.backColor =#FFCC66
 NO.10.fontColor = #000000
 NO.20.file.backColor = #FFFFFF
 RO < .NO
 RO.backColor = #F4E7BB
 RO.5 >
 CUR < .RO
 }

MENU_LINKS.3 < .MENU_LINKS.2
 MENU_LINKS.3 {
 NO.backColor =#C5C5C5
 NO.10.fontColor = #000000
 NO.20.file.backColor = #FFFFFF
 RO < .NO
 RO.backColor = #E0E0E0
 RO.5 >
 CUR < .RO
 }


CONTENT = CONTENT
 CONTENT {
 table = tt_content
 select.orderBy = sorting
 select.where = colPos = 0
 }


marks.UNTEN = RECORDS
marks.UNTEN {
tables = tt_content
source = 31
CheckPid = 0
}

}

und weiter:

<html>
 <head>
 <title>Projekt1</title>
 <link rel="stylesheet" href="fileadmin/defaultstylesheet.css" type="text/css" />
 </head>
 <body bgcolor="#FFFFFF">

 <!-- ###DOKUMENT### begin -->
 <table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
 <tr>
 <td width="1" bgcolor="#FFFFFF"><img src="clear.gif" width="1" height="1" alt="" /></td>
 <td bgcolor="#FFFFFF"><img src="clear.gif" width="1" height="1" alt="" /></td>
 <td width="10" bgcolor="#FFFFFF"><img src="clear.gif" width="1" height="1" alt="" /></td>
 </tr>
 <tr>
 <td bgcolor="#FFFFFF"><img src="clear.gif" width="1" height="1" alt="" /></td>
 <td width="800"><table border="0" width="100%" cellspacing="0" cellpadding="0">
 
          <td width="100%" valign="top" align="left"><img src="fileadmin/images/BWLOGO.gif" width="80" height="92" alt="" /><img src="fileadmin/images/HG.GIF" width="720
 " height="92" alt="" /></td>
 </tr>
 
 <td width="100%" valign="top" align="left"><img src="clear.gif" width="1" height="0" alt="" /></td>
 </tr>
        <tr> 
          <td width="100%" height="20" align="right" valign="middle" bgcolor="#FFFFFF"><img src="clear.gif" width="1" height="5" alt="" /><font face="Arial" size="1" color="#000000">###MENU_OBEN###</font><img src="clear.gif" width="10" height="5" align="middle" alt="" /> </td>
 </tr>
 <tr>
 
 <tr>
 <td width="100%" valign="top" align="left"><table border="0" width="800" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
              <tr> 
                <td width="153" height="19" valign="top" bgcolor="#FFFFFF">###MENU_LINKS### </td>
                <td valign="top" align="left" width="9"><img src="clear.gif" width="1" height="1" alt="" /> </td>
                <td valign="top" align="left" width="441"> ###CONTENT### </td>
                <td valign="top" align="left" width="10"><img src="clear.gif" width="1" height="1" alt="" /></td>
 <td class="news" valign="top" align="left" width="191" bgcolor="#FFCC66">###NEWS###</td>

              </tr>
              <tr> 
                <td valign="top" id="Copyright" bgcolor="#FFFFff"><p align="left"> </p></td>
                <td valign="top" align="left" width="7"><img src="clear.gif" width="1" height="1" alt="" /> </td>
                <td class="unten" valign="top" align="left" width="441">###UNTEN###</td>
                <td valign="top" align="left" width="7"><img src="clear.gif" width="1" height="1" alt="" /> </td>
                <td valign="top" align="left" width="191" bgcolor="#FFFFFF"> </td>
              </tr>
            </table>
 </td>
 </tr>
 </table>
 </td>
 <td bgcolor="#FFFFFF"><img src="clear.gif" width="1" height="1" alt="" /></td>
 </tr>
 <tr>
 <td bgcolor="#FFFFFF"><img src="clear.gif" width="1" height="1" alt="" /></td>
 <td bgcolor="#FFFFFF"><img src="clear.gif" width="1" height="1" alt="" /></td>
 <td bgcolor="#FFFFFF"><img src="clear.gif" width="1" height="1" alt="" /></td>
 </tr>
 </table>

 <!-- ###DOKUMENT### end -->

 </body>
 </html>

ciao, Michi

caier ·
 seite = PAGE
 seite {
 typeNum = 0
 bodyTag = <body bgcolor="#FFFFFF">
 stylesheet = fileadmin/defaultstylesheet.css
 meta.AUTHOR = Michael Grassberger
 meta.DESCRIPTION = Hier steht eine Beschreibung

config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = (at)


 10 = TEMPLATE
 10.template = FILE
 10.template.file = fileadmin/vorlage4.html
 10.workOnSubpart = DOKUMENT
 10.marks {
 TRAILER = IMAGE
 TRAILER.file = GIFBUILDER
 TRAILER.file {
 XY = 559, 86
 backColor = #82BC8B
 10 = TEXT
 10.text.field = subtitle // title
 10.fontSize = 60
 10.fontFile = fileadmin/arialbi.ttf
 10.fontColor = #96CC9F
 10.niceText = 1
 10.offset = 10, 75

 20 = TEXT
 20.text.field = subtitle // title
 20.fontSize = 36
 20.fontFile = fileadmin/arialb.ttf
 20.fontColor = #E2F5E5
 20.niceText = 1
 20.offset = 40, 68
 }

 MENU_OBEN = HMENU
 MENU_OBEN.special = directory
 MENU_OBEN.special.value = 4
 MENU_OBEN.1 = TMENU
 MENU_OBEN.1.NO = 1
 MENU_OBEN.1.NO.ATagParams = class="link"
 MENU_OBEN.1.NO.linkWrap =   |*|   |*|  |*|   |*|  


 MENU_LINKS = HMENU
 MENU_LINKS.special = directory
 MENU_LINKS.special.value = 3
 MENU_LINKS.entryLevel = 1
 MENU_LINKS.1 = GMENU
 MENU_LINKS.1.NO = 1
 MENU_LINKS.1.NO {
 wrap = |<br />
 XY = 140, 30
 backColor = #A2B7DF

 10 = TEXT
 10.text.field = title
 10.fontColor = #000000
 10.fontFile = fileadmin/arialb.ttf
 10.fontSize = 14
 10.niceText = 1
 10.offset = 7, 19

 20 = IMAGE
 20.file = GIFBUILDER
 20.file {
 XY = 140,1
 backColor = #FFFFFF
 }
 20.offset = 0, 29
 }
 MENU_LINKS.1.RO < .MENU_LINKS.1.NO
 MENU_LINKS.1.RO.backColor = #C9D6ED
 MENU_LINKS.1.CUR < .MENU_LINKS.1.RO
 MENU_LINKS.2 < .MENU_LINKS.1
 MENU_LINKS.2 {
 NO.backColor =#FFCC66
 NO.10.fontColor = #000000
 NO.20.file.backColor = #FFFFFF
 RO < .NO
 RO.backColor = #F4E7BB
 RO.5 >
 CUR < .RO
 }

MENU_LINKS.3 < .MENU_LINKS.2
 MENU_LINKS.3 {
 NO.backColor =#C5C5C5
 NO.10.fontColor = #000000
 NO.20.file.backColor = #FFFFFF
 RO < .NO
 RO.backColor = #E0E0E0
 RO.5 >
 CUR < .RO
 }


CONTENT = CONTENT
 CONTENT {
 table = tt_content
 select.orderBy = sorting
 select.where = colPos = 0
 }


marks.UNTEN = RECORDS
marks.UNTEN {
tables = tt_content
source = 31
dontCheckPid = 0
}

}

und weiter:

<html>
 <head>
 <title>Projekt1</title>
 <link rel="stylesheet" href="fileadmin/defaultstylesheet.css" type="text/css" />
 </head>
 <body bgcolor="#FFFFFF">

 <!-- ###DOKUMENT### begin -->
 <table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
 <tr>
 <td width="1" bgcolor="#FFFFFF"><img src="clear.gif" width="1" height="1" alt="" /></td>
 <td bgcolor="#FFFFFF"><img src="clear.gif" width="1" height="1" alt="" /></td>
 <td width="10" bgcolor="#FFFFFF"><img src="clear.gif" width="1" height="1" alt="" /></td>
 </tr>
 <tr>
 <td bgcolor="#FFFFFF"><img src="clear.gif" width="1" height="1" alt="" /></td>
 <td width="800"><table border="0" width="100%" cellspacing="0" cellpadding="0">
 
          <td width="100%" valign="top" align="left"><img src="fileadmin/images/BWLOGO.gif" width="80" height="92" alt="" /><img src="fileadmin/images/HG.GIF" width="720
 " height="92" alt="" /></td>
 </tr>
 
 <td width="100%" valign="top" align="left"><img src="clear.gif" width="1" height="0" alt="" /></td>
 </tr>
        <tr> 
          <td width="100%" height="20" align="right" valign="middle" bgcolor="#FFFFFF"><img src="clear.gif" width="1" height="5" alt="" /><font face="Arial" size="1" color="#000000">###MENU_OBEN###</font><img src="clear.gif" width="10" height="5" align="middle" alt="" /> </td>
 </tr>
 <tr>
 
 <tr>
 <td width="100%" valign="top" align="left"><table border="0" width="800" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
              <tr> 
                <td width="153" height="19" valign="top" bgcolor="#FFFFFF">###MENU_LINKS### </td>
                <td valign="top" align="left" width="9"><img src="clear.gif" width="1" height="1" alt="" /> </td>
                <td valign="top" align="left" width="441"> ###CONTENT### </td>
                <td valign="top" align="left" width="10"><img src="clear.gif" width="1" height="1" alt="" /></td>
 <td class="news" valign="top" align="left" width="191" bgcolor="#FFCC66">###NEWS###</td>

              </tr>
              <tr> 
                <td valign="top" id="Copyright" bgcolor="#FFFFff"><p align="left"> </p></td>
                <td valign="top" align="left" width="7"><img src="clear.gif" width="1" height="1" alt="" /> </td>
                <td class="unten" valign="top" align="left" width="441">###UNTEN###</td>
                <td valign="top" align="left" width="7"><img src="clear.gif" width="1" height="1" alt="" /> </td>
                <td valign="top" align="left" width="191" bgcolor="#FFFFFF"> </td>
              </tr>
            </table>
 </td>
 </tr>
 </table>
 </td>
 <td bgcolor="#FFFFFF"><img src="clear.gif" width="1" height="1" alt="" /></td>
 </tr>
 <tr>
 <td bgcolor="#FFFFFF"><img src="clear.gif" width="1" height="1" alt="" /></td>
 <td bgcolor="#FFFFFF"><img src="clear.gif" width="1" height="1" alt="" /></td>
 <td bgcolor="#FFFFFF"><img src="clear.gif" width="1" height="1" alt="" /></td>
 </tr>
 </table>

 <!-- ###DOKUMENT### end -->

 </body>
 </html>

ciao, Michi

toyde ·

Du scheinst bei deinem eigenen TypoScript den Überblick zu verlieren..
Du hast an 2 Orten deine Marks konfiguriert. Warum 2 verschiedene Varianten? Baue doch deinen "unten"-Marker genau so ein, wie die oben, anscheinend korrekt laufenden.

Ausserdem kanns so ned gehen.
Wenn ich die Klammern richtig gezählt habe, setzt du ganz zu Beginn:

..
10.marks {
..

und dann in dieser Klammer:

..marks.UNTEN = RECORDS
marks.UNTEN {
tables = tt_content
..

Resultat:

..
10.marks.marks.UNTEN = RECORDS
..

und den Fehler siehst du dabei hoffentlich selbst.
Nur Copy-Paste löst die wenigsten Probleme..

lg Robert

caier ·

Hat super funktioniert - Dankeschön :o

--> aber noch eine Frage:
Ich habe jw_calendar eingebunden, funktioniert auch, nicht aber wenn ich ihn mit einem Marker auf die rechte Seite (###NEWS###) setzten möchte

10 = TEMPLATE
 10.template = FILE
 10.template.file = fileadmin/vorlage4.html
 10.workOnSubpart = DOKUMENT
 10.marks {
 NEWS < plugin.tx_jwcalendar_pi1
 NEWS { 
 static_uid = 46
 }
 UNTEN = RECORDS
 UNTEN {
 tables = tt_content
 source = 31
 dontCheckPid = 0
 }
 TRAILER = IMAGE
 TRAILER.file = GIFBUILDER
 TRAILER.file {

Die Static_uid ist doch die Seitennummer - oder?

Bei mir zeigt er einfach vom Kalender nichts an...

Ciao, Michi

toyde ·

Du hast ein grobes Problem mit TypoScriptverständnis.

Fülle deine Extention mit den Informationen, die du brauchst, und kopiere DANACH die Extention in einen Marker.