You are viewing limited content. For full access, please sign in.

Question

Question

How to remove Record Management Search from Weblink page?

asked on February 13, 2014 Show version history

Hello
I am using the following process to remove the Records Management Search option from the page but I can't hide it. I am not sure what I am missing. I would appreciate some help? Thanks


Hide the Records Management Search

Some organizations may want to limit their WebLink users to using only the regular, Laserfiche search. They would like to have the “Records Management Search” option completely hidden.

 

 

 

To hide the “Records Management Search,” open the WebLinkStyles.css file and add the following text:

Code Section

select[name="TheSearchForm:_ctl2"] {

    display:none;

Moderator edit (3.13.2015): removed the excessively large font to make it easier to read the question

0 0

Answer

APPROVED ANSWER SELECTED ANSWER
replied on February 14, 2014 Show version history

This turned out to be an IE 9 issue with CSS attribute selectors. The workarounds are to either use a different browser like Chrome or Firefox, upgrade to IE 10 or higher, or edit the search.aspx page and change the doctype declaration to use XHTML 1.0.

1 0

Replies

replied on March 13, 2015

with version 9 of weblink the control is now :

TheSearchForm:_ctl1

 

so once I updated WebLinkStyles.css with this:

select[name="TheSearchForm:_ctl1"]
{
	display:none;
}

working correctly again

1 0
replied on February 14, 2014 Show version history

I was not able to reproduce your issue (following those steps will successfully hide the RM search for me), but there are two things you may want to try:

  • Try putting the text at the very bottom of the WebLinkStyles.css file. If there are conflicting rules for style, the one that appears last in the file will be respected.
  • When you refresh the WebLink page after you save WebLinkStyles.css, use ctrl+F5. This can help clear out any cached CSS.
0 0
replied on February 14, 2014

Thanks for response Brianna..

 

It does not work for me.  I haven't done any other changes to WebLinkStyles.css and I had already done your suggestions and I repeated them again but it still does not hid the "Record Management Search".

 

I have also rebooted the server to  make sure I have clean start....but no luck

0 0
replied on February 14, 2014

Farzali,

 

As a sanity check, can you make sure that you correctly specified

select[name="TheSearchForm:_ctl2"]
{
	display:none;
}

That is, using the alphabetic letters c-t-l followed by the number 2.

 

Regards

0 0
replied on April 8, 2014

Thanks Alex, this helped me as well!

0 0
replied on February 14, 2014

Hi Alex

 

I made copy of your script and pasted it but I had no luck, doesn't do anything....

0 0
replied on February 14, 2014

Please open a support case and provide the WebLinkStyles.css file you modified so we can further review it.

0 0
replied on February 14, 2014

Can you try updating something else in WebLinkStyles.css to see if the issue is with this particular piece of CSS or with reading the file in general? For example, changing the color of the footer text "portal powered by Laserfiche WebLink 8.2.2" to bright red.

 

First make a backup copy of your CSS file, then find following section:

 

.PoweredByText
{
 font-size: 7pt;
 text-align: center;
}

and add color: #EE0000; like so:

.PoweredByText
{
 font-size: 7pt;
 text-align: center;
 color: #EE0000;
}

Save your changes, and open WebLink

replied on February 14, 2014

 Great job Alex, thank for the help....

0 0
replied on February 18, 2014

Hi

 

Now I have the top search option (in Browse a search page gone) and we have removed the Recored management search.

 

I realized the cross off to turn off the selection for the search are not there to turn off a search option.  That is true for both IE and chrome.    When I selet Text, field,weblink search, or any other options from search the cross off that used to turn them off no longer available. 

 

Where do I look to get it back?

0 0
replied on February 19, 2014

I just test editing the search.aspx page and change the doctype declaration to use XHTML 1.0,. This removes the Record Management Search (which is good) but it also removes the ? ans X mark from the section sections.   I am looking for the tags that relate to these options.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.