Hallo Alle,
ich habe Frameset und 4 Sprachauswahl. Für die arabische Sprache habe ich andere Template eingesetzt Es funz. leider nicht.
Hier ist mein SETUP
##############################
#PAGE
##############################
inhalt = PAGE
left = PAGE
right = PAGE
top = PAGE
bottom = PAGE
inhalt.typeNum = 1
left.typeNum = 2
right.typeNum = 3
top.typeNum = 4
bottom.typeNum = 5
#------------------
# Defining the main-frame (inhalt)
#------------------
inhalt.10 = TEMPLATE
inhalt.10.value =
#-----------------
# Defining the left-frame
#-----------------
left.10 = TEXT
left.10.value =
#-----------------
# Defining the right-frame
#-----------------
right.10 = TEXT
right.10.value =
#----------------
# Defining the top-frame
#---------------
top.10 = TEXT
top.10.value =
#--------------
#Defining the bottom-frame
#--------------
bottom.10 = TEXT
bottom.10.value =
#################
#Frameset
#################
outer_frameset = PAGE
outer_frameset.typeNum = 0
#-------------------------
# Defining the frameset
#-------------------------
outer_frameset.frameSet.rows = *,600,*
outer_frameset.frameSet.params = border="0" framespacing="0" frameborder="NO"
outer_frameset.frameSet {
1 = FRAME
1.obj = top
1.params = scrolling="NO" noresize frameborder="NO" marginwidth="0" marginheight="0"
2 = FRAMESET
#2.obj = container
2.cols = *,955,*
2 {
1 = FRAME
1.obj = left
1.params = scrolling="NO" noresize frameborder="NO" marginwidth="0" marginheight="0"
2 = FRAME
2.obj = inhalt
2.params = scrolling="NO" noresize frameborder="NO" marginwidth="0" marginheight="0"
3 = FRAME
3.obj = right
3.params = scrolling="NO" noresize frameborder="NO" marginwidth="0" marginheight="0"
}
3 = FRAME
3.obj = bottom
3.params = scrolling="NO" noresize frameborder="NO" marginwidth="0" marginheight="0"
}
# ######################################################
# Defining the content-frame, "inhalt"
# *************************
#-------------------------
# Bodytag
#-------------------------
inhalt.bodyTag = <BODY bgcolor="#FFFFFF">
#----------------
# Page-content
#----------------
temp.language = PHP_SCRIPT
temp.language.file = fileadmin/arability/my_languageMenu.php
# Setting up the language variable "L" to be passed along with links
config.linkVars = L
config.sys_language_uid = 0
config.language = EN
config.locale_all = English
# English language, sys_language.uid = 0
[globalVar = GP:L = 0]
config.sys_language_uid = 0
config.language = EN
config.locale_all = English
[global]
# French language, sys_language.uid = 2
[globalVar = GP:L = 2]
config.sys_language_uid = 2
config.language = fr
config.locale_all = French
[global]
# German language, sys_language.uid = 3
[globalVar = GP:L = 3]
config.sys_language_uid = 3
config.language = de
config.locale_all = German
[global]
# Arabic language, sys_language.uid = 1
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = ar
config.locale_all = Arabic
inhalt.10.template.file = fileadmin/arability/template_arabisch.html
[global]
.........
ich habe auch die my_languageMenu.php Datei angepasst
// First, select all pages_language_overlay records on the current page. Each represents a possibility for a language.
$query = "SELECT * FROM pages_language_overlay WHERE pid=".$GLOBALS["TSFE"]->id.$GLOBALS["TSFE"]->sys_page->enableFields("pages_language_overlay")." GROUP BY sys_language_uid";
$res = mysql(TYPO3_db,$query);
$langArr=array();
while($row=mysql_fetch_assoc($res)) {
$langArr[$row["sys_language_uid"]]=$row["title"];
}
// Little red arrow, which is inserted to the left of the flag-icon if the TSFE->sys_language_uid equals the language uid (notice that 0=english, 1=danish and 2=german is SPECIFIC to this database, because these numbers refer to uid's of the table sys_language)
$pointer = '<img src="t3lib/gfx/content_client.gif" width="7" height="10" align=middle>';
// Set each icon. If the language is the current, red arrow is printed to the left. If the language is NOT found (represented by a pages_language_overlay record on this page), the icon is dimmed.
$flags = array();
$flags[] = ($GLOBALS["TSFE"]->sys_language_uid==1?$pointer:"").'<a href="index.php?id='.$GLOBALS["TSFE"]->id.'&L=1" target=_self><img src="fileadmin/arability/images/flag_ar'.($langArr[1]?"":"_d").'.gif" width="18" height="18" hspace=1 border="0"></a>';
$flags[] =($GLOBALS["TSFE"]->sys_language_uid==0?$pointer:"").'<a href="index.php?id='.$GLOBALS["TSFE"]->id.'&L=0" target=_self><img src="fileadmin/arability/images/flag_en.gif" width="18" height="18" hspace=1 border="0"></a>';
$flags[] =($GLOBALS["TSFE"]->sys_language_uid==3?$pointer:"").'<a href="index.php?id='.$GLOBALS["TSFE"]->id.'&L=3" target=_self><img src="fileadmin/arability/images/flag_de'.($langArr[3]?"":"_d").'.gif" width="18" height="18" hspace=1 border="0"></a>';
$flags[] =($GLOBALS["TSFE"]->sys_language_uid==2?$pointer:"").'<a href="index.php?id='.$GLOBALS["TSFE"]->id.'&L=2" target=_self><img src="fileadmin/arability/images/flag_fr'.($langArr[2]?"":"_d").'.gif" width="18" height="18" hspace=1 border="0"></a>';
// Make the little menu. Notice, the menu does ONLY transfer the page-id and the "L" variable (which is also SPECIFIC for this website because "L" has been used in the extension template used to control the language setup)
$content = '<table border=0 cellpadding=0 cellspacing=0><tr><td>'.implode("",$flags).'</td></tr></table>';
wo habe plus fehler gemacht ich bin am ende meine Grenze ich bitte bitte um Hilfe
Eldien