Support:More Details icons disappear after changing Theme

From dispage wiki

Jump to:navigation, search
INFO
Bug
dispage extension Enhanced Search
extension release3.1.03a
priority{{{priority}}}
SugarCRM version6
SugarCRM editionsPRO, ENT
Server OS
PHP version
DB Engine
MySQL version
Fix version3.1.03b



Issue:

"More Detail" icons to display the Enhanced Search Options disappear after switching to "Amore" or "Eco" Themes of SugarCRM PRO / ENT 6.


Esearch icons disappear.png


Reasons:

The image path wrongly points to the Theme relative folder.


Solution:

Below is the procedure for the manual fix.


1- Replace line 31 of the file "<sugar_dir>/custom/include/EnhancedSearch/tpl/SearchOptionHead.tpl":

<span id="adspan_{$searchOptionId}" style="padding-left:2px; cursor:pointer;" onClick="esrcMan.popupSearchOptions('{$searchOptionId}', this);"><img border="0" src="{$IMG_PATH}MoreDetail.png" width="8" height="7"></span>

with

<span id="adspan_{$searchOptionId}" style="padding-left:2px; cursor:pointer;" onClick="esrcMan.popupSearchOptions('{$searchOptionId}', this);"><img border="0" src="{sugar_getimagepath file='MoreDetail.png'}" width="8" height="7"></span>


2- Clear SugarCRM cache

Navigation
dispage support
Toolbox