I created an exposed view that allows users to sort content based on content type or date. In my content type drop down menu, the default choice is - Any -, I tried to replace it in the settings file's string override section, but while this works for numerous other defaults, it doesn't seem to be taking for exposed views. Any help would be much appreciated!

2 Answers 2


I have tried to resolve from backend/server side, but without success, so I have reviewed a way using Jquery (client side), while an backend alternative is achieved:

$("#here-field-name option[value='All']").html("Anytext");  

Also, here is alternatives from backend perspective, maybe are useful for you how to default value to select list CCK with form_alter

I hope information be useful.


go to the folder : sites\all\modules\views\handlers and open the views_handler_filter.inc file...

and search for :"- Any-" in the file... one of them is located in the "exposed_translate" function. change it to whatever you what. it is a little bit hacky but it works ;)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.