js function not available though included in .info

Hi there all
I am trying to add a simple javascript function to use from the onfocus event of a textfield.
I have included the .js file in the .info file of the module like so:
files[] = gmap.js
in this .js file there is a simple javascript toggleMap() function for showing and hiding this field.
in the form I have

Upgrade 6.22 -> 7.4 Appearance and Modules admin not working

I upgraded a local 6.22 site to 7.4. After upgrading the Appearance and Modules admin links don't appear anywhere in the admin. If I try going directly to /admin/appearance or /admin/modules I get the error: "You are not authorized to access this page." All other admin links are there and work fine. Any ideas? I am a relatively new to Drupal so any help would be greatly appreciated!

Help with general thoughts on populating node with API request?

Alright here's what I'm thinking. May I have you critique and tell me how to do this better? :)

Displaying the contents of a file in a block

I've searched both online and in the book Beginning Drupal for the answer to this question, but so far haven't had any luck. I hope someone here can help.

The concept is simple, but I'm not sure how to approach it. I have Drupal 7 up and running on, say, www.example.com. The "frontpage" view is configured and looking good. However, I also have an HTML file VerySpecificLayout.html that I'd like to display in a block on the right hand side of this view. How can I do this?

What is the URL of Drupal's default 403 and 404 error pages?

I ask because I'd like Apache to use the Drupal-styled pages when it handles such an error rather than Drupal. I don't think that will happen with a 404, but can definitely happen with a 403 when a .htaccess or config file denies access.

Thanks,
Steve

Importing Themes??

Okay, so I apologize if this is a simple question, but as of yet I have been unable to find a direct answer.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x