[TYPO3-UG Dutch] RealURL config

Roland Franke Roland.Franke at vara.nl
Thu Mar 22 14:16:40 CET 2007


Hmm,

Ik ben helaas niet zo goed met php, maar kan het zijn dat er iets is met
een "fixedPostVars" die kwam ik ergens anders tegen alleen stond daar
geen kompleet voorbeeld van hoe de config moest zijn..

Maar toch alvast bedankt

-----Oorspronkelijk bericht-----
Van: typo3-ug-dutch-bounces at lists.netfielders.de
[mailto:typo3-ug-dutch-bounces at lists.netfielders.de] Namens Frans Saris
Verzonden: donderdag 22 maart 2007 14:02
Aan: TYPO3 Usergroup Dutch
Onderwerp: Re: [TYPO3-UG Dutch] RealURL config

de eeste nieuws-item is waarschijn de naam van de pagina waar de items
worden getoond niet?

en de tweede komt uit real_url.

Weglaten kan dus niet direct, wel evt. wijzigen naar een andere naam.

Frans

Op 22-03-07 heeft Roland Franke <Roland.Franke at vara.nl> het volgende
geschreven:
>
> LS,
>
>
>
> Mijn vraag is als volgende, hoe kan ik een stuk uit mijn url halen:
dus
> bv.
>
>
>
>
http://demidex.com/nieuws-item/nieuws-item/4-maart-typo3-user-group-dag-
> 2006.html
>
>
>
> moet eigenlijk dit worden
>
>
>
> http://demidex.com/nieuws-item/4-maart-typo3-user-group-dag-2006.html
>
>
>
> Hoe kan ik dat oplossen??? Hier onder mijn config.
>
> Alvast bedankt.
>
>
>
> "realurl-config"
>
>
>
> $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] = array (
>
>     '_DEFAULT' => array (
>
>         'init' => array (
>
>             'enableCHashCache' => '1',
>
>             'appendMissingSlash' => 'ifNotFile',
>
>             'enableUrlDecodeCache' => '1',
>
>             'enableUrlEncodeCache' => '1',
>
>         ),
>
>         'redirects' => array (
>
>         ),
>
>         'preVars' => array (
>
>             '0' => array (
>
>                 'GETvar' => 'no_cache',
>
>                 'valueMap' => array (
>
>                     'nc' => '1',
>
>                 ),
>
>                 'noMatch' => 'bypass'
>
>             ),
>
>             '1' => array (
>
>                 'GETvar' => 'L',
>
>                 'valueMap' => array (
>
>                     'nl' => '0',
>
>                     'en' => '1',
>
>                 ),
>
>                 'noMatch' => 'bypass',
>
>             ),
>
>             '2' => array (
>
>                 'GETvar' => 'lang',
>
>                 'valueMap' => array (
>
>                     'nl' => 'nl',
>
>                     'en' => 'en',
>
>                 ),
>
>                 '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' => '1',
>
>         ),
>
>         'fixedPostVars' => array (
>
>         ),
>
>         'postVarSets' => array (
>
>             '_DEFAULT' => array (
>
>                                                'archive' => array (
>
>                                                            '0' =>
array
> (
>
>
> 'GETvar' => 'tx_ttnews[year]',
>
>                                                            ),
>
>                                                            '1' =>
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',
>
>
> ),
>
>                                                            ),
>
>                                                ),
>
>                                                'browse' => array (
>
>                                                            '0' =>
array
> (
>
>
> 'GETvar' => 'tx_ttnews[pointer]',
>
>                                                            ),
>
>                                                ),
>
>                                                'select_category' =>
> array (
>
>                                                            '0' =>
array
> (
>
>
> 'GETvar' => 'tx_ttnews[cat]',
>
>                                                            ),
>
>                                                ),
>
>                                                // Hier zit het stuk
wat
> ik dus niet in de url wil tonen
>
>                                                'nieuws-item' => array
(
>
>                                                            '0' =>
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' => '-',
>
>
> ),
>
>
> ),
>
>                                                            ),
>
>                                                            '1' =>
array
> (
>
>
> 'GETvar' => 'tx_ttnews[swords]',
>
>                                                            ),
>
>                                                ),
>
>             ),
>
>         ),
>
>         'fileName' => array (
>
>             'defaultToHTMLsuffixOnPrev' => true,
>
>             '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',
>
>                     ),
>
>                 ),
>
>             ),
>
>         ),
>
>     ),
>
> );
>
>
>
> Groeten,
>
> Roland Franke
>
> webdeveloper
>
>
>
> www.vara.nl
>
> T: 035 - 67 11 653
>
>
>
> Omroepvereniging VARA [!]
>
> afd. NIEUWE MEDIA
>
> postbus 175
>
> 1200 AD Hilversum
>
> -----------------------------
>
> Disclaimer:
>
> De informatie verzonden met en of in dit e-mail bericht is uitsluitend
> bestemd voor de geadresseerde(n). Gebruik van deze informatie door
> anderen dan geadresseerde(n) is verboden, behoudens indien en
voorzover
> anders is aangegeven. Openbaarmaking, vermenigvuldiging, verspreiding,
> en/of verstrekking van deze informatie aan derden is NIET toegestaan,
> behoudens indien en voorzover anders is aangegeven. Omroepvereniging
> VARA staat niet in voor de juiste en volledige overbrenging van de
> inhoud van een verzonden e-mail, noch voor tijdige ontvangst daarvan.
>
> The information contained in this e-mail is confidential and may be
> legally privileged. It is intended solely for the use of the
individual
> or entity to whom it is addressed and others authorised to receive it.
> If you are not the intended recipient, you are hereby notified that
any
> disclosure, copying, distribution or taking any action in reliance on
> the contents of this information is strictly prohibited and may be
> unlawful, unless and as far as otherwise is indicated in the contents.
> Vara is neither liable for the proper nor complete transmission of the
> information contained in this communication nor for any delay in its
> receipt.
>
>
>
> _______________________________________________
> 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