I have hidden the search field in the standard search block while doing some testing of Formfilter. Problem is, I can't get it to un-hide now (and yes I'm clicking the filter link again, unchecking the box and submitting the form), and I can't figure where the trigger to hide the field is stored in the DB.

Any thoughts?

thanks
jason

Comments

plan9’s picture

Not sure about 6.x version but in 5.x branch the data is stored in 'formfilter' in the 'variable' table.

You can work out what's going on by examining the syntax - and delete the filtering you don't need (after backing up of course).

I normally just copy and paste the last good copy of code I have. If you depend on formfiltering a lot it's worth keeping a text file of the database variable code so you can quickly recover if things go wrong.

adeb’s picture

Same problem here, unable to unhide a form field...
The advice given by plan9 is still valid for Drupal 6, thank you.

Nolza’s picture

Same problem here. Plan 9's advice was good though.

mducharme’s picture

For reference, here is the actual line I had to remove within the formfilter value of the variable table to accomplish this:

s:17:"search_block_form";a:1:{s:17:"search_block_form";s:1:"1";}

Cheers.

DaveNotik’s picture

Grrr, removing the line noted in #4 isn't doing it for me. Actually, it does it but then I have this persistent error:

warning: array_key_exists() expects parameter 2 to be array, boolean given in .../sites/all/modules/formfilter/formfilter_ui/formfilter_ui.module on line 109.
warning: array_key_exists() expects parameter 2 to be array, boolean given in .../sites/all/modules/formfilter/formfilter_ui/formfilter_ui.module on line 115.

DaveNotik’s picture

I had to disable formfilter_ui to remove that error. I imagine I'll see it again when I enable it. If anyone has any suggestions, please let me know!

ricatho’s picture

Any clue on this unhide issues? I have the same problem here as well.

JohnnyW’s picture

I have this problem too.

I used it in 'replay' of Privatemsg and want to undo the 'Input Filter' i was originally hiding, because it destroys WYSIWYG input form.

Any suggestion???