User login

Drupal

Drupal's Enable hook can be tucked away in the .install file

A cool thing about hook_enable is that Drupal can find it in your .install file, even when the module has already been installed and you are just enabling it.

(As evidenced by implementation of hook_enable in comment.install and all over contrib dot install files.)

So you can keep it out of your main .module file and throw it in your .install file.

Drupal's hook_enable can be in .install.

Embed BlipTV videos with emfield module: use file URL, not embed code

Agaric's (ok, Ben's) patent pending Solution-first, random notes after, presentation:

Use the file URL, not the embed code or play URL or anything else.

You can get the file URL by clicking on "This episode's permalink" - that's the URL you want to use.

http://blip.tv/file/821430

Syndicate content