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
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!
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?
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.