---
title: "nochmal zur fusszeile..."
url: "https://www.typo3.net/d/23293-nochmal-zur-fusszeile"
source: "typo3.net"
tags: ["Allgemein","Frage"]
created: "2005-04-06"
last_reply: "2005-04-07"
replies: 10
solved: false
page: 1
pages: 1
lang: "de"
---

# nochmal zur fusszeile...

Allgemein · 10 Antworten · gestartet 2005-04-06

## Eröffnungsbeitrag

**capone007** · 2005-04-06 · [Beitrag #1](https://www.typo3.net/d/23293-nochmal-zur-fusszeile/1)

Hallo zusammen,

wie würdet ihr am einfachsten eine fusszeile realisieren?

Per HTTP-Template oder geht das auch durch TypoScript?

MfG

## Antworten

### [#2](https://www.typo3.net/d/23293-nochmal-zur-fusszeile/2) · webdeveloper · 2005-04-06

mach's über das html template.
wenn du sie später an einer anderen position haben möchtest geht das schneller ;)

### [#3](https://www.typo3.net/d/23293-nochmal-zur-fusszeile/3) · ffr_dev · 2005-04-06

Du kannst sie im Html template erstellen und dann im typoscript in inhalt einfügen.

HTML

```html
<TABLE>
   <tr><td id="footer">
      <P>Sitemap · Impressum · Kontakt</P>
   </td></tr>
</TABLE>
```

TS

```typoscript
temp.footer = TEXT
temp.footer.value = <P class="footer"><a href="index.php?id=55"........</a></P>
```

### [#4](https://www.typo3.net/d/23293-nochmal-zur-fusszeile/4) · capone007 · 2005-04-07

dank euch erstmal :)

aber der TS code von ffr_dev scheint irgendie nicht zu funktionieren. da zeigt er mir immernoch den inhalt aus dem HTTP-Template an....

:(

### [#5](https://www.typo3.net/d/23293-nochmal-zur-fusszeile/5) · ffr_dev · 2005-04-07

aber ansonsten funktioniert Dein autotemplate parser ?

Du muss unterhalb von ...

```typoscript
temp.footer = TEXT
temp.footer.value = <P class="footer"><a href="index.php?id=55"........</a></P>
```

... noch diese zeile einfügen

```typoscript
subparts.footer < temp.footer
```

### [#6](https://www.typo3.net/d/23293-nochmal-zur-fusszeile/6) · capone007 · 2005-04-07

der autotemplate parser funktioniert soweit....

aber da die doku seite auf www.typo3.org gerade down ist:

wie genau markiere ich einen bereich im template nochmal?

```plaintext
###FOOTER###
    blabla
###FOOTER###
```

so?

:(

### [#7](https://www.typo3.net/d/23293-nochmal-zur-fusszeile/7) · MartinLeim · 2005-04-07

So:

```html
<!-- ###FOOTER### -->
    blabla 
<!-- ###FOOTER### -->
```

Oder auch:

```html
<!-- ###FOOTER### begin -->
    blabla 
<!-- ###FOOTER### end -->
```

### [#8](https://www.typo3.net/d/23293-nochmal-zur-fusszeile/8) · capone007 · 2005-04-07

ahja...danke :)

leider funktioniert es dennoch nicht :(
woran könnte es noch liegen?

:(

### [#9](https://www.typo3.net/d/23293-nochmal-zur-fusszeile/9) · ffr_dev · 2005-04-07

mein ts ist für subparts, und evtl sieht das ganze für marker wieder etwas anders aus?

### [#10](https://www.typo3.net/d/23293-nochmal-zur-fusszeile/10) · capone007 · 2005-04-07

äähmmm...bitte entschuldige meine unwissenheit ;)

aber wie leg ich denn subparts fest?

:(

### [#11](https://www.typo3.net/d/23293-nochmal-zur-fusszeile/11) · ffr_dev · 2005-04-07

Das sind Ausschnitte aus meinem Template, bei mir funktionierts,
aber das heisst ja noch nichts :)
ich hoffe ich hab nichts vergessen.

Konfiguration des AutoTemplateParser:

```typoscript
# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
  # Read the template file:
  content = FILE
  content.file = fileadmin/template/main/template_1.html
  # Here we define which elements in the HTML that
  # should be wrapped in subpart-comments:
  elements {
    BODY.all = 1
    BODY.all.subpartMarker = DOCUMENT_BODY
    HEAD.all = 1
    HEAD.all.subpartMarker = DOCUMENT_HEADER
    HEAD.rmTagSections = title
    TD.all = 1
  }
  # Prefix all relative paths with this value:
  #relPathPrefix = fileadmin/template/main/
}
```

```typoscript
temp.footer = TEXT
temp.footer.value = <P class="footer">...</P>
```

```typoscript
# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
  # Feeding the content from the Auto-parser to the TEMPLATE cObject:
  template =< plugin.tx_automaketemplate_pi1
  # Select only the content between the <body>-tags
  workOnSubpart = DOCUMENT_BODY

# Substitute the ###temp.footer### subpart with dynamic links
subparts.footer < temp.footer

# Substitute the ###content### subpart with some example content:
subparts.content < styles.content.get
#subparts.content.wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->

}
```

Ausschnitt aus dem HTML-Template

```html
<TABLE>
   <tr><td id="footer">
      <P>Sitemap · Impressum · Kontakt</P>
   </td></tr>
</TABLE>
```

Typo3 ersetzt nun alles im Bereich der id="footer"
mit dem im TS angegebenen Werten.

gruss ffr

---

Quelle: „nochmal zur fusszeile...“, typo3.net, https://www.typo3.net/d/23293-nochmal-zur-fusszeile
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
