From reading through a few posts it seems I'm able to add javascript to the theme page.tpl.php.

Instructions for the code said add this in between the header tag.

Then add this anywhere else

Recommend this Page to a Friend!

The first part went fine, I edited the page.tpl.php file.

Then I tried to add the second part(the link) to a node to test it. It won't alllow me to add it no matter if I pick full html or php. It won't save it, keeps saying page not found.

Am I trying something that's not possible or inserting it in the wrong spot?

This code allows my user to forward a page link using their default email.

Thank you

CommentFileSizeAuthor
#1 email current url.txt268 bytesIWasBornToWin
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

IWasBornToWin’s picture

FileSize
268 bytes

To be clear about above post. The instructions from the code provider is what i'm referring to. also, the above post didn't allow my javascript code to show. I'm attaching it.

Jeff Burnz’s picture

This is not specific to this theme, I would think this is better posted in the general forums.

apaderno’s picture

I agree; the issue reported is not related with the theme.

apaderno’s picture

Title: Insert and refer to javacript » Insert and refer to JavaScript
apaderno’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I am closing this issue, which is for a not supported Drupal version.