Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten Ansicht
  #1  
Alt 30.11.07, 22:14
Forum Newbie
 
Registriert seit: 26.09.07
Beiträge: 22
Dynamisches Title Tag

Moin!

Ich möchte mein Title Tag dynamisch aus dem Seitenamen Rootlevel, Seitennamen der aktuellen Seite und dem Untertitel erstellen. Mein TS sieht wie folgt aus. Ich habe hier schon viele Variante gesehen, aber keine die das TITLE Tag in den Auto Parser pasten.....
Kann mit jemand helfen? Hier mein TS Code:

Code:
[GLOBAL]
# Allgemeine Einstellungen
config.doctype = xhtml_trans
config.xhtml_cleaning = all

# dafür sorgen, dass IE nicht in den Quirks-Modus geht
[browser = msie]
config.doctypeSwitch = 1
[global]

# PAGE OBject

page = PAGE
page.typeNum = 0

#copying the content from TEMPLATE for body slection
page.10 < temp.mainTemplate

# copying the content for the HEAD section
page.headerData.10 < temp.headTemplate 							 						 					 				 			  	 	   	 	   	  # autoparser config

plugin.tx_automaketemplate_pi1 {
	#Read Template

	content = FILE
	content.file = xxx/xxx/xxx/xxx.html
	

	# set subpart comment
	
	elements {
	BODY.all = 1
	BODY.all.subpartMarker = DOCUMENT_BODY

	HEAD.all = 1
	HEAD.all.subpartMarker = DOCUMENT_HEADER
	
	
	DIV.all = 1
	LI.all	= 1

	}

	#prefix part for static files
	relPathPrefix = xx/
}


#Menu 1 cObject
temp.menu_frame = HMENU
  # First level menu-object, textual
temp.menu_frame.1 = TMENU
temp.menu_frame.1 {
    # Normal state properties
  NO.allWrap = <div class="xxl1no"> | </div>
    # Enable active state and set properties:
  ACT = 1
  ACT.allWrap = <div class="xxlact"> | </div>
}

  # Second level menu-object, textual
temp.menu_frame.2 = TMENU
temp.menu_frame.2 {
    # Normal state properties
  NO.allWrap = <div class="xx2no"> | </div>
    # Enable active state and set properties:
  ACT = 1
  ACT.allWrap = <div class="xx2act"> | </div>
}# Temp for Body
temp.mainTemplate = TEMPLATE
temp.mainTemplate {

	#feeding content from autoparser
	template =< plugin.tx_automaketemplate_pi1
	#Select content between BODY
	workOnSubpart = DOCUMENT_BODY

	#substitute the menu_frame subpart
	subparts.menu_frame < temp.menu_frame

	#substitute content subpart
	subparts.content < styles.content.get

	#substitute content subpart
	subparts.left < styles.content.getLeft
}

# main Template for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
	#auto parser feed
	template =< plugin.tx_automaketemplate_pi1
	# select content between head tags
	workOnSubpart = DOCUMENT_HEADER
}
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
Sponsored Links
  #2  
Alt 02.12.07, 00:23
Benutzerbild von Cybersmog
TYPO3 Forum Team
Moderator
 
Registriert seit: 24.02.06
Alter: 31
Beiträge: 1.691

Schau dir mal dieses Snippet an:
'title'-Tag im HTML-Header dynamisch erweitern - TypoScript Snippets - Service - TYPO3

Mit COA, einem wrap und subtitle bekommst du deine Wunschlösung hin.

Gruß
Peter
__________________
Erstes TYPO3camp in München vom 29.-31. August 2008. Die Anmeldung ist ab sofort offen! Mehr Infos: typo3camp-munich.mixxt.de

An eagle soars, but a weasel never gets sucked into a jet engine!
TYPO3 schreibt sich TYPO3!
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


Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
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 anzufügen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

vB 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
dynamisches Einbinden von HTML-Files michischweiger TYPO3 4.x Fragen und Probleme 5 03.07.08 15:31
Dynamisches Menue mr.olli TYPO3 4.x Fragen und Probleme 1 29.05.08 15:37
Dynamisches Hintergrundbild Green3 TYPO3 4.x Fragen und Probleme 2 13.12.07 08:23
Dynamisches Menü Mit Text & Bild pixelrocker TYPO3 4.x Fragen und Probleme 10 03.12.07 13:40
dynamisches Menü (Bilder laden) Tanderus TYPO3 4.x Backend 3 07.12.06 12:15


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:36 Uhr.


Powered by vBulletin® Version 3.6.8 Patch Level 2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Template-Modifikationen durch TMS