First, thanks for sharing your module back into the community. I do have a few concerns however. We already have lots of modules or methods that do this exact thing. For adding meta tags into head we have Meta tags. If people want to add canonical URLs, we have Canonical URL. Basically we have a project for any type of <head> element we could want.

For adding things in the footer, a much, much better way to do this is to create blocks and assign them to the footer region of the theme. This way it is a well-tested core feature.

Because of the additional security implications of using this module, maybe we should consider making a handbook page explaining how you can add these types of things properly and securely?

Comments

doubleedgedpen’s picture

What about adding a .js file between the <head></head> tags via a module (so we don't have to edit code)? Is there a module that already allows you to do that?

doubleedgedpen’s picture

For Google Webmaster Tools they require you to insert a "google-site-verification" meta tag "in the <head> section, before the first <body> section." Does the Nodewords module or any other module allow you to do that?

I'm looking for the best practice solution.

cientista’s picture

There is an alternative to adding the verification 'tag' in Google Webmaster Tools. They also allow you to validate by uploading a specifically named html page to your site root directory. Instructions are given by Google, in this case you simply FTP the file up and it works the same.

sylvain lecoy’s picture

Status: Active » Closed (won't fix)