Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Global Search Missing
#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


Messages In This Thread
Global Search Missing - LorenzoGreco - 05-22-2019, 11:19 AM
RE: Global Search Missing - joebordes - 05-23-2019, 01:32 PM
RE: Global Search Missing - LorenzoGreco - 05-23-2019, 02:32 PM
RE: Global Search Missing - joebordes - 05-23-2019, 03:10 PM
RE: Global Search Missing - LorenzoGreco - 05-23-2019, 03:16 PM
RE: Global Search Missing - joebordes - 05-23-2019, 04:02 PM
RE: Global Search Missing - LorenzoGreco - 05-23-2019, 04:10 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)