[TYPO3-UG Dutch] REAL URL prevars
Roland Schoenmakers, Trigg'r
roland at triggr.nl
Thu Feb 5 09:16:14 CET 2009
Nee, help niet...! :-(
Groet,
Roland Schoenmakers
Op 5-feb-2009, om 9:09 heeft WP Perquin het volgende geschreven:
> Dan stap 2:
> Als ik op je website kijk http://www.yoursignonline.com dan zie ik
> dat hij
> voor de NL überhaupt NL niet pakt. Dus ook de vertaling niet.
> Lees net je bericht. Dat deed ik ook net en dan doet hij het wel.
>
> Zet bij je typoscript het volgende:
> ############################### Localization [Start]
>> config {
>> linkVars = L
>> sys_language_mode = content_fallback
>> sys_language_overlay = hideNonTranslated
>> }
> Moet worden:
> ############################### Localization [Start]
> config {
> uniqueLinkVars = L
> sys_language_mode = content_fallback
> sys_language_overlay = hideNonTranslated
> }
>
> Helpt dat al een beetje?
>
> -----Oorspronkelijk bericht-----
> Van: typo3-ug-dutch-bounces at lists.netfielders.de
> [mailto:typo3-ug-dutch-bounces at lists.netfielders.de] Namens Roland
> Schoenmakers, Trigg'r
> Verzonden: donderdag 5 februari 2009 8:59
> Aan: TYPO3 Usergroup Dutch
> Onderwerp: Re: [TYPO3-UG Dutch] REAL URL prevars
>
> Ja, ik had hoop, de hoop dat dit de oplossing zou zijn, want hier had
> ik verzuimd te kijken...
> Helaas, de talen staan op de goede ID...
>
>
> Groet,
> Roland Schoenmakers
>
>
>
> Op 5-feb-2009, om 8:51 heeft WP Perquin het volgende geschreven:
>
>> Kijk eerst of de id's van je taal wel daadwerkelijk 1 en 2 zijn.
>> Je weet het vast al, meer voor de zekerheid zet ik het erbij (voor de
>> googlende realurl fan's)
>> Klik op List -> klik dan op het wereldbolletje en kijk wat de id's
>> zijn van
>> de website language . Dit zie je door met je muis pointer op het
>> handje die
>> een bolletje vasthoudt te gaan staan.
>> Heeft NL id = 2?
>> Als ik het zo lees geloof ik het namelijk van niet.
>>
>> W-P
>>
>> -----Oorspronkelijk bericht-----
>> Van: typo3-ug-dutch-bounces at lists.netfielders.de
>> [mailto:typo3-ug-dutch-bounces at lists.netfielders.de] Namens Roland
>> Schoenmakers, Trigg'r
>> Verzonden: donderdag 5 februari 2009 0:31
>> Aan: TYPO3 Usergroup Dutch
>> Onderwerp: [TYPO3-UG Dutch] REAL URL prevars
>>
>> Hoi Lijst,
>>
>> Ik zit weer eens met realURL te stoeien...!
>> Ik heb een website met 3 talen (Engels: default, German=1 en
>> Nederlands=2)
>>
>> Nu heb ik alles volgens het boekje ingesteld, en hij genereerd ook
>> hele mooie URL's, maar...
>> Het werkt bij Engels; standaard zonder prevar
>> Het werkt bij German, met prevar 'de'
>> Bij Nederlands werkt het niet!!!!
>> Hij geeft de nederlandse URL's geen prevar 'nl' mee...????
>>
>> Ik sta echt met mijn rug tegen de muur...!
>>
>> Hierbij de real URL setup:
>>
>> ============
>> $TYPO3_CONF_VARS['EXTCONF']['realurl']['www.yoursignonline.com'] =
>> array(
>> 'init' => array(
>> 'enableCHashCache' => 0,
>> 'appendMissingSlash' => 'ifNotFile',
>> 'enableUrlDecodeCache' => 1,
>> 'enableUrlEncodeCache' => 1,
>> 'respectSimulateStaticURLs' => 0,
>> 'postVarSet_failureMode'=>'redirect_goodUpperDir',
>> 'segTitleFieldList' =>
>> 'title,alias,tx_realurl_pathsegment,nav_title'
>> ),
>> 'redirects_regex' => array (
>>
>> ),
>> 'preVars' => array(
>> array(
>> 'GETvar' => 'no_cache',
>> 'valueMap' => array(
>> 'no_cache' => 1,
>> ),
>> 'noMatch' => 'bypass',
>> ),
>> array(
>> 'GETvar' => 'L',
>> 'valueMap' => array(
>> 'de' => '1',
>> ),
>> 'noMatch' => 'bypass',
>> ),
>> array(
>> 'GETvar' => 'L',
>> 'valueMap' => array(
>> 'nl' => '2',
>> ),
>> 'noMatch' => 'bypass',
>> ),
>> array(
>> 'GETvar' => 'L',
>> 'valueMap' => array(
>> 'fr' => '3',
>> ),
>> 'noMatch' => 'bypass',
>> ),
>> array(
>> 'GETvar' => 'L',
>> 'valueMap' => array(
>> 'es' => '4',
>> ),
>> 'noMatch' => 'bypass',
>> ),
>>
>> ),
>> 'pagePath' => array(
>> 'type' => 'user',
>> 'userFunc' => 'EXT:realurl/
>> class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
>> 'spaceCharacter' => '-',
>> 'languageGetVar' => 'L',
>> 'expireDays' => 7,
>> 'rootpage_id' => 74,
>> ),
>>
>>
>> '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,
>> ),
>> ),
>> ),
>> ),
>> );
>>
>> ===============
>>
>> en TS:
>>
>> ========
>> ############################### Localization [Start]
>> config {
>> linkVars = L
>> sys_language_mode = content_fallback
>> sys_language_overlay = hideNonTranslated
>> }
>> [globalVar = GP:L=0]
>> config {
>> sys_language_uid = 0
>> language = en
>> locale_all = en_UK
>> metaCharset = iso-8859-1
>> }
>> [GLOBAL]
>> [globalVar = GP:L=1]
>> config {
>> sys_language_uid = 1
>> language = de
>> locale_all = de_DE
>> }
>> [globalVar = GP:L=2]
>> config {
>> sys_language_uid = 2
>> language = nl
>> locale_all = nl_NL
>> }
>> [globalVar = GP:L=3]
>> config {
>> sys_language_uid = 3
>> language = fr
>> locale_all = fr_FR
>> }
>> [global]
>> [globalVar = GP:L=4]
>> config {
>> sys_language_uid = 4
>> language = es
>> locale_all = es_ES
>> }
>> [global]
>> ########################### Localization [End]
>>
>> #Adminpanel in fronted
>> config.admPanel = 1
>>
>> config.doctype = xhtml_trans
>>
>> # Set up REAL URL
>> config.simulateStaticDocuments = 0
>> config.baseURL = http://www.yoursignonline.com/
>> config.tx_realurl_enable = 1
>> config.prefixLocalAnchors = all
>>
>> ==========
>>
>>
>>
>>
>> Groet,
>> Roland Schoenmakers
>> _______________________________________________
>> TYPO3-UG-dutch mailing list
>> TYPO3-UG-dutch at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-dutch
>>
>>
>> _______________________________________________
>> TYPO3-UG-dutch mailing list
>> TYPO3-UG-dutch at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-dutch
>
> _______________________________________________
> TYPO3-UG-dutch mailing list
> TYPO3-UG-dutch at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-dutch
>
>
> _______________________________________________
> TYPO3-UG-dutch mailing list
> TYPO3-UG-dutch at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-dutch
More information about the TYPO3-UG-dutch
mailing list