Ôîðóì áîëüøå íå èñïîëüçóåòñÿ. Ïðèñîåäèíÿéòåñü ê êàíàëó #community-ru â Slack for TYPO3 community |
22.11.2004, 15:27 | #1 |
Íîâåíüêèé
|
Ãðàôè÷åñêàÿ íàâèãàöèÿ íà ðóññêîì!
Âñåì ïðèâåò!
Ó ìåíÿ âîçíèêëà ïðîáëåìà ñ ãðàôèêîé ìåíþ íà ðóññêîì ÿçûêå. ß èñïîëüçûâàþ Typo 3 - 3.7. Ñ òåêñòîì êîíòåíòà íåò íèêàêèõ ïðîáëåì, ïðàâäà ãðàôèêó îí íå ïðàâåëüíî ãåíåðèðóåò! Âîçìîæíî êòî è ñòàëêèâàëñÿ ñ ïîõîæåé ïðîáëåìîé? Áëàãîäàðþ çà ïîìîùü! Ñåðãåé Ôåëüäå Âîò ìîÿ êîíôèãóðàöèÿ: #Language Menu Configuration [globalVar = GP:L>0] config.linkVars = L [global] config.sys_language_uid = 1 config.language = de config.locale_all = de_DE [globalVar = GP:L = 1] config.sys_language_uid=1 config.language=de config.locale_all = de_DE config.metaCharset = iso-8859-1 [globalVar = GP:L = 2] config.sys_language_uid=2 config.language=en config.locale_all = en_En [globalVar = GP:L = 3] config.sys_language_uid=3 config.language=ru config.locale_all = ru_RU config.metaCharset = windows-1251 config.renderCharset = windows-1251 config.locale_all = russian [GLOBAL] /////////////Ìåíþ/////////////////////////////// temp.MENU = HMENU temp.MENU.1 = GMENU_LAYERS temp.MENU.1 { layerStyle = position:absolute;VISIBILITY:hidden; relativeToTriggerItem = 1 leftOffset = 0 topOffset = 20 lockPosition = x dontFollowMouse = 1 hideMenuWhenNotOver = 1 hideMenuTimer = 250 wrap =<table cellpadding=\"0\" cellspacing=\"0\"><tr>|</tr></table> expAll = 1 NO { wrap =<td>|</td> backColor = #B90059 XY = [10.w]+13, 20 10 = TEXT 10.text.field = nav_title // title 10.fontFile = fileadmin/template/arial.ttf 10.fontColor = #ffffff 10.fontSize = 10 10.offset = 10,15 } RO < .NO RO { backColor = #F50076 10.fontColor = #ffffff } RO=1 ACT < .NO ACT { backColor = #F50076 10.fontColor = #ffffff } ACT = 1 } |
22.11.2004, 16:15 | #2 |
Senior Member
Ðåãèñòðàöèÿ: 28.10.2004
Ñîîáùåíèé: 131
|
÷òî çíà÷èò íåïðàâèëüíî?... êîãäà æå âû íàó÷èòåñü ïðàâèëüíî çàäàâàòü âîïðîñû...?
|
22.11.2004, 16:38 | #3 |
Íîâåíüêèé
|
Íåïðàâèëüíî, ýòî çíà÷èò âìåñòî \"Öåëè\" ïîêàçûâàåò \"†•›˜\".
Õîòÿ content âûâîäèò íîðìàëüíî! ñïàñèáî! |
22.11.2004, 19:15 | #4 |
Íîâåíüêèé
|
Âîïðîñ ê àäìèíó ôîðóìà. Ñóäÿ ïî íàâèãàöèè, ýòî âåäü òîæå ãðàôè÷åñêîå ìåíþ!? Êàê ýòî âû ðåàëèçîâàëè?
|
23.11.2004, 21:56 | #5 |
Senior Member
Ðåãèñòðàöèÿ: 14.08.2003
Ñîîáùåíèé: 416
|
ñêîðåå âñåãî íóæíî ïðîâåðèòü ýòè íàñòðîéêè ïóíêòû â èíñòàëëå
forceCharset è TTFLocaleConv Ðàíüøå íóæíî áûëî óñòàíàâëèâàòü TTFlocaleConv = 'cp1251..UTF-8' (äî âåðñèè 3.5.0). Äëÿ ýòîãî áûëà íåîáõîäèìà íà ñåðâåðå ïðîãðàììà recode (çàêîìïèëèðîâàíà â PHP)  ïîñëåäíèõ âåðñèÿõ äîñòàòî÷íî óñòàíîâèòü forceCharset=utf-8 îäíàêî íå çíàþ, íàñêîëüêî ýòî áóäåò ñîâìåñòèìî ñ âûâîäîì ðóññêîãî è íåìåöêîãî â êîäèðîâêàõ iso-8859-1 è ñîîòâåòñòâåííî windows-1251. Õîòÿ ìîæåò è ñðàáîòàòü.  ìîåì ôîðóìå typo3.ru ýòà ïðîáëåìà ÷àñòî îáñóæäàëàñü òàì ìîæíî íàéòè äîïîëíèòåëüíóþ èíôîðìàöèþ, íàïðèìåð http://www.typo3.ru/general+M56e815cbf21.html Óñïåõîâ! Àíäðåé |
24.11.2004, 00:42 | #6 |
Íîâåíüêèé
|
Ïðèâåò Àíäðåé!
Ñïàñèáî îãðîìíîå! Äåéñòâèòåëüíî çàðàáîòàëî! forceCharset=utf-8 Íåîáõîäèìî âñ¸ íàñòðîèò äî çàíåñåíèÿ êîíòåíòà, ïîòîìó÷òî àïîñëÿ âñ¸ ïðåéä¸òñÿ ïåðåäåëîâàòü! Ïîêà, Ñåðãåé |
24.11.2004, 03:22 | #7 |
Senior Member
Ðåãèñòðàöèÿ: 28.10.2004
Ñîîáùåíèé: 131
|
Äåëî â òîì, ÷òî áèáëèîòåêà GD íå ðàáîòàåò ñ êîäèðîâêîé win 1251... Ðåøåíèå âåñüìà ïðîñòîå - îòêðûâàåòå ôàéë /typo3conf/localconf.php è â íåì äîïèñûâàåòå $TYPO3_CONF_VARS['BE']['forceCharset'] = 'utf-8';Äîëæíî ïîñëå ýòîãî çàðàáîòàòü.
|
25.11.2004, 23:23 | #8 |
Senior Member
|
Õîçÿéêå íà çàìåòêó:
Èíîãäà áûâàþò ïðîáëåìû è ñ êîððåêòíûìè óñòàíîâêàìè â Typo3. Ïðîÿâëÿåòñÿ â âèäå êâàäðàòèêîâ âìåñòî òåêñòà. Ïðè÷èíà: Øðèôò íå ÿâëÿåòñÿ UNICODE øðèôòîì. Äëÿ èñïîëüçîâàíèÿ â Typo3 ñ óñòàíîâêîé TTFlocaleConv = 'cp1251..UTF-8' øðèôò îáÿçàí áûòü UNICODE! Ñïîñîá ðåøåíèÿ ïðîáëåìû: Âîññïîëüçîâàòüñÿ äðåâíåé ïðîãðàììîé ïîä DOS \"TTFCONVERT\" êîòîðàÿ êîíâåðòèðóåò ASCII-øðèôòû cp1251 â UNICODE-øðèôòû. Google ïîäñêàæåò ãäå âçÿòü. |
26.11.2004, 00:27 | #9 |
Senior Member
Ðåãèñòðàöèÿ: 14.08.2003
Ñîîáùåíèé: 416
|
@Sergej
Äà, ÿ ñòàëêèâàëñÿ òî÷íî ñ òàêîé æå ïðîáëåìîé è ñäåëàë äëÿ ýòîãî ðàñøèðåíèå: http://typo3.org/extensions/repository/search/convertutf/ Ïðîñòåíüêî, íî ïî êðàéíåé ìåðå ëåã÷å, ÷åì ââîäèòü âñå çàíîâî âðó÷íóþ |
27.11.2004, 23:58 | #10 |
Íîâåíüêèé
|
Ïðèâåò Àíäðåé,
ñêàæè ïîæàëóéñòà êàê íàñòðîèòü òâîé extension. Áûëîáû ñóïåð åñëè âñ¸ ìàõîì ïåðåêîäèðîâàòü â utf-8. Spasibo, Sergej |