Download & Extend

Drupal 6 support; *.jq.inc files

Project:jQ
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:aaron
Status:closed (fixed)

Issue Summary

In drupal 6 at least, it would be nice to reduce .module file bloat by putting jq hooks in module.jq.inc files, which would be loaded on demand before invoking the hook. homologous to *.views.inc files.

Comments

#1

Title:*.jq.inc files» Drupal 6 support; *.jq.inc files

Is a drupal 6 version of jQ planned for anytime soon? I'm trying to figure out if it's worth providing support for it in the jQuery plugins module as I add plugins there.

#2

Assigned to:Anonymous» aaron

absolutely! thanks for the great idea. i'll work on that next week. and yes, a d6 version is planned soon -- this is probably the easiest of my modules to port.

#3

For now I just load an include file in the hook, but it would be nice to have it done automatically by jQ http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/jquery_plug...

#4

Status:active» fixed

done.

it will now load module_name.jq.inc for the plugin info, so you can safely move hook_jq to that file now.

#5

Version:5.x-1.x-dev» 6.x-1.x-dev

i might backport this feature to 5 too...

#6

thanks. personally I wouldn't say backporting is necessary, it's really just d6 that has such a focus on include files.

#7

i switched the two branches accidentally. i fixed them now. sorry for any confusion...

#8

Status:fixed» closed (fixed)

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