[Typo3] RearURL & custom extension, 95% done...

Patxi Goitia pgoitia at euskalnet.net
Mon Sep 12 23:19:19 CEST 2005


Hi, I have done an extension, a basic list of items with one table...

I'm trying to get my Ext ruled by RealURL.

I've used tt_news's default configuration for my site.

If add this to my RealURL configuration:

   //My ext's configuration
                     array(
                         'GETvar' => 'tx_mysuperext_pi1[showUid]',
                         'lookUpTable' => array(
                             'table' => 'tx_mysuperext_list',
                             'id_field' => 'uid',
                             'alias_field' => 'title',
                             'addWhereClause' => ' AND NOT deleted',
                             'useUniqueCache' => 1,
                             'useUniqueCache_conf' => array(
                                 'strtolower' => 1,
                                 'spaceCharacter' => '-',
                                 ),
                             ),
                         ),
                     // ),
                     ///////////////////////////////

It only works if I put it just before:

array(
	'GETVar' => 'tx_ttnews[swords]',
)

And the URL generated is something aka

pageurl//myexttitle/

I don't know why there are 2 slashes rather than one before title... 
(perhaps due to cHash variable, but I don't know what to do with it...)

Any tip ?

TIA



More information about the TYPO3-english mailing list