[TYPO3-english] How to make RealURL look nice wec_staffdirectory?

Tim Wendisch t.wendisch at rothfeld.de
Tue Mar 30 11:54:35 CEST 2010


Hi..
I don't know the extension tx_wecstaffdirectory but if it works together with tt_address you could try something like this:
You could try somethink like this:

$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
          'init' => array(
                    'enableCHashCache' => 1,
          ),
          'postVarSets' => array(
                     '_DEFAULT' => array(
                               'my_name' => array(
                                  array(
                                  'GETvar' => 'tx_wecstaffdirectory_pi1[curstaff]',
                                   'lookUpTable' => array(
	                          'table' => 'tt_address',
	                          'id_field' => 'uid',
	                          'alias_field' => 'company',
	                          'addWhereClause' => ' AND NOT deleted',																																
	                          'useUniqueCache' => 1,
	                          'useUniqueCache_conf' => array(
	                              'strtolower' => 1,
		              'spaceCharacter' => '-',
	                         ),
	                  ),
	          ),
                  ),
          ),
),



Greetings Tim
>
>hi! 
> i want to have an  REALURL like 
>http://domain/about/directory/my_name
>right now I get 
>http://domain/about/directory/?tx_wecstaffdirectory_pi1[curstaff]=1082&cHash=7e65bc7df80d8d276070b8517ad40bb4
> 
>
> This does not look nice. Please tell me how to do!
>
>Thank
> you.  
>
>Fon
>
> 		 	   		   		 	   		  
>_________________________________________________________________
>Hotmail: Free, trusted and rich email service.
>https://signup.live.com/signup.aspx?id=60969
>
>



More information about the TYPO3-english mailing list