[TYPO3-german] TV verliefert die DS/DO zuordnung
Mario Batz
BatzMario at gmx.net
Thu Sep 9 19:34:50 CEST 2010
Hallo,
(Typo3 4.2.6)
woran kann es liegen, dass TV plötzlich das Mapping zum Template verliert
und RealURL plötzlich bei Mehrsprachigkeit die Standardsprache /de/ nicht
mehr in der URL anzeigt?
-----------------------
- RearlURL-Conf
<?php
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array(
'enableCHashCache' => 1,
'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
'respectSimulateStaticURLs' => 0,
'postVarSet_failureMode'=>'redirect_goodUpperDir',
),
'redirects_regex' => array (
),
'preVars' => array(
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'no_cache' => 1,
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'L',
'valueMap' => array(
'en' => '1',
'de' => '0',
),
'noMatch' => 'bypass',
'valueDefault' => 'de'
),
),
/**
* Original von RealURL
*/
// 'pagePath' => array(
// 'type' => 'user',
// 'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
// 'spaceCharacter' => '-',
// 'languageGetVar' => 'L',
// 'expireDays' => 7,
// 'rootpage_id' => 1,
// ),
/**
* Anpassung für aoe_realurlpath
*/
'pagePath' => array (
'type' => 'user',
'userFunc' =>
'EXT:aoe_realurlpath/class.tx_aoerealurlpath_pagepath.php:&tx_aoerealurlpath
_pagepath->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'rootpage_id' => '3',
'segTitleFieldList'=>'alias,tx_aoerealurlpath_overridesegment,nav_title,titl
e,subtitle',
),
'postVarSets' => array(
'_DEFAULT' => array(
// news archive parameters
'archive' => array(
array(
'GETvar' => 'tx_ttnews[year]' ,
),
array(
'GETvar' => 'tx_ttnews[month]' ,
'valueMap' => array(
'january' => '01',
'february' => '02',
'march' => '03',
'april' => '04',
'may' => '05',
'june' => '06',
'july' => '07',
'august' => '08',
'september' => '09',
'october' => '10',
'november' => '11',
'december' => '12',
)
),
),
// news pagebrowser
'browse' => array(
array(
'GETvar' => 'tx_ttnews[pointer]',
),
),
// news categories
'select_category' => array (
array(
'GETvar' => 'tx_ttnews[cat]',
),
),
// news articles and searchwords
'article' => array(
array(
'GETvar' => 'tx_ttnews[tt_news]',
'lookUpTable' => array(
'table' => 'tt_news',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
array(
'GETvar' => 'tx_ttnews[swords]',
),
),
),
),
'fileName' => array(
'defaultToHTMLsuffixOnPrev'=>1,
'index' => array(
'rss.xml' => array(
'keyValues' => array(
'type' => 100,
),
),
'rss091.xml' => array(
'keyValues' => array(
'type' => 101,
),
),
'rdf.xml' => array(
'keyValues' => array(
'type' => 102,
),
),
'atom.xml' => array(
'keyValues' => array(
'type' => 103,
),
),
),
),
);
?>
-------------------------------
- TV - DS
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<T3DataStructure>
<meta type="array">
<langDisable>1</langDisable>
<beLayout><![CDATA[
<table width="99%">
<tr>
<td width="25%" valign="top">###content_2_page###</td>
<td width="50%" rowspan="2"
valign="top">###content_1###</td>
<td width="25%" valign="top">###content_3_page###</td>
</tr>
</table>
]]></beLayout>
</meta>
<ROOT type="array">
<tx_templavoila type="array">
<title>ROOT</title>
<description>Select the HTML element on the page
which you want to be the overall container element for the
template.</description>
</tx_templavoila>
<type>array</type>
<el type="array">
<navi_1 type="array">
<tx_templavoila type="array">
<title>navi_1</title>
<description>navi_1</description>
<sample_data type="array">
<numIndex index="0">navi_1
navi_1 navi_1 navi_1</numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<TypoScriptObjPath>lib.navi_1</TypoScriptObjPath>
</tx_templavoila>
</navi_1>
<navi_2 type="array">
<tx_templavoila type="array">
<title>navi_2</title>
<description>navi_2</description>
<sample_data type="array">
<numIndex index="0">navi_2
navi_2 navi_2</numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<TypoScriptObjPath>lib.navi_2</TypoScriptObjPath>
</tx_templavoila>
</navi_2>
<logo type="array">
<tx_templavoila type="array">
<title>logo</title>
<description>logo</description>
<sample_data type="array">
<numIndex index="0">logo
logo logo</numIndex>
</sample_data>
<eType>image</eType>
<eType_EXTRA type="array">
<objPath>lib.logo</objPath>
</eType_EXTRA>
<TypoScript>
10 = IMAGE
10.file.import = uploads/tx_templavoila/
10.file.import.current = 1
10.file.import.listNum = 0
10.file.maxW = 200
</TypoScript>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>group</type>
<internal_type>file</internal_type>
<allowed>gif,png,jpg,jpeg</allowed>
<max_size>1000</max_size>
<uploadfolder>uploads/tx_templavoila</uploadfolder>
<show_thumbs>1</show_thumbs>
<size>1</size>
<maxitems>1</maxitems>
<minitems>0</minitems>
</config>
<label>logo</label>
</TCEforms>
</logo>
<banner type="array">
<tx_templavoila type="array">
<title>banner</title>
<description>banner</description>
<sample_data type="array">
<numIndex
index="0">banner</numIndex>
</sample_data>
<eType>image</eType>
<eType_EXTRA type="array">
<objPath>lib.banner</objPath>
</eType_EXTRA>
<TypoScript>
10 = IMAGE
10.file.import = uploads/tx_templavoila/
10.file.import.current = 1
10.file.import.listNum = 0
10.file.maxW = 735
</TypoScript>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>group</type>
<internal_type>file</internal_type>
<allowed>gif,png,jpg,jpeg</allowed>
<max_size>1000</max_size>
<uploadfolder>uploads/tx_templavoila</uploadfolder>
<show_thumbs>1</show_thumbs>
<size>1</size>
<maxitems>1</maxitems>
<minitems>0</minitems>
</config>
<label>banner</label>
</TCEforms>
</banner>
<path type="array">
<tx_templavoila type="array">
<title>path</title>
<description>path</description>
<sample_data type="array">
<numIndex
index="0">path</numIndex>
</sample_data>
<eType>TypoScriptObject</eType>
<TypoScriptObjPath>lib.path</TypoScriptObjPath>
</tx_templavoila>
</path>
<content_1 type="array">
<tx_templavoila type="array">
<title>content_1</title>
<description>content_1</description>
<sample_data type="array">
<numIndex
index="0">content_1</numIndex>
</sample_data>
<eType>ce</eType>
<eType_EXTRA type="array">
<objPath>lib.content_1</objPath>
</eType_EXTRA>
<TypoScript><![CDATA[
10= RECORDS
10.source.current=1
10.tables = tt_content
10.wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
]]></TypoScript>
<oldStyleColumnNumber
type="integer">0</oldStyleColumnNumber>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>group</type>
<internal_type>db</internal_type>
<allowed>tt_content</allowed>
<size>5</size>
<maxitems>200</maxitems>
<minitems>0</minitems>
<multiple>1</multiple>
<show_thumbs>1</show_thumbs>
</config>
<label>content_1</label>
</TCEforms>
</content_1>
<content_2_slide type="array">
<tx_templavoila type="array">
<title>content_2_slide</title>
<description>content_2_slide</description>
<sample_data type="array">
<numIndex
index="0">content_2_slide</numIndex>
</sample_data>
<eType>ce</eType>
<eType_EXTRA type="array">
<objPath>lib.content_2_slide</objPath>
</eType_EXTRA>
<TypoScript><![CDATA[
10= RECORDS
10.source.current=1
10.tables = tt_content
10.wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
]]></TypoScript>
<oldStyleColumnNumber
type="integer">1</oldStyleColumnNumber>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>group</type>
<internal_type>db</internal_type>
<allowed>tt_content</allowed>
<size>5</size>
<maxitems>200</maxitems>
<minitems>0</minitems>
<multiple>1</multiple>
<show_thumbs>1</show_thumbs>
</config>
<label>content_2_slide</label>
</TCEforms>
</content_2_slide>
<content_3_slide type="array">
<tx_templavoila type="array">
<title>content_3_slide</title>
<description>content_3_slide</description>
<sample_data type="array">
<numIndex
index="0">content_3_slide</numIndex>
</sample_data>
<eType>ce</eType>
<eType_EXTRA type="array">
<objPath>lib.content_3_slide</objPath>
</eType_EXTRA>
<TypoScript><![CDATA[
10= RECORDS
10.source.current=1
10.tables = tt_content
10.wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
]]></TypoScript>
<oldStyleColumnNumber
type="integer">2</oldStyleColumnNumber>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>group</type>
<internal_type>db</internal_type>
<allowed>tt_content</allowed>
<size>5</size>
<maxitems>200</maxitems>
<minitems>0</minitems>
<multiple>1</multiple>
<show_thumbs>1</show_thumbs>
</config>
<label>content_3_slide</label>
</TCEforms>
</content_3_slide>
<foot type="array">
<tx_templavoila type="array">
<title>foot</title>
<description>foot</description>
<sample_data type="array">
<numIndex
index="0">foot</numIndex>
</sample_data>
<eType>ce</eType>
<eType_EXTRA type="array">
<objPath>lib.foot</objPath>
</eType_EXTRA>
<TypoScript><![CDATA[
10= RECORDS
10.source.current=1
10.tables = tt_content
10.wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
]]></TypoScript>
<oldStyleColumnNumber
type="integer">3</oldStyleColumnNumber>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>group</type>
<internal_type>db</internal_type>
<allowed>tt_content</allowed>
<size>5</size>
<maxitems>200</maxitems>
<minitems>0</minitems>
<multiple>1</multiple>
<show_thumbs>1</show_thumbs>
</config>
<label>foot</label>
</TCEforms>
</foot>
<content_2_page type="array">
<tx_templavoila type="array">
<title>content_2_page</title>
<description>content_2_page</description>
<sample_data type="array">
<numIndex
index="0">content_2_page</numIndex>
</sample_data>
<eType>ce</eType>
<TypoScript><![CDATA[
10= RECORDS
10.source.current=1
10.tables = tt_content
10.wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
]]></TypoScript>
<oldStyleColumnNumber
type="integer">4</oldStyleColumnNumber>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>group</type>
<internal_type>db</internal_type>
<allowed>tt_content</allowed>
<size>5</size>
<maxitems>200</maxitems>
<minitems>0</minitems>
<multiple>1</multiple>
<show_thumbs>1</show_thumbs>
</config>
<label>content_2_page</label>
</TCEforms>
</content_2_page>
<content_3_page type="array">
<tx_templavoila type="array">
<title>content_3_page</title>
<description>content_3_page</description>
<sample_data type="array">
<numIndex
index="0">content_3_page</numIndex>
</sample_data>
<eType>ce</eType>
<TypoScript><![CDATA[
10= RECORDS
10.source.current=1
10.tables = tt_content
10.wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
]]></TypoScript>
<oldStyleColumnNumber
type="integer">5</oldStyleColumnNumber>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>group</type>
<internal_type>db</internal_type>
<allowed>tt_content</allowed>
<size>5</size>
<maxitems>200</maxitems>
<minitems>0</minitems>
<multiple>1</multiple>
<show_thumbs>1</show_thumbs>
</config>
<label>content_3_page</label>
</TCEforms>
</content_3_page>
</el>
</ROOT>
</T3DataStructure>
MfG
Mario
More information about the TYPO3-german
mailing list