Antwort
 
LinkBack Themen-Optionen Thema bewerten Ansicht
  #1  
Alt 16.06.07, 17:05
Forum Zuschauer
 
Registriert seit: 16.06.07
Alter: 24
Beiträge: 4

PHP Script einbinden


Hallo, ich möchte ein PHP Script einbinden, habe schon einige Anleitungen im Netz gefunden, aber es will nicht funktionieren.

Das ich dafür eine neue Seite anlegen muss vom Typ "Script" und im Feld CODE den Marker-Namen angeben musst ist mir klar. Ich denke es liegt am Setup. Vielleicht sieht ja jemand meinen Denkfehler:

Am Ende des Setups ist der relevante Teil. Wie muss ich das ändern, damit im Template der mit "content" markierte Teil mit der Ausgabe des Script gefüllt wird?

Code:
#lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes >

config { 
	doctype = xhtml_strict
	xmlprologue = none
	htmlTag_langKey = de_DE
	xhtml_cleaning = all
	no_cache = 0
	admPanel = 0
	removeDefaultJS = 1
	#Kommentare ausblenden
	disablePrefixComment = 1
	#wandelt alle CSS in Files um
	inlineStyle2TempFile = 1 
	disableImgBorderAttr = 1
	index_enable = 1
	#baseURL = http://domain/
	#absRefPrefix = http://domain/
}

page.meta {
  	#description = Beschreibung
  	#keywords = Keywords
  	#author = author
  	#robots = index, follow
  	#MSSmartTagsPreventParsing = true
  	#imagetoolbar  = false
}

page.includeCSS { 
  file1 = fileadmin/template/main.css
  file2 = fileadmin/template/links.css
  file3 = fileadmin/template/forms.css
  file4 = fileadmin/template/content.css 
}

page.includeJS.file5 = fileadmin/template/js_functions.js

# Navigation cObject

temp.navigation = HMENU

# First level menu-object, textual

temp.navigation.1 = TMENU

temp.navigation.1.noBlur = 1

temp.navigation.1 {
  NO.ATagParams = class="navi_link_right" |*| class="navi_link_middle" |*| class="navi_link_left"
  ACT = 1
  ACT.ATagParams=class="navi_link_active_right" |*| class="navi_link_active_middle" |*| class="navi_link_active_left"

}


# Bread Crumb Menue

temp.breadcrumb = HMENU

temp.breadcrumb.special = rootline

temp.breadcrumb.special.range = 0 | -1

temp.breadcrumb.1 = TMENU

temp.breadcrumb.1.noBlur = 1

temp.breadcrumb.1.NO.allWrap = |    »    |*| |    »    |*| |

temp.breadcrumb.1.NO.ATagParams = class="breadcrumb"
  
# Template content object:

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
    
  template = FILE

  template.file = fileadmin/template/template_1.html

  workOnSubpart = DOCUMENT_BODY

  subparts.breadcrumb < temp.breadcrumb
  subparts.navigation < temp.navigation
  subparts.content < styles.content.get
  subparts.right < styles.content.getRight
  
}

# Default PAGE object:

page = PAGE

page.typeNum = 0

page.10 < temp.mainTemplate

tt_content.script = CASE

tt_content.script {

key.field = select_key

MARKER = PHP_SCRIPT_EXT

MARKER.file = fileadmin/dein_script.php

}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
  #2  
Alt 31.01.08, 09:40
Forum Zuschauer
 
Registriert seit: 18.01.08
Beiträge: 8

Hattest du bereits erfolg? bin noch am selben dran
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
PHP Script einbinden jaspet TYPO3 4.x Fragen und Probleme 2 29.03.08 09:44
PHP Script einbinden maste Extension modifizieren oder neu erstellen 6 27.08.07 08:07
Gelöst Eigenes PHP-Script in Template einbinden Haui TYPO3 4.x Fragen und Probleme 9 12.07.07 17:52
Externes PHP-Script einbinden GeorgeDorn TYPO3 3.x Fragen und Probleme 5 01.02.06 12:44
PHP script einbinden ohne Ausgabecache retro TYPO3 3.x Fragen und Probleme 5 05.11.04 11:04


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:13 Uhr.


Powered by vBulletin® Version 3.7.3 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0