Hey, folks. I've set up SSL on my site, and would like to install my certificate provider's widget on all "order" pages. They sent instructions that say:

- "Snippet 1: Copy/Paste the following piece of code and insert EXACTLY before your [/HEAD] tag."

- "Snippet 2: Copy/Paste the following piece of code and insert EXACTLY before your [/BODY] tag."

Any ideas on how to implement this easily on specific pages? I'm using the e-commerce module, and would like to be able to place it both on static nodes and the https: pages in that module (i.e., when the customer enters a credit card number.)

Sorry if this has been answered (as I expect): I couldn't find the answer anywhere. Thanks again!

Comments

cog.rusty’s picture

You will find these html tags in your theme's page.tpl.php file.

To implement it on some pages you could probably add some conditions in the code, such as

if (arg(0)=='node' && isnumeric(arg(1))) {
  print that
}

Also check http://api.drupal.org/api/function/drupal_set_html_head/5

tgeller’s picture

Wow, that's service. :) Thanks again!

---
Tom Geller * San Francisco

---
Tom Geller * tomgeller.com * Oberlin, Ohio
See my lynda.com videos about Drupal