If you are using Drupal, someday you may find yourself wanting to grab or edit content in a Drupal system without actually having to go through Drupal to do it. It is easy to boostrap Drupal by doing the following. ...
blog
drupal_to_js() vs vanilla PHP json_encode() for conversion to JSON
by Joseph Smith
When needing to output JSON for a module I've been working on, I turned to drupal_json() and found this to be a very frustrating function to work with, as it simply doesn't seem to work. It's...
Introducing drush, drush make and installation profiles
by Joseph Smith
One of the inherent weaknesses of Drupal is the setup time involved to get a project up and running. D7 has remedied this somewhat by adding many commonly used contributed modules to core, but the issue of setup/maintenance time does not stop there. ...
Using MAMP Mysql from the command-line
by Joseph Smith
While attempting a DB export from a Drupal site via drush, I hit an obvious problem. OS X's mysql and MAMP's mysql are not equal. to access MAMP's mysql from the command line (and drush), you can create a .my.cnf file in your home directory and save the...
"Requiring" Attributes in Ubercart
by Anya Petersen
Attributes in Ubercart can be "required", but what does this mean? My first impression was that I should check "required" if I did not want a user to be able to add the product to their cart without setting the value for that attribute. In fact, the attribute will...
Quickly create template elements using drupal_get_path_alias()
by Joseph Smith
Often, when creating themes in Drupal, I find myself asking "is there a better way to add this <body> class or <h1>...
All Tags
- 6Drupal
- 4JavaScript
- 4CSS
- 3Front-end
- 3Development
- 3Drupal 6
- 2jQuery
- 2Firefox
- 2Chrome
- 2PHP
- 2MySQL
- 2drush
- 2Safari
- 2JSON
- 1Widows
- 1iOS
- 1Gecko
- 1command-line
- 1CSS3
- 1Open Atrium
- 1Ruby
- 1GIT
- 1Rake
- 1gemspec
- 1HTML
- 1Gems
- 1Ubercart
- 1Email
- 1Rails
- 1Passenger
- 1Webkit
- 1MediaTemple
- 1Ajax
- 1CentOS
- 1Subversion
- 1Opera
- 0
