Показать сообщение отдельно
Старый 29.03.2007, 13:28   #1
GF
Продвинутый
 
Регистрация: 04.03.2006
Сообщений: 34
Отправить сообщение для GF с помощью ICQ
По умолчанию

Цитата:
Сообщение от nullxxx Посмотреть сообщение
Только начинаю разбираться в TYPO3
Здорово!

Цитата:
Сообщение от nullxxx Посмотреть сообщение
В шаблоне прописано :
<head>
<title>Base template, header, menu, content and footer.</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251"/>
<style type="text/css" id="internalStyle">
/*<![CDATA[*/
BODY { margin: 0 0 0 0; background-color: white; }
/*]]>*/
</style>
<link href="res/stylesheet.css" rel="stylesheet" type="text/css" />
</head>
Убери это фсе..

Цитата:
Сообщение от nullxxx Посмотреть сообщение
А на сайте выводится:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<!--
This website is powered by TYPO3 - inspiring people to share!
TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.
TYPO3 is copyright 1998-2006 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
Information and contribution at http://typo3.com/ and http://typo3.org/
-->

<link rel="stylesheet" type="text/css" href="typo3temp/stylesheet_3e16484f4b.css" />


<meta http-equiv="Content-Type" content="text/html; charset=windows-1251"/>
<style type="text/css" id="internalStyle">
/*<![CDATA[*/
BODY { margin: 0 0 0 0; background-color: white; }
/*]]>*/
</style>
<link href="fileadmin/template/main/res/stylesheet.css" rel="stylesheet" type="text/css" />

<title>Root page</title>
<meta name="generator" content="TYPO3 4.1 CMS" />
<script type="text/javascript" src="typo3temp/javascript_757c080409.js"></script>
</head>
Было-бы глупо еслиб выводилось че-то другое..

Цитата:
Сообщение от nullxxx Посмотреть сообщение
Куда смотреть? Нужна кодировка charset=windows-1251
Добавление:
config {
metaCharset = windows-1251
renderCharset = windows-1251
notification_email_encoding = 8bit
notification_email_charset = windows-1251
language = ru
locale_all = ru_RU.CP1251
}
Не помогает
Одно это не поможет..
Еще в localconf.php вставьте строчку:
$TYPO3_CONF_VARS['BE']['forceCharset'] = 'windows-1251';

http://forum.typo3.biz/search.php - здесь фсе это есть..
GF вне форума   Ответить с цитированием