Submitted by mario on Mon, 12/03/2012 - 12:30
Drupal's database abstraction layer is pretty cool, but sometimes unexpected results on complicated queries can do your head in, so it's nice to be able to see the final SQL statement Drupal is planning on running.
Submitted by mario on Wed, 29/02/2012 - 19:19
Embedding the node add/edit form is pretty easy, but what if you want a new and improved node form, with some of your excellent additions/modifications, without messing around with the core node//edit form?
Submitted by mario on Sun, 15/01/2012 - 20:22
Was migrating a few sites between Drupal-7.7 and Drupal-7.10 platforms and came across the following PHP notice:
Notice: Undefined index: distribution_name in drupal_install_profile_distribution_name() (line 202 of /srv/drupal-7.10/includes/install.inc).
Submitted by mario on Wed, 26/01/2011 - 12:40
You can add extra display modes using hook_entity_info_alter.
Say you have a custom module 'myModule' and want to add a custom view to the node entity: