View Jeroen Dalsem's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Hi, Jeroen.
There is a little layot problem in Elgg 2.2.
The searchbox is too large.
regards
Hi,
same on my site the searchbox is a little bit to large and is it possible to deactivate the searchbox in the right sidebar?!
thx
No, there is no problem.
The plugin "Aalborg Theme" have to be at the end of plugins list.
That's alright again.
How do I limit the search objects in the select list? I just wanted everyone, users, blog and groups.
Plugins register their own objects as searchable. You can solve this programmatically by deregistering those type/subtypes as being searchable.
Thank you Jeroem. I already understood and could not find the file for this change. What is the name of the file?
Thank you Jeroem. I already understood and could not find the file for this change. What is the name of the file?
How do I cancel my objects as searchable?
Thank you Jeroem. But where should I put this code? What is the PHP file?
You need to write your own plugin to be able to make customizations. Check out http://learn.elgg.org/en/stable/tutorials/hello_world.html to learn how to build your own plugin.
I'm already this tutorial. But I do not find where this elgg_unregister_entity_type ('object', 'group') fits; I put in the start.php of the plugin group? Or not start.php plugin advanced_search?
I found this in the star.php of the plugin group.
I'm already this tutorial. But I do not find where this elgg_unregister_entity_type ('object', 'group') fits; I put in the start.php of the plugin group? Or not start.php plugin advanced_search?
I got it. place
elgg_unregister_entity_type ('object', 'group')
at the end
/mod/search_advanced/views/default/search_advanced/search/type_selection.php
well that is not a good place to do it. You should do it in the init of your own plugin or if you need to do this in this view file, you need to include the view file in your own plugin. That way (if you update search_advanced) you are not losing your customizations.
Thank you Jereom. I'll make it try.
I was interested in taking some of the objects I thought were unnecessary from the drop down list of the search option. So Jeroem helped with elgg_unregister_entity_type ('object', 'your_subtype') code. To get items from the list there are two modes: the first by placing unregister in /mod/search_advanced/views/default/search_advanced/search/type_selection.php (end of file). In your_subtype replace with the subtype name of prugin you want to remove from the list. The other method is to go in the start.php of the subtype of the plugin that you want to delete from the list and change I was interested in pulling from the drop down list of the search option some objects that I thought were unnecessary. So Jeroem helped with elgg_unregister_entity_type ('object', 'your_subtype') code. To get items from the list there are two modes: the first by placing unregister in /mod/search_advanced/views/default/search_advanced/search/type_selection.php (end of file). In your_subtype replace with the subtype name of prugin you want to remove from the list. The other method is to go in the start.php of the subtype of the plugin that you want to delete from the list and change I was interested in pulling from the drop down list of the search option some objects that I thought were unnecessary. So Jeroem helped with elgg_unregister_entity_type ('object', 'your_subtype') code. To get items from the list there are two modes: the first by placing unregister in /mod/search_advanced/views/default/search_advanced/search/type_selection.php (end of file). In your_subtype replace with the subtype name of prugin you want to remove from the list. The other method is to go in the start.php of the subtype of the plugin you want to delete from the list and change
Elgg_register_entity_type ('object', 'your_subtype') for elgg_unregister_entity_type ('object', 'your_subtype'). This take away from the search option however the subtype does not appear in any search attempt, not even when selected all from the drop-down list. So it's best to opt for the first method in the file type_selection.php
What was done above does not change the drop-down list option list in the user profile widget. But I believe the concept is the same.
1) When I do a search on my website, I have to put "quotes" to get accurate results. If I dont put quotes and search for the name of an exact group or even user, the search results are different. The actual result is not appearing even after searching the group name as it is. But if I search a single word (part of group name), the result shows accurate results. Am I missing some configuration or something?
2) I like how LinkedIn and Facebook display the search results. Can this plugin be modified to make it look like this (tabs for each section)?