drupal-template

Drupal adding JS

I know this is not a Drupal forum but this forum is quick at responding so I thought I should give it a shot. Here's my problem. I'm trying to insert reference to the javascript file in the header by using drupal_add_js function. I placed this line inside template preprocess function of template.php. The result....is not working at all. ...

Drupal: cannot replace js file

hi, I want to remove a js file from my drupal website and add a custom one. This is the code I'm using in my template.php file, but it doesn't work (the old js file is still loaded). (I've cleared the cache) function zen_preprocess_page(&$vars, $hook) { /*update js file*/ $scripts = drupal_add_js(); unset($scripts['module']['sites/all...

Changing order of fields in Drupal's content type

I am using Drigg on Drupal 6.17. Drigg has a content type called as "Scoop". I try to change the labels and order of fields. Normally, this is done in Content Management > Content Types > Manage Fields . But some fields that are shown in Create Content screen are not shown in Manage Fields screen. The screenshot of Manage Fields is her...