How to hide the keyword search from a custom page

This question is not answered

Hi.

I'm hoping someone can help on this question. I wish to hide the keyword search from a particular search screen I created.

As well, I'd like to know how to rename a field that appears on the screen. I know this can be done via css. But I just can't remember if this is done via the custom content and/or on change script.

Here is a screenshot of what I'm writing about.

Note: I understand that the keyword search is appearing because of the vSearchListCompany system view.

But I'm hoping there is a way to hide it - that way I can use the comp_commodities field to search without confusion.

Let me know.

Thanks in advance for your assistance.

Steph

All Replies
  • Hi again.

    I inspected the code in chrome and was able to change it within the session. However, I have no clue how to change the viewboxcaption in the custom content. 

    Here is the code that I want to change:

    <span id="_Captcomp_commodities" class="VIEWBOXCAPTION">Commodity Search:</span>

    ----

    Below is the Keyword Search code that I want to hide:

    <table width="100%" border="0" cellpadding="0" cellspacing="0" rules="NONE"><tbody><tr><td width="20%" valign="BOTTOM" class="VIEWBOXCAPTION">Keyword Search:</td></tr><tr><td valign="TOP" class="SEARCHBODY"><input type="text" class="EDIT" id="crm_Keyword_Str" name="crm_Keyword_Str" value="" maxlength="50" size="50"><input type="hidden" name="_HIDDENcrm_Keyword_Str" id="_HIDDENcrm_Keyword_Str" value=""></td><td width="15px" valign="TOP" align="LEFT"><img class="SmallHelpImage" style="cursor: pointer" src="/crm/Themes/img/ergonomic/Buttons/Small_Help.gif" onclick="SageCRM.wsKeywordSearch.showtips();" title=""></td><td width="5px"></td><td id="keyword_tips" style="display: none;" align="LEFT" valign="CENTER" class="KeywordTips">&nbsp;Keyword Search allows you to search for words across all text fields.<br><br><table class="KeywordTips"><tbody><tr><td width="25%"><i>Searching for</i></td><td><i>Finds records containing...</i></td></tr><tr><td>large deal</td><td>the words <b>large</b> and <b>deal</b>, in any order</td></tr><tr><td>"large deal"</td><td>the exact phrase <b>"large deal"</b></td></tr><tr><td>deal -small</td><td>the word <b>deal</b> but not the word <b>small</b></td></tr><tr><td>deal%</td><td>any words starting with <b>deal</b></td></tr><tr><td>de%l</td><td>any words starting with de and ending in l, such as <b>deal</b> and <b>detail</b></td></tr></tbody></table><br>For more information, please refer to the online help or User Guide.</td></tr></tbody></table>

    Again no clue how to go about this. 

    Any assistance is greatly appreciated.

    Thanks,

    Steph

  • Why don't you just create a new translation for the field comp_commodities? Just add a new translation:

    Caption Code: comp_commodities

    Caption Family: ColTames

    Caption Family Type: Tags

    UK Translation: Commodity Search

    Is Commodities a new entity or is it derived from companies by using SS translation values?

    Sage CRM specialist and all round fan! Please feel free to follow me on twitter @dannycrm

  • Hi.

    The translation worked. Commodities isn't a new entity - it is derived from companies which causes the issue of also showing the keyword search box.

    How do I hide the keyword search box from within this screen?

    Let me know if this can be done.

    Thanks again for your assistance.

    Steph

  • I haven't tested but it might be worth creating a new view (with the same select statement as vSearchListCompany) and then amending the screen and associated list to use that view instead.As it wouldn't be a keyword search view it shouldn't show the box.

    Sage CRM specialist and all round fan! Please feel free to follow me on twitter @dannycrm