[Typo3-dev] How do I get indexed search to work on a USER_INT extension

Elmar Hinz elmar.hinz at vcd-berlin.de
Mon Oct 3 19:39:25 CEST 2005


Michiel Roos wrote:
> I would like the title and descriptions of my photoblog extension to be
> indexed. 
> 
> But I can't find anything on the subject. Maybe I'm looking in the wrong
> places?
> 
> Any pointers?
> 
> Cheers,
> 
> 
> Michiel Roos

It's the good old place. Best information I found here:

http://typo3.org/documentation/document-library/doc_core_tsref/PHP_SCRIPT_INT/

The said counts for USER_INT in the same manner. That means, if title 
and description are output of the plugin, they can't be cached if you 
don't user USER instead of USER_INT.

If same parameters produce same output in any case you should use USER.
You should read 
http://typo3.org/development/articles/the-mysteries-of-chash/ then, too. 
That article is quite good, but it has forgotten to explain how you make 
a link use cHash. See TSref for typolink, so!

If your output is really dynamic, that means if the same parameters may 
produce different output under circumstances, then you have to use 
USER_INT and you can't cache anything of the output.

Regards

Elmar
















-- 
Climate change 2005: New Orleans, Sahel, Bangladesh, Spain, Portugal, 
Austria, Swiss, France, ...
Production of CO2 is killing people.
Production of CO2 just for fun is killing people just for fun.




More information about the TYPO3-dev mailing list