Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Global Search Missing
#1
After last update the box for global search is disappeared
i attach a pic
bye
Lorenzo


Attached Files Thumbnail(s)
   
Reply
#2
Hi

this is controlled by the Application_Global_Search_Active global variable. See if you have set the variable to not show the box
Joe
TSolucio
Reply
#3
I tried but prhaps i did a mistake, not works
look at pic
If i set 0, the search disappear totally, else with 1 set i can't see the box 


Attached Files Thumbnail(s)
   
Reply
#4
the GV is correct and actually not needed, the default value is 1 so my comment was just to make sure you hadn't set it to 0.

check if you have this line:

https://github.com/tsolucio/corebos/blob/master/modules/Vtiger/header.php#L99

and the one below

and then check this part:

https://github.com/tsolucio/corebos/blob/master/Smarty/templates/Header.tpl#L104
Joe
TSolucio
Reply
#5
(05-23-2019, 03:10 PM)joebordes Wrote: the GV is correct and actually not needed, the default value is 1 so my comment was just to make sure you hadn't set it to 0.

check if you have this line:

https://github.com/tsolucio/corebos/blob/master/modules/Vtiger/header.php#L99

and the one below

and then check this part:

https://github.com/tsolucio/corebos/blob/master/Smarty/templates/Header.tpl#L104

Yes i have


$Application_Global_Search_Active = GlobalVariable::getVariable('Application_Global_Search_Active', 1);

$smarty->assign('Application_Global_Search_Active', $Application_Global_Search_Active);






{if $Application_Global_Search_Active || (isset($GS_AUTOCOMP) && isset($GS_AUTOCOMP['searchin']))}

{if (isset($GS_AUTOCOMP) && isset($GS_AUTOCOMP['searchin']))}{$GLOBAL_AC = true}{else}{$GLOBAL_AC = false}{/if}
<div class="slds-global-header__item slds-global-header__item_search">
<div class="slds-form-element">
<div class="slds-form-element__control">
<div class="slds-combobox-group">
{if $Application_Global_Search_Active}
<div class="slds-combobox_object-switcher slds-combobox-addon_start">
<div class="slds-form-element">
<label class="slds-form-element__label slds-assistive-text" for="globalsearch-moduleselect">{$APP.LBL_SELECT_MODULES_FOR_SEARCH}</label>
<div class="slds-form-element__control">
<div class="slds-combobox_container">
<div id="globalsearch-moduleselect" class="slds-combobox slds-dropdown-trigger slds-dropdown-trigger_click" aria-controls="globalsearch-moduleselect" aria-expanded="false" aria-haspopup="listbox" role="combobox">
<div class="slds-combobox__form-element slds-input-has-icon slds-input-has-icon_right" role="none">
<input type="text" class="slds-input slds-combobox__input slds-combobox__input-value" id="globalsearch-moduleselect-input" aria-controls="UnifiedSearch_moduleformwrapper" autoComplete="off" role="textbox" placeholder="{$APP.LBL_SELECT_MODULES_FOR_SEARCH}" value="" onfocus="UnifiedSearch_GetModules();" />
<span class="slds-icon_container slds-icon-utility-down slds-input__icon slds-input__icon_right">
<svg class="slds-icon slds-icon slds-icon_xx-small slds-icon-text-default" aria-hidden="true">
<use xlink:href="include/LD/assets/icons/utility-sprite/svg/symbols.svg#down"></use>
</svg>
</span>
</div>
Reply
#6
fixed: https://github.com/tsolucio/corebos/commit/f345d90bdba8b839ebbdb4ff62f51cba6dee4784

thanks!
Joe
TSolucio
Reply
#7
It WORKS
Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)