On the home page, I can see those errors with Firebug :

object.prototype is undefined
/theme284/scripts/mootools.js   Line 38

too much recursion
/theme284/scripts/mootools.js  Line 266

Hash.Cookie is not a constructor
/Template/modules/mod_news_show_gk3/scripts/engine_1_11_compressed.js/
eval/seq/1     Line 1

If you go to About us/contact , you should get the window.addEvent
error.

My index.php is like this :

<jdoc:include type="head" />
<?php JHTML::_( 'behavior.modal' ); ?>
<?php $isIE6 = strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6');
    /* --- This removes any default Scripts from the Header Buffer ---
*/
    $header = $this->getHeadData();                   // Get the
current HEAD buffer
    $header['scripts'] = array();                     // Clear all
current 'scripts' entries
    $this->setHeadData($header);                      // Update the
HEAD buffer
    /* --- We add the MooTools Framework manually, see below --- */ ?>

<script type="text/javascript" src="<?php echo $path; ?>/scripts/
mootools.js"></script>
<script type="text/javascript" src="<?php echo $path; ?>/scripts/
modals.js"></script>
<!--[if IE 6]>
           <script type="text/javascript" src="<?php echo $path ?>/scripts/
ie_png.js"></script>
           <script type="text/javascript">
                   ie_png.fix('.png');
           </script>
<![endif]-->
<link rel="stylesheet" href="<?php echo $path ?>/css/template.css"
type="text/css" />
<link rel="stylesheet" href="<?php echo $path ?>/css/constant.css"
type="text/css" />
<link rel="stylesheet" href="<?php echo $path ?>/css/menu.css"
type="text/css" />
<link rel="shortcut icon" href="<?php echo $path ?>/favicon.ico"
type="image/x-icon" />

Should I call the mootools provided with my template or the one
provided with the joomla core files .

I have just removed (unpublished) the GK3 news module to make the
troubleshooting easier.


Thanks

On 19 mar, 21:46, Sanford Whiteman <[email protected]>
wrote:
> > I have just sent you an email with the link to the website since it is
> > not "officially" published. :-)
>
> I do not see an error on window.addEvent on that page.
>
> But  I  do  see errors elsewhere in MooTools 1.11 -- make sure you are
> including  MooTools  1.2,  as  you  are  using  plug-ins  that require
> 1.2-only features.
>
> -- S.

To unsubscribe from this group, send email to 
mootools-users+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to