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'");
}
Comments
Comment #1
m3avrck commentedReady to go.
Comment #2
m3avrck commentedFixed.
Comment #3
(not verified) commentedComment #4
gfgtron commented