Warning message

The service having id "digg_smart_button" is missing, reactivate its module or save again the list of services.


PHP 5.4.4 and PHP 5.3.14 released!

PHP 5.4.4 and PHP 5.3.14 are now available for download. All users of PHP are encouraged to upgrade to PHP 5.4.4 or PHP 5.3.14.
The new versions fix over 30 bugs in Core,  CLI SAPI, Fileinfo, Iconv and other libraries.
You can view the complete change log from here.


Drupal: How to limit the filtration of the view to the exposed filter even if there is a contextual filter set?

In one of my Drupal websites, I had to set a contextual filter on a view based on a parameter which is passed through a link. The view itself has an exposed filter and the client didn't want the results in the view to be limited to the contextual filter value. Instead, he wanted the exposed filters to be the only method of filtration once used.

To be able to overcome this problem and with the help of a trick I knew about through Drupal forums, I had to add a validation criteria for my contextual filter.

I choosed PHP code as the validator and added the following PHP code:

Drupal views exposed filters submit to default site language

Today, and while working on a multilingual Drupal site, I have gone through the problem that my view exposed filters form always submit to the view in the default language of the website.

The exposed filter would always submit to the default site language

Subscribe to RSS - PHP