Support Forums

Got a question? Post it here. We'd love to help.

Knowledge Base:

Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
  1.  

    Hi,

    The problems I am having are javascript on the Vitality theme in IE 6 and IE 7.

    Line: 5
    Char: 140
    Error:'this.element' is null or not an object
    Code 0

    Line: 249
    Char: 1
    Error: Object doesn;t support this property or method
    Code: 0

    I notice they don't appear on your demo themes.

    My moodle version is: 1.9.1+ (Build: 20080611)

    The header image is not working correctly in IE 6

    I also notice that the template references some javascript files @newschoollearning.com that are not included in the source files.

    I would prefer not to disclose the URL to the site in these forums yet - I would be happy to email this to you,

    Thanks

    Martin

    •  
      CommentAuthorptrkmkl
    • CommentTimeJun 23rd 2008
     

    Generally, javascript errors that appear on your machine, but not on the demo server, can be related to your Moodle installation, and not the theme itself since the theme on the demo and the theme you have downloaded have very minor differences. Could you switch to the Custom Corners theme and try to replicate the errors?

    Can you upload a screenshot of the header image not working correctly in ie6? If not, can you explain how it is not working correctly?

    Are you referring to the demo site referencing javascript files at this domain? Or, do you mean that your Vitality theme (the one that you downloaded from us) is referencing javascript to this domain? Because the demo site references different javascript to handle the behavior of my style switcher that is not included in your theme. If you have javascript in your downloaded theme referenced to us, can you give me the entire path?

    I think I have your URL from a previous email. Is this correct?

  2.  

    Hi,

    Customer Corners does not replicate the errors - works fine on IE6 and 7.

    I'll email you the screenshots if that is ok

    From the source code of my installation:

    <script type="text/javascript" src="http://newschoollearning.com/demo/moo.js"></script>
    <script type="text/javascript" src="http://newschoollearning.com/demo/mootools.js"></script>
    <script type="text/javascript" src="http://newschoollearning.com/demo/slider.js"></script>
    <link rel="stylesheet" type="text/css" href="http://newschoollearning.com/demo/style.css" />

    Thanks for your help on this,

    Regards

    Martin

    •  
      CommentAuthorptrkmkl
    • CommentTimeJun 23rd 2008
     

    Those lines should not be there - they reference the necessary files for my style switcher to function - I must have done an upload while working on my demo server. I have reinstated your download link (the one sent when the theme was purchased. You can use that link to download a fresh copy of Vitality sans all that javascript.

    This should fix your javascript errors.

    As far as the IE6 issue with the header image, have you renamed your theme by any chance?

  3.  

    That seems to have done the trick - thanks.

    I assume that you cannot rename the theme then?

    Cheers

    •  
      CommentAuthorptrkmkl
    • CommentTimeJun 23rd 2008
     

    Yes. But, if you do, you will have to also change the file path in:

    - vitality/meta.php (two spots)
    - vitality/styles_ie6.css