by pixelsquareDotNet
First uploaded 587 days ago
0
Recommendations
Summary:
Adds a full text search capability to elgg.
Full description:
Full Text Search v 0.4
(Edit your project's description!)
jimjob's Full Text Search (0.3) with the TODO stuff fixed ( pagination & messages ) & refactoring
Directions are the same as in the previous version + some extra added :
1. Upload the module and enable it.
2. Edit /search/index.php
Change the line
page_draw($title,$body);
to
// page_draw($title,$body);
3 . Open mod/customsearch/index.php to edit the pagination settings :
$page_size - it refers to the number of elements displayed on the page (default 10)
$search_min_size - the minimum number of character that a fulltext search must have (default 4)
4 . Open the language file you are using, located in the languages/ folder and add the following variables:
'content:search:no-result' => 'YOUR_MESSAGE_FOR_NO_RESULT_FOUND',
'content:search:results-found' => 'YOUR_MESSAGE_FOR_NUMBER_OF_RESULTS_FOUND ',
'content:search:too-short' => 'YOUR_MESSAGE_FOR_SEARCH_TOO_SHORT',
And this is it . Just remember to DISABLE the previos version of the plugin
Thanks a lot pixelsquare - this is a great addition to the mod!
jimbob 587 days ago
Hi,
thx for the realy nice plugin!
Unfortunately elgg displays a blank site when the searchstring is empty.
I added following code before '$body = elgg_view_layout...' at the index.php to get a message for all-no-results:
if (empty($body))
{
$body = elgg_echo('content:search:no-result');
}
Greetz,
HiTo
HiTo81 587 days ago
This archive appears to be corrupted? If I download and try and expand the .zip, I get the following:
[/tmp/customsearch-3.zip]
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
zipinfo: cannot find zipfile directory in one of /tmp/customsearch-3.zip or
/tmp/customsearch-3.zip.zip, and cannot find /tmp/customsearch-3.zip.ZIP, period.
Is anyone else having problems using this plugin?
Paul Smith 583 days ago
super plugin. but there seems to be some bugs. the marker is set not to the category i was looking for. known issue?
best and thx
charismeki 580 days ago

Peter Kemp
Profile
Following
Followers
Pages
Plugins
Hi,
Does this search through objects even though they are administrator only? Are there any security settings on this?
Thanks
Pete
Peter Kemp 587 days ago