Change drupal_add_css() back to hook_menu()

hingo - December 19, 2007 - 15:37
Project:Footnotes
Version:5.x-1.x-dev
Component:Footnotes.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Call to drupal_add_css() was recently moved to hook_init(). It seems this is not recommended for Drupal 5.x. For the 5.x branch we should move it back to hook_menu()

@see http://drupal.org/node/202316
@see http://api.drupal.org/api/function/hook_init/5

#1

beginner - December 20, 2007 - 02:33

Remove also the core = 6.x in .info.
This is the DRUPAL-5 branch.

If you want to organise a new release for D5 (the last one?), you can ask me.
Note again that the procedures and the right-way-to-do-things ™ have changed for D6. E.g. See with me if you're unsure.

#2

hingo - December 20, 2007 - 12:43

Good point, I'll do that too.

**

I'm really grateful for you helping out following the Drupal scene, since I'm unable to do that closely enough.

#3

hingo - December 23, 2007 - 18:40
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.