Theming datepicker in the node expire_module problem!

marshallexcavating - October 6, 2009 - 14:11
Project:Node Expire
Version:6.x-2.03
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I have have had to hack the "node_expire.module" file in order to get the datepicker to theme in it. Take a look at http://drupal.org/node/499228 for the hack/fix. Is this a bug or am i doing something wrong.

Thank you

#1

scholesy - October 9, 2009 - 17:30

well, it's just that the css is not included for some reason.

what I did was add the line:

drupal_add_css("path to your css file");

right after the call to

drupal_add_js(...)

in function _node_expire_form_alter_nodeform(...) in node_expire.nodeapi.inc

hope this helps.

#2

marshallexcavating - October 16, 2009 - 12:11

Thank you scholesy,

Your approach also works for me but I am stilled concerned about having to ad code to a module. I think this is a bug in the module.

 
 

Drupal is a registered trademark of Dries Buytaert.