[TYPO3-german] Problem mit Indexed Search und Realurl (TYPO3 7.6)
Johannes C. Laxander
jc at laxander.com
Fri May 20 11:58:00 CEST 2016
Hier ist meine realurl_cong.php
Gruß, Johannes
<?php
$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';
$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
'_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' => 1,
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
'appendMissingSlash' => 'ifNotFile'
),
'preVars' => array(
'0' => array (
'GETvar' => 'no_cache',
'valueMap' => array (
'nc' => '1',
),
'noMatch' => 'bypass'
),
),
'fileName' => array (
//
// if you don't want .html-URLs set the following to "false" (e.g.
'defaultToHTMLsuffixOnPrev' => false,)
// then you get http://www.yourdomain.com/imprint/ instead of
http://www.yourdomain.com/imprint.html
//
'defaultToHTMLsuffixOnPrev' => 0,
),
'fixedPostVars' => array(
'newsDetailConfiguration' => array(
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' => '-'
),
),
),
),
'newsCategoryConfiguration' => array(
array(
'GETvar' => 'tx_news_pi1[overwriteDemand][categories]',
'lookUpTable' => array(
'table' => 'tx_news_domain_model_category',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-'
),
),
),
),
'newsTagConfiguration' => 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' => '-'
),
),
),
),
# Set page IDs
'11' => 'newsDetailConfiguration', // Konzertinformation
'37' => 'newsDetailConfiguration', // Konzertinformation (Archiv)
'69' => 'newsDetailConfiguration', // Konzertbericht
#'71' => 'newsTagConfiguration',
#'72' => 'newsCategoryConfiguration',
),
'postVarSets' => array(
'_DEFAULT' => array(
'controller' => array(
array(
'GETvar' => 'tx_news_pi1[action]',
'noMatch' => 'bypass'
),
array(
'GETvar' => 'tx_news_pi1[controller]',
'noMatch' => 'bypass'
),
),
'dateFilter' => array(
array(
'GETvar' => 'tx_news_pi1[overwriteDemand][year]',
),
array(
'GETvar' => 'tx_news_pi1[overwriteDemand][month]',
),
),
),
),
)
);
?>
> -----Ursprüngliche Nachricht-----
> Von: typo3-german-bounces at lists.typo3.org [mailto:typo3-german-
> bounces at lists.typo3.org] Im Auftrag von Sebastian Schmal
> Gesendet: Freitag, 20. Mai 2016 00:10
> An: typo3-german at lists.typo3.org
> Betreff: Re: [TYPO3-german] Problem mit Indexed Search und Realurl (TYPO3
> 7.6)
>
> hi, kannst du deine indexed-search-realurl config einmal posten?
>
> danke dir
> ------------------------------------------
>
> 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 19.05.2016 um 10:44 schrieb Johannes C. Laxander:
> > Problem gelöst.
> > Der Fehler hatte nur indirekt was mit realurl zu tun, hat aber meinen
> > Blick in die falsche Richtung gelenkt. Die Action-URL, die ich über
> > Typoscript falsch angegeben habe war das Problem. Sorry, war mein
> Fehler.
> >
> > Gruß, Johannes.
> >
> >> -----Ursprüngliche Nachricht-----
> >> Von: typo3-german-bounces at lists.typo3.org [mailto:typo3-german-
> >> bounces at lists.typo3.org] Im Auftrag von Johannes C. Laxander
> >> Gesendet: Dienstag, 17. Mai 2016 11:46
> >> An: 'German TYPO3 Userlist' <typo3-german at lists.typo3.org>
> >> Betreff: Re: [TYPO3-german] Problem mit Indexed Search und Realurl
> >> (TYPO3
> >> 7.6)
> >>
> >> Ich bringe mein Posting nach den Feiertagen nochmal in Erinnerung.
> >>
> >> Wie muss ich realurl konfigurieren, damit ich diesen Fehler nicht
> >> mehr bekomme?
> >>
> >> Gruß, Johannes.
> >>
> >>> bounces at lists.typo3.org] Im Auftrag von Johannes C. Laxander
> >>> Gesendet: Samstag, 14. Mai 2016 13:27
> >>>
> >>> Hallo,
> >>>
> >>> wo finde ich eine Beispiel-Konfiguration von Indexed Search in
Realurl?
> >>>
> >>> Beim Ausführen der Suche erhalte ich diesen Fehler:
> >>> Reason: Segment
> >>>
> >>
> "&tx_indexedsearch_pi2[action]=search&tx_indexedsearch_pi2[controller
> >> ]
> >>> =
> >>> Searc
> >>> h" was not a keyword for a postVarSet as expected on page with id=36.
> >>>
> >>> Gruß, Johannes.
> >>
> >> _______________________________________________
> >> TYPO3-german mailing list
> >> TYPO3-german at lists.typo3.org
> >> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
> >
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
More information about the TYPO3-german
mailing list