Zum Inhalt springen

erste schritte!

Erstellt am 5. Oktober 2005 · 1 Antwort · letzte Antwort am 5. Oktober 2005

Tags: Frage

erzengel ·

Ich bräuchte etwas hilfe, ich habe nun ein template, das wohl noch nicht ganz richtig ist, aber die Webseite wird mit den Marks aufgerufen. Marks sind ÜBERSCHRIFT, MENU, INHALT.

Designvorlage:

<BODY><!--###DOKUMENT###-->
<DIV style="LEFT: 0px; POSITION: absolute; TOP: 0px">
<TABLE cellSpacing=0 cellPadding=0 width=1003 border=0>
  <TBODY>
  <TR>
    <TD vAlign=top bgColor=#a5bdd3 colSpan=3 height=100>&nbsp;
      <DIV align=right><IMG 
      src=img/logomsgi.jpg 
  border=0></DIV></TD></TR>
  <TR>
    <TD class=fstyle vAlign=top width=264>&nbsp;</TD>
    <TD class=fstyle vAlign=top width=1 
    background=img/line.jpg>&nbsp;</TD>
    <TD class=fstyle vAlign=top width=762>###&Uuml;BERSCHRIFT###</TD>
  </TR>
  <TR>
    <TD class=fstyle vAlign=top width=264>
      <HR>
      ###MENU###</TD>
    <TD class=fstyle vAlign=top width=1 
    background=img/line.jpg>&nbsp;</TD>
    <TD class=fstyle vAlign=top height=379>###INHALT###</TD>
  </TR>
  <TR>
    <TD class=fstyle vAlign=top width=264>
      <DIV align=center><A href="http://www.ibm.de/" target=_blank border="0">
      <HR>
      <IMG height=46 src=img/logo.gif
      width=94 border=0></A></DIV></TD>
    <TD class=fstyle vAlign=top 
    background=img/line.jpg>&nbsp;</TD>
    <TD class=fstyle vAlign=top>&nbsp;</TD></TR>
  <TR>
    <TD class=fstyle vAlign=top width=264>
      <HR>
    </TD>
    <TD class=fstyle vAlign=top width=1 
    background=img/line.jpg>&nbsp;</TD>
    <TD class=fstyle vAlign=top>
      <DIV align=center>
      <HR>
     <A href="mailto:msgi">msgi</A></DIV></TD></TR></TBODY></TABLE></DIV><!--###DOKUMENT###--></BODY>

Das Template sieht bisher so aus:

#==========================
#allgemeine typoscript anweisungen
#==========================
 
config.linkVars = L
config.sys_language_uid = 0
config.language = de
config.index_enable = 1
config.index_externals = 1
 
 
 
 
#==========================
#die website ansich
#==========================
 
 
page = PAGE
page {
         typeNum = 0
         meta.AUTHOR = 
         meta.DESCRIPTION = 
         # allgemeien Seiteneigenschaften
         bodytag = <body>
         stylesheet = fileadmin/style.css
 
 
 
         
 
#==========================
#die designvorlage intigrieren
#==========================
 
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/index.htm
10.workOnSubpart = DOKUMENT
 
 
10.marks {
marks.INHALT = title
 }
#==========================
#Content einlesen und ausgeben
#==========================
 
                                  CONTENT = CONTENT
                                  CONTENT {
                                          table = tt_content
                                          select.orderBy = Sorting
                                          select.where = colPos = 0
                                          select.languageField = sys_language_uid
     }
 
                                  RECHTS = CONTENT
                                  RECHTS {
                                          table = tt_content
                                          select.orderBy = Sorting
                                          select.where = colPos = 2
                                          select.languageField = sys_language_uid
     }
 
                                 SUCHE < plugin.tx_indexedsearch
                                 SUCHE {
                                         target = CONTENT
                                         redirect = 28
     }
#==========================
#logo einlesen und ausgeben
#==========================
 
                                  ADRESSE = TEXT
                                  ADRESSE {
                                          value = ...
     }

Naja das habe ich so von jemanden hier im forum bekommen, weil im Typo3 Buch, steht die Syntax ja garnicht beschrieben :S, von daher hatte ich da fehler.

Ich weiss auch um ehrlich zu sein auch nicht was das alles bedeutet.

Wie komm ich den nun dazu das ich die Vorlage, als immer als Design benutze und nur sich Inhalte & Bilder änern?

MFG Michael