By Lumbroso on Wednesday, 09 March 2016
Replies 5
Likes 0
Views 679
Votes 0
Hello
I have some questions about the Easysocial search module:
1 / I want to change the length of the characters displayed during the search (see screenshot)
2 / How to manage module research sources (Articles K2, Easysocial ...)
3 / When searching, a thumbnail is displayed next to the result. Why, in some search results, there is an icon "magnifying glass" is displayed and not the photo or picture of the product concerned?
4 / How to translate "K2 Item"? this term is not available in the language files.

Finally, is there a place in EasySocial settings to manage all aspects of the configuration of the research?
Hey there,

I am sorry for the delay of this reply,

1 / I want to change the length of the characters displayed during the search (see screenshot)

You have to modify on this file -> JoomlaFolder\components\com_easysocial\themes\wireframe\search\default.item.mini.php

// LINE 14
$maxchar = 20;


2 / How to manage module research sources (Articles K2, Easysocial ...)

Unfortunately that was not possible to manage which sources only available search in which search module in current system.

3 / When searching, a thumbnail is displayed next to the result. Why, in some search results, there is an icon "magnifying glass" is displayed and not the photo or picture of the product concerned?

May i know which thumbnail name you trying to search?

4 / How to translate "K2 Item"? this term is not available in the language files.

Which part of K2 item are you referring? Perhaps you can provide us some screenshot regarding this?

Finally, is there a place in EasySocial settings to manage all aspects of the configuration of the research?

Currently only turn on and off settings available. May i know what research setting you would like to set from backend?
·
Thursday, 10 March 2016 11:44
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello and thank you for these answers.
I changed the length of the characters, thank you. it's perfect.
For question number 3: I wanted to say:
During a search, there is a small thumbnail that appears next to the search result. For EasyBlog and Easysocial elements, no problem: an image is displayed as a thumbnail. But not for items k2. Is it possible to also display a thumbnail photo?
For question 4: Here is a screenshot
·
Thursday, 10 March 2016 14:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

For question number 3
- The image is retrieved from the content. If the content has an image, it will appear in the search result.

For question 4:
- The title is retrieved from this table #_finder_taxonomy. However, it is not advisable to modify the title there. What you can do is open this file: ../administrator/components/com_easysocial/includes/search/search.php after line 113, you can add one more for K2. The code will be like this:


break;
case 'EasyBlog':
$row->displayTitle = JText::_( 'COM_EASYSOCIAL_SEARCH_TYPE_BLOG' );
break;
case 'EasyDiscuss':
$row->displayTitle = JText::_( 'COM_EASYSOCIAL_SEARCH_TYPE_DISCUSS' );
break;
case 'K2':
$row->displayTitle = 'Your title here';
break;


Hope this helps.
·
Thursday, 10 March 2016 17:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello and thank you for those answers.
For question 4: it's Ok
For question number 3: all items contain images. But when the search result, the images are not displayed in the module search result.

An example (among many others) with this article, which contains lots of pictures and a main photo for the categories of K2 : http://www.myvesinet.com/ca-bouge/loisirs/156-voir-venise-et-y-revenir
·
Monday, 14 March 2016 15:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Lumbroso,

I am sorry for the delay of this reply,

Unfortunately that was not possible to retrieve K2 image in Easysocial, if I recall correctly, k2 do not have provide API for 3rd party extension to retrieve image from K2.

[EDITED] Perhaps you can consult with K2 developer regarding this, is there a way retrieve K2 article image from other 3rd party extension?

But this possible in Easyblog, when the blog post included that post cover, it will show this post cover thumbnail into search result.
·
Tuesday, 15 March 2016 12:54
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post