While I have been using the Performance MX for best part of a year, I have just received the MX Master. Below are my initial impressions after just a few minutes.
I’m a bit of a gear junkie. With every sport there are companies that want to make money and every year promise “innovation”. Tennis is no different.
This is useful if you are using a hosting solution that makes it tricky or impossible to implement HTTP authentication with the web server.
For some reason the default search page option on Apache Solr search pages isn’t respected. This form alter hook and submit handler do the trick.
This is especially useful if you don’t have a login to create accounts through the web interface.
To get Apache Solr running with Tomcat on OS X there are just a few steps to take
Nosing around in the Drush code I noticed that there some extra commands that are hidden from view.
Spend long enough working on a codebase and you’ll eventually end up with a number of branches on your remote that are redundant. This is either because they’re now merged into master or maybe just simply aren’t required anymore.
There has been a couple of occassions where I have needed to add a custom token to the webform module (ver. 3.x). The way I have done it is as follows.
Create or edit a crontab by running:
Managing blocks through code can be very valuable, especially if you are running clean deployments of just the codebase. You can use hook_block_info_alter() to configure the default blocks disable/move/change visibility status.
Using an AJAX callback on a form submit doesn’t call the validate functions by default and means that form values can be submitted and saved without being confirmed as valid. I’m not sure of the best solution for this problem is, but below is the way I handle it.
A routine installation of Tomcat and for some reason, trying to start up the server I get the following error:
By default, adding filters to the query object will use the AND operator. To use OR, you will need to add a
There’s been many a time where I’ve created the perfect CSS in a static site design only for it to be pulled to pieces by Drupal’s system styles.
The solution is
hook_css_alter(&$css) which can reside in your template.php file:
It’s possible to break everything by doing something so little for example renaming/removing the current theme without disabling it first. It may also be the case that a new theme is installed which gives that white screen of death.