[TYPO3-german] Unterschiedliche Urls
Bernd Wilke
19m0nyq02 at sneakemail.com
Wed Jan 24 10:31:30 CET 2007
"Philipp Holdener" <philipp at holdener.ch> schrieb im Newsbeitrag
news:mailman.1.1169630626.25947.typo3-german at lists.netfielders.de...
> Hallo Bernd
>
> Bekomm das irgendwie nicht hin.. das ist meine localconf.php Datei
>
> <?php
> $TYPO3_CONF_VARS["FE"]["pageNotFound_handling"] =
> 'READFILE:fileadmin/error.html';
> $TYPO3_CONF_VARS['SC_OPTIONS'] ['t3lib/class.t3lib_tstemplate.php']
> ['linkData-PostProc'] []
> = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
> $TYPO3_CONF_VARS['SC_OPTIONS'] ['tslib/class.tslib_fe.php']
> ['checkAlternativeIdMethods-PostProc'] []
> = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL';
> $TYPO3_CONF_VARS['SC_OPTIONS'] ['t3lib/class.t3lib_tcemain.php']
> ['clearAllCache_additionalTables'] ['tx_realurl_urldecodecache']
> = 'tx_realurl_urldecodecache';
> $TYPO3_CONF_VARS['SC_OPTIONS'] ['t3lib/class.t3lib_tcemain.php']
> ['clearAllCache_additionalTables'] ['tx_realurl_urlencodecache']
> = 'tx_realurl_urlencodecache';
> $TYPO3_CONF_VARS['FE'] ['addRootLineFields'] .=
> ',tx_realurl_pathsegment,alias,nav_title,title';
> $TYPO3_CONF_VARS['EXTCONF'] ['realurl'] ['_DEFAULT'] = array(
> 'init' => array(
> 'enableCHashCache' => 1,
> 'enableUrlDecodeCache' => 1,
> 'enableUrlEncodeHash' => 1,
> // 'postVarSet_failureMode' => 'redirect_goodUpperDir',
> ),
> 'rewrite' => array(
> ),
> 'preVars' => array(
> /*
> array(
> 'GETvar' => 'L',
> 'valueMap' => array(
> 'de' => '0',
> 'fr' => '1',
> 'it' => '2',
> 'valueDefault' => 'de',
> ),
> ),
> */
> ),
> 'pagePath' => array(
> 'type' => 'user',
> 'userFunc' =>
> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
> 'spaceCharacter' => '-',
> 'languageGetVar' => 'L',
> 'expireDays' => 1,
> 'rootpage_id' => '2'
> ),
> 'fileName' => array (
> 'defaultToHTMLsuffixOnPrev' => 1,
> 'index' => array(
> 'page.html' => array(
> 'keyValues' => array (
> 'type' => 1,
> ),
> ),
> ),
> ),
> 'fixedPostVarSets' => array(
> ),
> 'postVarSets' => array(
> '_DEFAULT' => array(
> //archive
> 'period' => array (
> array (
> 'condPrevValue' => -1,
> 'GETvar' => 'tx_ttnews[pS]',
> //'valueMap => array()
> ),
> array (
> 'GETvar' => 'tx_ttnews[pL]',
> //'valueMap => array()
> ),
>
> array (
> 'GETvar' => 'tx_ttnews[arc]',
> 'valueMap' => array(
> 'non-archived' => -1,
> ),
> ),
> ),
>
> 'browse' => array (
> array (
> 'GETvar' => 'tx_ttnews[pointer]',
> ),
> ),
> 'select' => array (
> array (
> 'GETvar' => 'tx_ttnews[cat]',
> 'lookUpTable' => array (
> 'table' => 'tt_news_cat',
> 'id_field' => 'uid',
> 'alias_field' => 'title',
> 'addWhereClause'=> 'AND NOT deleted',
> 'useUniqueCache'=> 1,
> 'useUniqueCache_conf' => array (
> 'strtolower' => 1,
> 'spaceCharacter' => '-',
> ),
> ),
> ),
> ),
> 'article' => array(
/* von hier
> array (
> 'GETvar' => 'tx_ttnews[backPid]', /*Wenn ich das auskommentiere bekomm
ich
> solche links
>
...news/branchen-klatsch/single/article/ausgezeichnt.html?tx_ttnews%5BbackPi
d%5D=10&cHash=259066d435
> */
> // 'valueMap => array(
> // ),
> ),
*/
bis hier auskommentieren (Achtung!! es gibt keine geschachtelten
Kommentare!!! )
natürlich wird die backPid dann als Parameter (zb. "&tx_ttnews[backPid]=10")
übergeben. aber davor ist es eben gleich.
> array (
> 'GETvar' => 'tx_ttnews[tt_news]',
> 'lookUpTable' => array (
> 'table' => 'tt_news',
> 'id_field' => 'uid',
> 'alias_field' => 'title',
> 'maxLength' => 12,
> 'addWhereClause'=> 'AND NOT deleted',
> 'useUniqueCache'=> 1,
> 'useUniqueCache_conf' => array (
> 'strtolower' => 1,
> 'spaceCharacter' => '-',
> ),
> ),
> ),
> ),
> ),
> ),
> );
> ?>
>
>
--
www.bernd-wilke.net
More information about the TYPO3-german
mailing list