Insert and refer to JavaScript

IWasBornToWin - April 16, 2009 - 04:37
Project:Pixture Reloaded
Version:6.x-3.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

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

#1

IWasBornToWin - April 16, 2009 - 04:50

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.

AttachmentSize
email current url.txt 268 bytes

#2

Jeff Burnz - April 17, 2009 - 11:23

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

#3

kiamlaluno - April 17, 2009 - 11:34

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

#4

kiamlaluno - April 17, 2009 - 11:35
Title:Insert and refer to javacript» Insert and refer to JavaScript
 
 

Drupal is a registered trademark of Dries Buytaert.