drupal

Add HTML5 Audio to Drupal's Audio Module (for iPad for instance)

Recently, My father got an iPad; it's his one internet-enabled device. He mentioned that he couldn't listen to any of the audio on my site. Well, I found this to be unacceptable, and, while we still on the phone, I made the following changes to Drupal's Audio Module:

1. Add a class and title to the flash player.

FIrst, edit the "1pixelout.inc" file in the audio/players/ directory (or edit the .inc file for the play you have chosen to use.) Add the following class to the flash object tag: class="1pixelflashplayer". Also, add the following title attribute to the object tag: title="{$options['soundFile']}".

2. Add javascript to the page

The following javascript will search for all the flash players with the aforementioned class, hide them, and insert an <audio> tag after them with the src of the video from the flash player. Note: This will only work for mp3 audio files. You can download the javascript at the bottom of the page.

I Hope this helps someone.  Javascript follows...

Drupal gives " Permission Denied" to edit a node, but the user has permission to edit.

From time to time I see people getting caught by the issue in the title. There are no other permission based modules being used; the user has edit permission for the content type, he/she may even be the author of the node, but they get a 403 Access Denied.

Here is a possible reason why: The user does not have access to a Filter type used on one or more of the node's input fields. This can happen when someone else creates a node who has access to a certain filter that not everyone else does. Then, when the other user comes to edit the node, he/she can't. 

Services

Web Presence

I can work with you to put your group, organization, or personal profile on the internet.

Types of sites:

  • Blogs
  • Photo galleries
  • Video galleries
  • Church websites - warm and welcoming
  • Business websites - Clean and informative
  • Any combination of the above and more.

Services (included with all sites):

Site Upgrade to Drupal 6

It should be pretty obvious that this site has undergone a change - it looks different. What may not be as obvious is that the software the site runs on, drupal, is now at the latest version 6 release; it was previously at 5. This may not be very helpful to you directly, but it will allow me to make more and better upgrades faster than before.