05-22-2019, 11:19 AM
After last update the box for global search is disappeared
i attach a pic
bye
Lorenzo
i attach a pic
bye
Lorenzo
Global Search Missing
|
05-22-2019, 11:19 AM
After last update the box for global search is disappeared
i attach a pic bye Lorenzo
05-23-2019, 01:32 PM
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
05-23-2019, 02:32 PM
(This post was last modified: 05-23-2019, 02:36 PM by LorenzoGreco.)
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
05-23-2019, 03:10 PM
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...er.php#L99 and the one below and then check this part: https://github.com/tsolucio/corebos/blob...r.tpl#L104
Joe
TSolucio
05-23-2019, 03:16 PM
(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. 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>
05-23-2019, 04:02 PM
Joe
TSolucio
05-23-2019, 04:10 PM
It WORKS
Thanks |
« Next Oldest | Next Newest »
|