[TYPO3-realty] Realty and Realurl Konfiguration

Georg Rienzner georg at gekus.com
Sat Mar 20 10:57:10 CET 2010


Thorben Dyk schrieb:
> Sorry, I guess no attachments allowed...
> 
> ### realurlconf.php START ###
> 
> <?php
> $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
>  
>  'init' => array(
>   'enableCHashCache' => 'true',
>   'appendMissingSlash' => 'ifNotFile',
>   'enableUrlDecodeCache' => 1,
>   'enableUrlEncodeCache' => 1,
>  ),
>  'pagePath' => array(
>   'type' => 'user',
>   'userFunc' =>
> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
>   'spaceCharacter' => '-',
>   'languageGetVar' => 'L',
>   'expireDays' => 3,
>   'rootpage_id' => 1, 	
>  ),
>  'fileName' => array (
>   'defaultToHTMLsuffixOnPrev' => true,
>   'index' => array(
>    'backend.php' => array(
>     'keyValues' => array (
>      'type' => 1,
>     ),
>    ),
>     'druckversion.html' => array(
>         'keyValues' => array(
>         'type' => 98,
>         ),
>       ),
>     'pdf-download' => array(
>         'keyValues' => array(
>         'type' => 123,
>         ),
>       ),	  
>   ),
>  ),
>  'preVars' => array(
>   array(
>    'GETvar' => 'no_cache',
>    'valueMap' => array(
>     'no_cache' => 1,
>    ),
>    'noMatch' => 'bypass',
>   ),
>   array(
>    'GETvar' => 'L',
>    'valueMap' => array(
> 	'de' => '0',
>     'en' => '1',
>    ),
>    'noMatch' => 'bypass',
>   ),
>  ),
>         'fixedPostVars' => array(),
>         'postVarSets' => array(
>             '_DEFAULT' => array(
>                 // REALTY MANAGER 
>                 'hamburg' => array(
>                     array(
>                         'GETvar' => 'tx_realty_pi1[showUid]' ,
>                         'lookUpTable' => array(
>                             'table' => 'tx_realty_objects',
>                             'id_field' => 'uid',
>                             'alias_field' => 'title',
>                             'addWhereClause' => ' AND NOT deleted',
>                             'useUniqueCache' => 1,
>                             'useUniqueCache_conf' => array(
>                                 'strtolower' => 1,
>                                 'spaceCharacter' => '-',
>                                 )
>                             ),
>                         ),	
> 				),
> 				'browse' => array( 
> 					array(	
> 						'GETvar' =>
> 'tx_realty_pi1[pointer]', 
> 						'valueMap' => array(
> 						'Seite-1' => '0',
> 						'Seite-2' => '1',
> 						'Seite-3' => '2',
> 						'Seite-4' => '3',
> 						'Seite-5' => '4',
> 						'Seite-6' => '5',
> 						'Seite-7' => '6',
> 						'Seite-8' => '7',
> 						'Seite-9' => '8',
> 						'Seite-10' => '9',
> 						'Seite-11' => '10',
> 						'Seite-12' => '11',
> 						'Seite-13' => '12',
> 						'Seite-14' => '13',
> 						'Seite-15' => '14',
> 						'Seite-16' => '15',
> 						'Seite-17' => '16',
> 						'Seite-18' => '17',
> 						'Seite-19' => '18',
> 						'Seite-20' => '19',
> 						'Seite-21' => '20',
> 						'Seite-22' => '21',
> 						'Seite-23' => '22',
> 						'Seite-24' => '23',
> 						'Seite-25' => '24',
> 						'Seite-26' => '25',
> 						'Seite-27' => '26',
> 						'Seite-28' => '27',
> 						'Seite-29' => '28',
> 						'Seite-30' => '29',
> 
> 						'Seite-31' => '30',
> 
> 						)
> 					),
> 				),				
>                 ),
>             ), 
> );
> 
> ?>
> 
> ### realurlconf.php END ###
> 
>  
> 
> 
>> -----Ursprüngliche Nachricht-----
>> Von: typo3-project-realty-bounces at lists.typo3.org [mailto:typo3-
>> project-realty-bounces at lists.typo3.org] Im Auftrag von Thorben Dyk
>> Gesendet: Mittwoch, 17. März 2010 13:45
>> An: typo3-project-realty at lists.typo3.org
>> Betreff: Re: [TYPO3-realty] Realty and Realurl Konfiguration
>>
>> Hi,
>>
>> don't konw if this helps - this is the way it works:
>>
>> http://www.domain.de/no_cache/mieten/moebliertes-wohnen-in-
>> hamburg/objektans
>> icht/hamburg/moeblierte-1-zimmer-wohnung.html
>>
>> ==> "/hamburg/" is hardcoded, because all objects located in Hamburg.
>>
>> My realurlconf.php is attached.
>>
>> Kind regards, Thorben
>>
>>
>>
>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: typo3-project-realty-bounces at lists.typo3.org [mailto:typo3-
>>> project-realty-bounces at lists.typo3.org] Im Auftrag von Oliver Klee
>>> Gesendet: Mittwoch, 17. März 2010 13:25
>>> An: typo3-project-realty at lists.typo3.org
>>> Betreff: Re: [TYPO3-realty] Realty and Realurl Konfiguration
>>>
>>> Hi,
>>>
>>> Georg Rienzner schrieb:
>>>> I'm looking for a way to run realty Extension with speaking url.
>>>> The url should look like this:
>>>> http://www.domain.com/nc/de/type/buy-or-rent/location/title-of-
>>> objekt.html
>>>>
>> Ex:http://www.domain.com/nc/de/wohnimmobilien/kaufen/ortschaft/title
>>>> -
>>> of-objekt.html
>>>>
>>>> Is there someone who got to work it?
>>> When you get it to work, could you please post it here? Then I will
>>> include it in the manual (or even create a file for automatically
>>> configuring realURL).
>>>
>>>
>>> Oli
>>> --
>>> Certified TYPO3 Integrator | TYPO3 Security Team Member
>>> _______________________________________________
>>> TYPO3-project-realty mailing list
>>> TYPO3-project-realty at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-realty
> 
Hey Thorben,
Thanks a lot - I will test it!



More information about the TYPO3-project-realty mailing list