Zum Inhalt springen

tom_FMENU

Erstellt am 23. März 2008 · Noch keine Antworten

Tags: Frage

StephanT ·

Hi,
ich verzweifel hier bald. Ich versuche jetzt schon das ganze Wochenende die Extension tom_FMENU einzubinden. Unterdessen wird nun auch endlich das Menü angezeigt, aber nicht nur einaml, sondern es wird versucht das Menü 3mal hintereinander einzubinden. Weß nicht mehr,woran das noch liegen könnte. Meine Seite findet Ihr unter: http://klavierduo-haufe-ahmels.de.

Außerdem poste ich hier noch mein TS:

page.config.no_cache = true

# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
    # Read the template file:
  content = FILE
  content.file = fileadmin/template/haufe-ahmels/main/template.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/haufe-ahmels/main/

}





# 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 ###content### subpart with some example content:
  
  subparts.content < styles.content.get

}

# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
    # Feeding the content from the Auto-parser to the TEMPLATE cObject:
  template =< plugin.tx_automaketemplate_pi1
    # Select only the content between the <head>-tags
  workOnSubpart = DOCUMENT_HEADER
}


# Default PAGE object:

page = PAGE
page { 
	typeNum = 0
	# Copying the content from TEMPLATE for <body>-section:
	10 < temp.mainTemplate
	# Copying the content from TEMPLATE for <head>-section:
	headerData.10  < temp.headTemplate
	stylesheet = fileadmin/templates/main/css/stylesheet.css
	
	10.marks {
	
	menu_2 = RECORDS
        menu_2 {
        tables = tt_content
        source = 504
        #id ihres Inhaltselementes
           dontCheckPid = 1
          }	

       CONTENT = CONTENT
   	CONTENT {
      table = tt_content
      select.orderBy = sorting
      select.where = colPos = 0
      select.languageField = sys_language_uid
	  		  }
	  
	 BORDER = CONTENT
	 BORDER {
	 	table = tt_content
		select.orderBy = sorting
		select.where = colPos = 2
		selct.languageField = sys_language_uid
			}
		
	 _RAN_IMG = PHP_SCRIPT
         _RAN_IMG.file=fileadmin/template/randomimage.php 	
	}

config.stat = 1
config.stat_apache = 1
config.stat_apache_logfile =stephantesch.log
// you can use this if you want database logging also but it's not needed
config.stat_mysql = 1

Vielen Dank für eure Hilfe und schöne Osterfeiertage

Gruß Stephan