I have content type which has text field. Each node has its own javascript code which is set in to the text field. Text field is PHP Code format.
When I add this field to Views block site load ONLY the javascript in that text field. Whole other drupal content is not loaded. When I remove this field from views then site works normally.
This script works on full node but not in the Views. What can cause this? What ways to fix it?
Script is from Tradedoubler (third party advert) :
<script type="text/javascript">
var uri = 'http://url.com' + new String (Math.random()).substring (2, 11);
document.write('<sc'+'ript type="text/javascript" src="'+uri+'" charset=""></sc'+'ript>');
</script>