Hi!
At this moment, I develop mostly for D6, and I see that some bundle's commands/snipetts just don't follow the TM_drupal_version shell variable.

I wonder if there is any bundle's version newer than macromates' svn repos

CommentFileSizeAuthor
#3 hook_form_alter_6.patch1.15 KBwim leers

Comments

moshe weitzman’s picture

Thats the latest. Patches welcome ... Or maybe a separate bundle for d6.

lourenzo’s picture

Ok, I'll work on something ASAP

wim leers’s picture

Title: Most of the commands and snippets works only for d5 » Drupal 6 support for commands and snippets
StatusFileSize
new1.15 KB

Here's a first patch. hook_form_alter now support Drupal 6. I'm not sure about the coding style though … which is partially why I haven't updated the other hooks.

kkaefer’s picture

Committed Wim's patch to the TextMate SVN repository.

wim leers’s picture

Ok, cool, coding style was ok then I guess :)

I'll update the other hooks when I next need them!

creatormarius’s picture

Don't know if I should open up another issue or if it's related:

When I use the context help on a function it correctly goes to the drupal api site, but it performs the query incorrectly and no help is returned.

EG:

If I type "hook_menu", press ^H to look up the help, Textmate contacts api.drupal, but it fails with the message:

Search for 6/hook_menu
No search results found"

psynaptic’s picture

I'm going to work on this now.

Does anyone have anything before I go ahead and do work you've already done?

psynaptic’s picture

For some reason I couldn't get the revision mentioned in #4. I have downloaded the patch and applied it. I'll work on the rest now.

psynaptic’s picture

The SVN repo has changed location. Here is the current location:

http://svn.textmate.org/trunk/Review/Bundles/PHP%20Drupal.tmbundle/

psynaptic’s picture

Status: Active » Fixed

Please checkout the latest version from the SVN repository for the 6.x compatibility. Thanks to kkaefer for creating the necessary structure.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.