[Typo3-dev] Re: Re: Problem found index search engine & the download
m.dindorf at amecspie.com
m.dindorf at amecspie.com
Tue Mar 1 08:29:17 CET 2005
Hello,
a solution for this problem is found great thx Jean :-)
his orginal Mail :
Hello,
I just saw your Thread in the Developer list regarding indexed search and
mit_download.
This week-end, I was working on the same issue and that's my solution to
avoid this :
Class.tx_mitdownload_pi.php
Under the getListView function add this line :
$wrappedSubpartArray["###LINK_ITEM_BIS###"]= array('<A href
="'.$this->params["path"]."/".$row["file"].'" '.$this->conf["link."]
["ATagParams"].' target="'.$this->conf["link."]["target"].'">','</A>');
under the main function
Comment the line $GLOBALS['TSFE']->set_no_cache() ;
In your template add this where you want but in ths download_item part
<!--###LINK_ITEM_BIS###--><!--###LINK_ITEM_BIS###-->
And it works !
In fact this tip just add an invisible link in your html code with the
reallinks to all of your documents listed with the extension. And then the
search engine will work !
Not sure if it's a good idea to do that for protected documents, but i
don't have this case then it's ok.
Hope i twill help you !
I'm not a member of the mailing list, that's why i send you a private mail.
If it's work for you you can post this tip. Maybe it will help others !
----------------------------------------------------------------------------------
Jean-François de Locht
rue Solleveld 53
B - 1200 Bruxelles
GSM : +32(0)475.60.27.20
Fax & Tel : +32(0)2.688.36.59
Email : jf at delocht.be
Michael DINDORF AMEC SPIE
Systemadministrator System
Integration GmbH
Büro : +49 (0)721.9632.213
Fax : +49 (0)721.9632.168 Ruschgraben 135
www.amecspie.de D-76139
Karlsruhe
______________________________________________________________________
Ce message et toutes les pièces jointes (ci-après le "message")
sont confidentiels et établis à l'intention exclusive de ses destinataires.
Toute modification, édition, utilisation ou diffusion non autorisée
est interdite.
Tout message électronique est susceptible d'altération.
La SOCIETE et ses filiales déclinent toute responsabilité
au titre de ce message s'il a été altéré, déformé, falsifié,
édité ou diffusé sans autorisation.
This message and any attachments (the "message")
are confidential and intended solely for the addressees.
Any unauthorised alteration , printing , use or dissemination
is prohibited.
E-mails are susceptible to alteration.
Neither SOCIETE nor any of its subsidiaries or affiliates
shall be liable for the message if altered, changed, falsified,
printed or disseminated without authorisation.
______________________________________________________________________
More information about the TYPO3-dev
mailing list