Welcome,
Guest
|
|
Dear jiFile Team,
Is it possible to show more lines of the search results? By now I get only 2 lines (~200 characters) of each file, but I would like to show 5-7 lines (e.g. 500-700 characters) of each document. Is there a setting somewhere? Or can I adjust it in a *.php file? Thank you very much for this great tool. Best regards Marco |
The administrator has disabled public write access.
|
|
Hi Marco,
for now you need change the character limit in the Script. 1. open the file: administrator/components/com_jifile/libraries/ifile/IFile_Indexing_Abstract.php 2. go to the method: public function addDocument(Zend_Search_Lucene_Document $doc = null) .... 3. Change the introtext limit value from 200 at 500 or other: // definisce una porzione del testo del corpo utilizzabile come testo
// di introduzione al documento e aggiunge il field "introtext" al documento
IFileHelper::setFieldType($doc, 'introtext', IFileHelper::introText(mb_substr($doc->getFieldValue('body'), 0, 200))); Remember that you must reindex all documents for recreate a introtext field with this dimension. You can also not change this value to display the "body" of document, for more information you can contact the isApp.it Support from here: www.isapp.it/support-ticket.html |
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie Help us by voting our extensions on Joomla.org: JiFile JoomPhoto Mobile Easy Language
The administrator has disabled public write access.
|
|
Many thanks for your answer!
I changed the value from 200 to 500, but it still only shows 200 characters. I want to show the results as Keyword In Context (KWIC) and have defined the "Body" field in the Configuration Section as type "Text". Many thanks for your help. Best regards Marco |
The administrator has disabled public write access.
|
|
Hi Marco,
you can open a ticket and if you want you can write in Italian Language (if you are italian) to verify and solved your problem. www.isapp.it/en/support-ticket.html Thanks |
If you like, if it was useful, consider a donation, Thanks
Se vuoi, se ti siamo stati utili, considera una donazione, Grazie Help us by voting our extensions on Joomla.org: JiFile JoomPhoto Mobile Easy Language
The administrator has disabled public write access.
|
If you not change browser settings, you agree to it. Learn more