I have written a custom module that uses hook_form_alter to add the "jscalendar" class to my node edit form. However, since modules are called in alphabetical order, my module is called after JSCalendar, and hence, JSCalendar can't append it's information since it doesn't know about the JSCalendar class that I add later.

JSCalendar should have an install file something like:

function jstools_install() {
  //set a high weight so we can call hook_form_alter after other modules have been loaded
  db_query("UPDATE {system} SET weight = 24 WHERE name = 'jstools'");
}
CommentFileSizeAuthor
#1 jscalendar.install279 bytesm3avrck

Comments

m3avrck’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new279 bytes

Ready to go.

m3avrck’s picture

Status: Reviewed & tested by the community » Fixed

Fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)
gfgtron’s picture

Version: master » 5.x-1.0
Status: Closed (fixed) » Active