Is there any plans to move the javascript to an external file rather than putting a load of code into the head of the page? Great plugin by the way!
Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.
Thank you for your support!
$document->addCustomTag('<script type="text/javascript" src="'.JURI::Base().'components/com_chronocomments/editor.js'.'"></script>');and replace it with
$document->addScript(JURI::Base().'components/com_chronocomments/editor.js');Not tested and may not work!
<head> <base href="http://www.iphoto.ie/index.php" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="robots" content="index, follow" /> <meta name="keywords" content="joomla, Joomla" /> <meta name="description" content="Joomla! - the dynamic portal engine and content management system" /> <meta name="generator" content="Joomla! 1.5 - Open Source Content Management" /> <title>Welcome to the Frontpage</title> <link href="/index.php?format=feed&type=rss" rel="alternate" type="application/rss+xml" title="RSS 2.0" /> <link href="/index.php?format=feed&type=atom" rel="alternate" type="application/atom+xml" title="Atom 1.0" /> <link href="/templates/ja_purity/favicon.ico" rel="shortcut icon" type="image/x-icon" /> <link rel="stylesheet" href="http://www.iphoto.ie/components/com_chronocomments/msg.css" type="text/css" /> <script type="text/javascript" src="/media/system/js/mootools.js"></script> <script type="text/javascript" src="/media/system/js/caption.js"></script> <script type="text/javascript" src="http://www.iphoto.ie/components/com_chronocomments/msg.js"></script> <script type="text/javascript">var CommentPublished = 1; var CommentVerified = 1; var path = 'http://www.iphoto.ie/'; var imtype = '1'; var captcha = 1; var hideemail = 1; var hideurl = 0; var loadercolor = 'b'; var ENTER_NAME = 'Please Enter Your Name'; var NAME_LENGTH = 'Name length Should not exceed 50 characters'; var ENTER_COMMENT = 'Please Enter Your Comment!'; var ENTER_EMAIL = 'We need your valid email address for verifications!'; var URL_HTTP = 'Your URL should contain http://'; var WRONG_CODE = 'You have entered a wrong security code, please retry!'; var NOT_VERIFIED = 'Thank you, We have sent you an Email with a verfication link, please click it to verify your comment!'; var NOT_PUBLISHED = 'Thank you, your comment will be published once reviewed.'; var UNPUBLISHED_SUCCESS = 'Unpublished Successfully!'; var GUEST_CANT_VOTE = 'You need to login to vote'; var OWNER_CANT_VOTE = 'You can not vote because you are the owner or you already voted!'; </script> <script type="text/javascript" src="http://www.iphoto.ie/components/com_chronocomments/scripts.js"></script> <!--[if lte IE 6]> <link href="http://www.iphoto.ie/components/com_chronocomments/style-ie6.css" rel="stylesheet" type="text/css" /> <![endif]--> <!--[if gte IE 7]> <link href="http://www.iphoto.ie/components/com_chronocomments/style.css" rel="stylesheet" type="text/css" /> <![endif]--> <!--[if !IE]> <--><link href="http://www.iphoto.ie/components/com_chronocomments/style.css" rel="stylesheet" type="text/css" /><!--> <![endif]--> <script type="text/javascript" src="http://www.iphoto.ie/components/com_chronocomments/editor.js"></script> <!-- VOTItaly Plugin v1.0 starts here --> <link href="http://www.iphoto.ie/plugins/content/ji_votitaly/css/votitaly.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> window.addEvent('domready', function(){ var ji_vp = new VotitalyPlugin({ submiturl: 'http://www.iphoto.ie/plugins/content/ji_votitaly/ajax.php', loadingimg: 'http://www.iphoto.ie/plugins/content/ji_votitaly/images/loading.gif', show_stars: true, show_votes: true, show_average: true, language: { updating: 'Updating...', thanks: 'Thanks for voting!', already_vote: 'You have already voted for this item!', votes: 'votes', vote: 'vote', average: 'average', outof: 'out of 5', error1: 'An error occured submitting yout request!', error2: 'You have already voted for this item!', error3: 'Rating out of range!' } }); }); </script> <script type="text/javascript" src="http://www.iphoto.ie/plugins/content/ji_votitaly/js/votitalyplugin.js"></script> <!-- VOTItaly Plugin v1.0 ends here --> <script type="text/javascript">var CommentPublished = 1; var CommentVerified = 1; var path = 'http://www.iphoto.ie/'; var imtype = '1'; var captcha = 1; var hideemail = 1; var hideurl = 0; var loadercolor = 'b'; var ENTER_NAME = 'Please Enter Your Name'; var NAME_LENGTH = 'Name length Should not exceed 50 characters'; var ENTER_COMMENT = 'Please Enter Your Comment!'; var ENTER_EMAIL = 'We need your valid email address for verifications!'; var URL_HTTP = 'Your URL should contain http://'; var WRONG_CODE = 'You have entered a wrong security code, please retry!'; var NOT_VERIFIED = 'Thank you, We have sent you an Email with a verfication link, please click it to verify your comment!'; var NOT_PUBLISHED = 'Thank you, your comment will be published once reviewed.'; var UNPUBLISHED_SUCCESS = 'Unpublished Successfully!'; var GUEST_CANT_VOTE = 'You need to login to vote'; var OWNER_CANT_VOTE = 'You can not vote because you are the owner or you already voted!'; </script> <script type="text/javascript" src="http://www.iphoto.ie/components/com_chronocomments/scripts.js"></script> <!--[if lte IE 6]> <link href="http://www.iphoto.ie/components/com_chronocomments/style-ie6.css" rel="stylesheet" type="text/css" /> <![endif]--> <!--[if gte IE 7]> <link href="http://www.iphoto.ie/components/com_chronocomments/style.css" rel="stylesheet" type="text/css" /> <![endif]--> <!--[if !IE]> <--><link href="http://www.iphoto.ie/components/com_chronocomments/style.css" rel="stylesheet" type="text/css" /><!--> <![endif]--> <script type="text/javascript" src="http://www.iphoto.ie/components/com_chronocomments/editor.js"></script> <script type="text/javascript">var CommentPublished = 1; var CommentVerified = 1; var path = 'http://www.iphoto.ie/'; var imtype = '1'; var captcha = 1; var hideemail = 1; var hideurl = 0; var loadercolor = 'b'; var ENTER_NAME = 'Please Enter Your Name'; var NAME_LENGTH = 'Name length Should not exceed 50 characters'; var ENTER_COMMENT = 'Please Enter Your Comment!'; var ENTER_EMAIL = 'We need your valid email address for verifications!'; var URL_HTTP = 'Your URL should contain http://'; var WRONG_CODE = 'You have entered a wrong security code, please retry!'; var NOT_VERIFIED = 'Thank you, We have sent you an Email with a verfication link, please click it to verify your comment!'; var NOT_PUBLISHED = 'Thank you, your comment will be published once reviewed.'; var UNPUBLISHED_SUCCESS = 'Unpublished Successfully!'; var GUEST_CANT_VOTE = 'You need to login to vote'; var OWNER_CANT_VOTE = 'You can not vote because you are the owner or you already voted!'; </script> <script type="text/javascript" src="http://www.iphoto.ie/components/com_chronocomments/scripts.js"></script> <!--[if lte IE 6]> <link href="http://www.iphoto.ie/components/com_chronocomments/style-ie6.css" rel="stylesheet" type="text/css" /> <![endif]--> <!--[if gte IE 7]> <link href="http://www.iphoto.ie/components/com_chronocomments/style.css" rel="stylesheet" type="text/css" /> <![endif]--> <!--[if !IE]> <--><link href="http://www.iphoto.ie/components/com_chronocomments/style.css" rel="stylesheet" type="text/css" /><!--> <![endif]--> <script type="text/javascript" src="http://www.iphoto.ie/components/com_chronocomments/editor.js"></script> <script type="text/javascript">var CommentPublished = 1; var CommentVerified = 1; var path = 'http://www.iphoto.ie/'; var imtype = '1'; var captcha = 1; var hideemail = 1; var hideurl = 0; var loadercolor = 'b'; var ENTER_NAME = 'Please Enter Your Name'; var NAME_LENGTH = 'Name length Should not exceed 50 characters'; var ENTER_COMMENT = 'Please Enter Your Comment!'; var ENTER_EMAIL = 'We need your valid email address for verifications!'; var URL_HTTP = 'Your URL should contain http://'; var WRONG_CODE = 'You have entered a wrong security code, please retry!'; var NOT_VERIFIED = 'Thank you, We have sent you an Email with a verfication link, please click it to verify your comment!'; var NOT_PUBLISHED = 'Thank you, your comment will be published once reviewed.'; var UNPUBLISHED_SUCCESS = 'Unpublished Successfully!'; var GUEST_CANT_VOTE = 'You need to login to vote'; var OWNER_CANT_VOTE = 'You can not vote because you are the owner or you already voted!'; </script> <script type="text/javascript" src="http://www.iphoto.ie/components/com_chronocomments/scripts.js"></script> <!--[if lte IE 6]> <link href="http://www.iphoto.ie/components/com_chronocomments/style-ie6.css" rel="stylesheet" type="text/css" /> <![endif]--> <!--[if gte IE 7]> <link href="http://www.iphoto.ie/components/com_chronocomments/style.css" rel="stylesheet" type="text/css" /> <![endif]--> <!--[if !IE]> <--><link href="http://www.iphoto.ie/components/com_chronocomments/style.css" rel="stylesheet" type="text/css" /><!--> <![endif]--> <script type="text/javascript" src="http://www.iphoto.ie/components/com_chronocomments/editor.js"></script> <!-- Zaragoza Clouds Styles --> <style type="text/css"> .zonline1 { text-align: left; } .zonline2 { text-align: left; } .zonline3 { color: #f0f0f0; } .zonline4 { padding-top:7px; text-align:right; line-height: 5px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; } .zonline2 a:link{ text-decoration:none; } .zonline2 a:visited{ text-decoration:none; } .zonline2 a:hover{ text-decoration:none; } .container_clouds {background:#CCCCCC; margin:0 0px;} .container_tags{padding: 10px;} .rtop, .rbottom{ display:block; background:#FFFFFF; } .rtop *, .rbottom *{ display: block; height: 1px; overflow: hidden; background:#CCCCCC; } .r1{margin: 0 5px} .r2{margin: 0 3px} .r3{margin: 0 2px} .r4{ margin: 0 1px; height: 2px } </style> <!-- Zaragoza Clouds Styles ends here --> <link rel="stylesheet" href="http://www.iphoto.ie/templates/system/css/system.css" type="text/css" /> <link rel="stylesheet" href="http://www.iphoto.ie/templates/system/css/general.css" type="text/css" /> <link rel="stylesheet" href="http://www.iphoto.ie/templates/ja_purity/css/template.css" type="text/css" /> <script language="javascript" type="text/javascript" src="http://www.iphoto.ie/templates/ja_purity/js/ja.script.js"></script> <script language="javascript" type="text/javascript"> var rightCollapseDefault='show'; var excludeModules='38'; </script> <script language="javascript" type="text/javascript" src="http://www.iphoto.ie/templates/ja_purity/js/ja.rightcol.js"></script> <link rel="stylesheet" href="http://www.iphoto.ie/templates/ja_purity/css/menu.css" type="text/css" /> <link rel="stylesheet" href="http://www.iphoto.ie/templates/ja_purity/styles/background/lighter/style.css" type="text/css" /> <link rel="stylesheet" href="http://www.iphoto.ie/templates/ja_purity/styles/elements/black/style.css" type="text/css" /> <!--[if gte IE 7.0]> <style type="text/css"> .clearfix {display: inline-block;} </style> <![endif]--> <style type="text/css"> #ja-header,#ja-mainnav,#ja-container,#ja-botsl,#ja-footer {width: 97%;margin: 0 auto;} #ja-wrapper {min-width: 100%;} </style> <script type="text/javascript" src="/plugins/system/rokbox/rokbox.js"></script> <link href="/plugins/system/rokbox/themes/dark/rokbox-style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="/plugins/system/rokbox/themes/dark/rokbox-config.js"></script> </head>
<script type="text/javascript">var CommentPublished = 1; var CommentVerified = 1; var path = 'http://www.iphoto.ie/'; var imtype = '1'; var captcha = 1; var hideemail = 1; var hideurl = 0; var loadercolor = 'b'; var ENTER_NAME = 'Please Enter Your Name'; var NAME_LENGTH = 'Name length Should not exceed 50 characters'; var ENTER_COMMENT = 'Please Enter Your Comment!'; var ENTER_EMAIL = 'We need your valid email address for verifications!'; var URL_HTTP = 'Your URL should contain http://'; var WRONG_CODE = 'You have entered a wrong security code, please retry!'; var NOT_VERIFIED = 'Thank you, We have sent you an Email with a verfication link, please click it to verify your comment!'; var NOT_PUBLISHED = 'Thank you, your comment will be published once reviewed.'; var UNPUBLISHED_SUCCESS = 'Unpublished Successfully!'; var GUEST_CANT_VOTE = 'You need to login to vote'; var OWNER_CANT_VOTE = 'You can not vote because you are the owner or you already voted!'; </script>
2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com