[TYPO3-UG Hannover] Autoparser Problem

Daniel Rindt daniel at rindt.name
Fri Jun 2 13:05:11 CEST 2006


Hallo Liste,

sollte ich auf dieser Liste mit meinem Problem falsch sein, bitte ich um
kurze Nachricht. Vielen Dank.

Ich versuche ein Template von oswd.org mithilfe des autoparsers so zu
bearbeiten, das ich es mit inhalten füllen kann. Dazu ein kurzer
ausschnitt aus meinem Typo Script:
=== 8< ===
# Configuring the Auto-Parser:
plugin.tx_automaketemplate_pi1 {
    # Read the template file:
  content = FILE
  content.file = fileadmin/templates/andreas01/index.html

  single {
#    IMG.all = 1
#    IMG.all.subpartMarker = PHOTO
    IMG.id.frontphoto = 1
  }

    # 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
    HEAD.rmSingleTags = meta
    
    DIV.all = 1
  }

    # Prefix all relative paths with this value:
  relPathPrefix = fileadmin/templates/andreas01/
}
=== >8 ===

man sieht das ich schon mit einigen Einstellungen experimentiert habe
diese sind mit einer # davor.

Hat jemand eine Idee?

Der HTML Tag den ich bearbeiten möchte Sieht so aus:
=== 8< ===
<img id="frontphoto" src="fileadmin/templates/andreas01/front.jpg"
width="760" height="175" alt="" />
=== >8 ===

Vielen Dank für jegliche Inspiration und Hilfe das Problem zu lösen.

Daniel


More information about the TYPO3-hannover mailing list