[TYPO3-english] Creating Realurls For Custom Table Records

mohammad.farooq at steria.co.in mohammad.farooq at steria.co.in
Thu Feb 23 14:14:24 CET 2012


Hi List,


I have a custom TYPO3 extension which creates 5 tables.

To create real urls for records from those tables, I created an entry in 
realurl_conf.php as this:

'portfolio' => array( 
                array( // postVar start 
                        'GETvar' => 'puid',
                        'lookUpTable' => array(
                                'table' => 'my_portfolio_table',
                                        'id_field' => 'uid',
                                'alias_field' => 'title',
                                'addWhereClause' => ' AND NOT deleted',
                                'useUniqueCache' => 1,
                                'useUniqueCache_conf' => array(
                                               'strtolower' => 1,
                                        'spaceCharacter' => '-',
                                     ),
                           ),
                   ),
          ),

It works fine for some records and I can create a clean url : /
mydetailpage/portfolio/my-portfolio-title/
Issue is:
1. Not all records are getting entered into tx_realurl_uniqalias
2. Some records of other tables are not entered at all into 
tx_realurl_uniqalias i.e 0 entries
3. Only a few records are getting entered for some tables into 
tx_realurl_uniqalias.

Please suggest me the way to populate the table tx_realurl_uniqalias with 
all records tables portfolio  etc like tt_news does seemlessly.


Thanks,
Mohammad Farooq


This email originates from Steria*. It, and any attachments, may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You may not copy, forward, disclose, save or otherwise use it in any way if you are not the addressee(s) or responsible for delivery.
If you receive this email by mistake, please advise the sender and cancel it immediately.
Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures.
Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited.
_____________________________________________________
* Steria Limited, number 4077975;
Steria Recruitment Limited, number 1437998.
Registered in England and Wales; registered office Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH


More information about the TYPO3-english mailing list