[TYPO3-UG France] Insertion dans un DIV
philip jedar
philip.jedar at gmail.com
Thu Mar 13 21:18:30 CET 2008
Bonjour,
Je suis honteux de vous embêter avec çà, mais je ne m'en sort vraiment
pas... J'ai bien avancé sur les langues et lorsque que je rajoute
manuellement le &L=2 à l'URL les pages s'affichent dans la bonne langue.
Mais je n'arrive pas à injecter le menus dans ma div :
<div id="header"> <div id="SPRACHE">Langage Menu </div> </div>
Je me permet de copier coller mon TS, si vous vouliez bien me dire ce qui
cloche... cela me soulagerait beaucoup. Mon problème est que j'acquière les
connaissances par l'exemple... J'ai beau lire la théorie un grand nombre de
fois.... Il m'en manque toujours un bout... Sniff...
Merci de votre aide et de votre patience....
##rajout pour le problême de centrage IE
config.doctype = xhtml_strict
config.xmlprologue = none
##-- Real Url --##
// Disable static document simulation
config.simulateStaticDocuments = 0
// Prefix anchors
config.prefixLocalAnchors = all
// Base tag
config.baseURL = http://meroja-new.creativeminds.de/
// Enable RealURL
config.tx_realurl_enable = 1
# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = fileadmin/templates/newtmpl-mejo.htm
# 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
DIV.all = 1
UL.id.menu = 1
}
# Prefix all relative paths with this value:
relPathPrefix = fileadmin/templates/
}
# ------------------ MENU 1 HORIZONTAL -------
temp.topmenu >
temp.topmenu= HMENU
temp.topmenu.entryLevel= 0
temp.topmenu.expAll= 1
temp.topmenu.1= TMENU
temp.topmenu.1{
wrap= <ul id="menu">|</ul>
noBlur= 1
NO= 1
NO.allWrap= <li>|</li>
}
}
# Main TEMPLATE cObject for the BODY
temp.mainTemplate >
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 ###topmenu### subpart with dynamic menu:
subparts.topmenu < temp.topmenu
# Substitute the ###content### subpart with some example content:
subparts.content < styles.content.get
# Substitute the ###left### subpart with some example content:
subparts.left < styles.content.getLeft
# Substitute the ###right### subpart with some example content:
subparts.right < styles.content.getRight
# Substitute the ###header### subpart with some example content:
# subparts.header < styles.content.getBorder
}
# Main TEMPLATE cObject for the HEAD
temp.headTemplate >
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
page.typeNum = 0
# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate
# Copying the content from TEMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate
## SPRACHWAHL
# **********************
sprachwahl.languageMenu < plugin.tx_srlanguagemenu_pi1
# address PLACEHOLDER LANGUAGE
# *********************************************
page.10.marks.SPRACHE =< sprachwahl.languageMenu
config.sys_language_mode = strict; 0
config.sys_language_overlay = hideNonTranslated
# ****************************************************
config.sys_language_uid = 0
config.linkVars = L
config.language = en
config.locale_all = en_EN.UTF-8
page.config.language = en
page.config.locale_all = en_EN.UTF-8
# German language, sys_language.uid = 4
[globalVar = GP:L = 4]
config.sys_language_uid = 4
page.config.language = de
page.config.locale_all = de_DE.UTF-8
[global]
More information about the TYPO3-france
mailing list