By Mehmet Alp Sirin on Monday, 04 April 2016
Posted in Technical Issues
Likes 0
Views 324
Votes 0
Hello Everyone,

how can I change the width of the 'EasySocial Search' module?
I wand to mute it into the module position of my main navigation,
but then it exceeds the menus there.

And Where can I change the Label 'K2 Item' in the search?
I looked hard and the constant K2_Item seems already to be translated in my language files (fron as well as the admin files)

Pls help and tnx in advance,

Alp
Hi Mehmet,

how can I change the width of the 'EasySocial Search' module?

You can actually inspect the css element directly by using your browser to determine the correct css code that need to be apply to change the width. I am not entirely sure on the width that you want but you can try the css code below and place it inside your /templates/ja_wall/css/template.css and adjust it accordingly.
div#fd.es.mod-es-search form .search-input {
min-width: 0px;
width: 50%;
}


And Where can I change the Label 'K2 Item' in the search?

May I know where is this 'K2 Item' are located within the search? I just tried to play around on your site but I am not able to find the k2 item on your site.

Please advise.
·
Monday, 04 April 2016 12:14
·
0 Likes
·
0 Votes
·
0 Comments
·
The label 'K2 Item' appear in the search results.
·
Monday, 04 April 2016 16:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mehmet,

Regarding this, you have to modify this file -> JoomlaFolder\administrator\components\com_easysocial\includes\search\search.php

Reference link : http://stackideas.com/forums/questions-about-the-easysocial-search-module
·
Monday, 04 April 2016 19:37
·
0 Likes
·
0 Votes
·
0 Comments
·
I did as in the link you referred, unfortunately no changes.

And meanwhile I realized that 'Article' is also displayed in english.

Is there a way, that I can exclude default joomla articles from search filter?

And still, how to change these labels?

BR,

Alp
·
Monday, 04 April 2016 21:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mehmet,

I've added the following language constant for K2 Items inside your /administrator/components/com_easysocial/includes/search/search.php so you can manually translate it for your current language use.
COM_EASYSOCIAL_SEARCH_K2_ITEMS="K2 Items"


By the way, do note that these change will get overwrite whenever you perform an update to your EasySocial component in the future. Please ensure that you perform a necessary backup of the modification before the update process. We are not responsible when the modification is lost on your side. Hope you understand.

Is there a way, that I can exclude default joomla articles from search filter?

The only way for you to exclude the filter is by manually disable the smart search plugin for Joomla article so that it will not appear on the search. Simply go to your backend > extension manager > plugin manager > and disable the following plugin, "Smart Search - Content".

Hope these help.
·
Tuesday, 05 April 2016 12:16
·
0 Likes
·
0 Votes
·
0 Comments
·
That's it thank you very much.
You are right, as soon as my site is life I need to sit down in order to follow up your support and make notifications which important changes were made.

Tnx and best regards.

Alp
·
Tuesday, 05 April 2016 17:48
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Tuesday, 05 April 2016 18:01
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post