Posted by shamio on November 10, 2012 at 4:42pm
How can i insert this javascript code to a php block?<script src="http://www.example.com/index.php?section=serve&id=1&output=js</script>
How can i insert this javascript code to a php block?<script src="http://www.example.com/index.php?section=serve&id=1&output=js</script>
Comments
=-=
enable the core phpfilter.module and use the php text format when saving the block.
_
I already enabled phpfilter module but my problem is the format of the coded should be placed . I mean i ma sure i should change or add some code to it to put it in a php block to work but i don't know it. Please write the code for me.
Doubt is the father of invention..... Hubmesh
=-=
I will not be writing any code for you.
plenty of documentation on dealing with javascript in drupal
good luck.
_
The problem is solved now. Thanks a lot for your help.
Doubt is the father of invention..... Hubmesh