Recently I had the privilege of being part of a team that converted the BMJ (British Medical Journal) to Drupal. The BMJ (British Medical Journal) is one of the world’s top five international peer reviewed medical journals with more than 1.5 million unique visitors and 6.8 million page views per month.You can read the about the project and it's success at http://drupal.org/node/1557636
Drupal can be mysterious in many ways sometimes. Tying to do the simplest things can become a complex series of function calls, that sometimes makes your head hurt tyring to remember everything. http://api.drupal.org can usually give you the answer you are looking for, if you know how to find it. Recently I had to figure out how to create a full path to a file from a file object uri and wanted to share this information.
New Relic is the all-in-one web application performance tool that lets you see performance from the end user experience down to the line of application code. Check out New Relic at http://newrelic.com/
Step 1: Setup repository and install packages
First become root
[pwaters@drupal-dev-pwaters ~]$ sudo su -
First you need to add New Relics repositries to your server
While typing a password is not a difficult or super time consuming task, I'd rather spend those minutes a day doing something else. By setting up your host file, generating a public key and adding it to your remote server, you can eliminate a step everytime you connect to your remote severs (including ssh, sshfs, git push, scp and ftp!). You also get the added benefit of protecting your machines behind more complex passwords for added security.
Lets start by aliasing a remote server:
open your hosts file located in your favorite editor:
Apache solr is a java based application that is used for creating fast, extensive, and configurable search. Apache Solr is part of the Apache lucene project, which is an open source project for developing search software. One of the big draws to solr, but not the only draw, is it's capability of creating faceted search. Faceted search in easy to understand terms, is the processes of drilling down your search by categories.
After many hours of banging my head against the keyboard I finally have custom syntax highlighting with ckeditor in Drupal 6. When I first set out to add this feature I thought it would be as easy as trun a module on and your good to go. Turns out that isn't the case. I originally tried to use GeSHi
Recently I decided to package eclipse pre configured with this tutorial and offer it for purchase. You can purchase it above, or you can run through the tutorial yourself, enjoy! If you decide to purchase you will have to make sure you still do step 8, there is no way for me to package that.
Update...this configuration still works with Eclipse Juno.
Over the past few years I have experimented with different web server setups. I have found that the combination Ubuntu, LAMP (Linux, Apache, Mysql, and PHP), Webmin, and finally Virtualmin provide many advantages in my day to day workflow as a web developer. This setup provides me with an easy to use and easy to maintain web server that lessens the time spent configuring the server and increases my time programming. Here are my step by step instructions for setting up my favorite server configuration.
This is a tutorial on how to create a ctools content type plugin. I decided to write this post because of the limited documentation on this subject, and because I wanted to share the power of the ctools api.
Please don't confuse ctools content type plugins with Drupal's 'content types'. They are not the same in any way. Basically a ctools content type plugin, is a plugin for Panels that allows you to get access to a panel's context and create some sort of output from that context. Its a panels block in a a sense.