[TYPO3-german] TYPO3 7.6 und tx_news 4.2.1 realurl detail-seite

Sebastian Schmal sebastian.schmal at gmx.de
Sun May 15 18:13:59 CEST 2016


wenn ich die Einstellung:
skipControllerAndAction = 0

werden die News soweit richtig angezeigt. Nur die News-Detail-Seite ist 
noch mit in der URL

Wenn ich die Einstellung mache:
skipControllerAndAction = 1
URL = www.domain.org/news-list/news-detail/detail/News/test-news-name-here/
d.h. die Url nicht die Action und Controller mit rein.


Ich denke daher, dass es ein Problem mit der T3 7.6.6 und RealUrl gibt? 
tx_realurl_exclude

Danke Euch,
Sebastian

------------------------------------------

TYPO3 - TIPPS - ANLEITUNGEN - NEWS
unter: http://www.typo3-probleme.de/

TYPO3 Webdesign Agentur Wiesbaden - Frankfurt
unter: http://www.ingeniumdesign.de/

Facebook Fan
http://www.facebook.com/ingeniumdesign/

------------------------------------------

Am 15.05.2016 um 17:42 schrieb Sebastian Schmal:
> ich glaube, meine Config funktioniert soweit super.
> Aber kann es sein, das RealUrl Probleme hat mit der TYPO3 7.6.6 und
> anhaken: Nicht in sprechende URL aufnehmen
>
> Weil, da ich ja meiner "Detail"-Seite den Haken rein gemacht habe,
> sollte ja eigentlich die Seite nicht gezeigt werden.
>
> Hat jemand damit Probleme?
>
> VG,
> Sebastian
>
> ------------------------------------------
>
> TYPO3 - TIPPS - ANLEITUNGEN - NEWS
> unter: http://www.typo3-probleme.de/
>
> TYPO3 Webdesign Agentur Wiesbaden - Frankfurt
> unter: http://www.ingeniumdesign.de/
>
> Facebook Fan
> http://www.facebook.com/ingeniumdesign/
>
> ------------------------------------------
>
> Am 14.05.2016 um 09:01 schrieb Sebastian Schmal:
>>
>> hier liste,
>> die realurl Config mit tx_news funktioniert soweit ganz gut, aber nun
>> möchte ich noch die News-Detail-Seite aus der RealUrl entfernen.
>>
>> www.domain.org/news-list/news-detail/test-news-name-here/
>>
>> ich brauche das "news-detail" nicht
>>
>> hier der php code realurl.php
>>
>> <?php
>>
>>
>> $TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';
>> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
>> 'pagePath' => array(
>>     'type' => 'user',
>>     'userFunc' =>
>> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
>>     'spaceCharacter' => '-',
>>     'languageGetVar' => 'L',
>>     'expireDays' => '3',
>>     'rootpage_id' => 1,
>>     'firstHitPathCache'=>1
>> ),
>> 'init' => array(
>>     'enableCHashCache' => TRUE,
>>     'enableCHashCache' => 1,
>>     'respectSimulateStaticURLs' => 0,
>>     'enableUrlDecodeCache' => 1,
>>     'enableUrlEncodeCache' => 1
>> ),
>> 'preVars' => array(
>>     array(
>>         'GETvar' => 'L',
>>         'valueMap' => array(
>>             //'de' => '0',
>>             //'en' => '1',
>>         ),
>>         'noMatch' => 'bypass',
>>     ),
>>     array(
>>         'GETvar' => 'no_cache',
>>         'valueMap' => array(
>>             'nc' => 1,
>>         ),
>>         'noMatch' => 'bypass',
>>     ),
>> ),
>>
>> 'fileName' => array(
>>   'index' => array(
>>     'sitemap.xml' => array(
>>       'keyValues' => array(
>>         'type' => 1234,
>>       ),
>>     ),
>>   ),
>> ),
>>
>> 'fixedPostVars' => array(
>>     'newsDetailConfiguration' => array(
>>         array(
>>             'GETvar' => 'tx_news_pi1[action]',
>>             'valueMap' => array(
>>                 'detail' => '',
>>             ),
>>             'noMatch' => 'bypass',
>>         ),
>>         array(
>>             'GETvar' => 'tx_news_pi1[controller]',
>>             'valueMap' => array(
>>                 'News' => '',
>>             ),
>>             'noMatch' => 'bypass',
>>         ),
>>
>>         array(
>>             'GETvar' => 'tx_news_pi1[news]',
>>             'lookUpTable' => array(
>>                 'table' => 'tx_news_domain_model_news',
>>                 'id_field' => 'uid',
>>                 'alias_field' => 'title',
>>                 'addWhereClause' => ' AND NOT deleted',
>>                 'useUniqueCache' => 1,
>>                 'useUniqueCache_conf' => array(
>>                     'strtolower' => 1,
>>                     'spaceCharacter' => '-',
>>                 ),
>>                 'languageGetVar' => 'L',
>>                 'languageExceptionUids' => '',
>>                 'languageField' => 'sys_language_uid',
>>                 'transOrigPointerField' => 'l10n_parent',
>>                 'autoUpdate' => 1,
>>                 'expireDays' => 180,
>>             ),
>>         ),
>>     ),
>>
>>     '6' => 'newsDetailConfiguration',
>>     // For additional detail pages, add their uid as well
>>     //'13' => 'newsDetailConfiguration',
>>     //'22' => 'newsDetailConfiguration',
>>     //'4' => 'newsTagConfiguration',
>>     //'4' => 'newsCategoryConfiguration',
>>
>> ),
>> 'postVarSets' => array(
>>     '_DEFAULT' => array(
>>         'controller' => array(
>>             array(
>>                 'GETvar' => 'tx_news_pi1[action]',
>>                 'noMatch' => 'bypass',
>>             ),
>>             array(
>>                 'GETvar' => 'tx_news_pi1[controller]',
>>                 'noMatch' => 'bypass',
>>             ),
>>         ),
>>         'stadt' => array(
>>             array(
>>                 'GETvar' => 'tx_news_pi1[overwriteDemand][categories]',
>>                 'lookUpTable' => array(
>>                     'table' => 'sys_category',
>>                     'id_field' => 'uid',
>>                     'alias_field' => 'title',
>>                     'addWhereClause' => ' AND NOT deleted',
>>                     'useUniqueCache' => 1,
>>                     'useUniqueCache_conf' => array(
>>                         'strtolower' => 1,
>>                         'spaceCharacter' => '-',
>>                     ),
>>                 ),
>>             ),
>>         ),
>>
>>         'tags' => array(
>>             array(
>>                 'GETvar' => 'tx_news_pi1[overwriteDemand][tags]',
>>                 'lookUpTable' => array (
>>                   'table' => 'tx_news_domain_model_tag',
>>                   'id_field' => 'uid',
>>                   'alias_field' => 'title',
>>                   'addWhereClause' => 'AND NOT deleted',
>>                   'useUniqueCache' => 1,
>>                   'useUniqueCache_conf' => array (
>>                     'strtolower' => 1,
>>                     'spaceCharacter' => '-',
>>                     ),
>>                 ),
>>             ),
>>         ),
>>
>>         'seite' => array(
>>             array(
>>                 'GETvar' => 'tx_news_pi1[@widget_0][currentPage]',
>>             ),
>>         ),
>>
>>         // news archive parameters
>>         'archiv' => array(
>>             array(
>>                 'GETvar' => 'tx_news_pi1[overwriteDemand][year]',
>>             ),
>>             array(
>>                 'GETvar' => 'tx_news_pi1[overwriteDemand][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',
>>                 ),
>>             ),
>>         ),
>>
>>     ),
>> ),
>> // configure filenames for different pagetypes
>> 'fileName' => array(
>>     'defaultToHTMLsuffixOnPrev' => 0,
>> ),
>> );
>>
>> ?>
>>
>>
>>
>>
>> oder brauche ich diesen typoscript code?
>>
>> plugin.tx_news {
>>     settings {
>>             link {
>>                     skipControllerAndAction = 1
>>             }
>>     }
>> }
>>
>>
>> Habe auch auf der Detailseite RealUrl ausgestellt: tx_realurl_exclude = 1
>>
>> doch leider wir immer noch die Detail-Seite angezeigt.
>> Danke Euch,
>> Sebastian
>>
>>


More information about the TYPO3-german mailing list