[TYPO3-english] How to extend the indexed_search

Vikas vikas at srijan.in
Tue Jan 6 18:48:47 CET 2009


Dmitry Dulepov wrote:
> Hi!
>
> Vikas wrote:
>   
>> I am not able to xclass/extend * tx_indexedsearch *class of*
>> **class.tx_indexedsearch.php* file in the indexed_search extension.
>>
>> But,  if i add this line:
>>
>>  /global $TYPO3_CONF_VARS;/
>>
>> in the file *class.tx_indexedsearch.php*, then i can successfully extend
>> the class.
>>
>> Can anybody tell me that, is this a bug in indexed_search or i am
>> missing something?
>>     
>
> It should work out of the box. Could you provide a little more information, please? What TYPO3 version do you use? How do you include original indexed search file into your file (inside a function or on global level)?
>
>   


> Hi Dmitry,
Thanks for the quick reply. I am using TYPO3 version 4.2.3 .
I have made a custom extension, in that i am adding this line in my 
ext_localconf.php file:
*$TYPO3_CONF_VARS[TYPO3_MODE]["XCLASS"]["ext/indexed_search/pi/class.tx_indexedsearch.php"] 
= t3lib_extMgm::extPath('addonscripts')."class.ux_tx_indexedsearch.php";

*I think this will help you.

Vikas
*
*



More information about the TYPO3-english mailing list