Find out more about the “Show Off Your Avatar Campaign
RocketTheme  |  General  |  Free/GPL/Tutorials Discussions  |  Topic: Novus Template Error « previous next »
Pages: [1] Go Down Print
Author Topic: Novus Template Error  (Read 4561 times)
Doug Cure
Newbie
*
Offline Offline

Posts: 2

Novus Template Error
« on: July 23, 2008, 04:15:16 PM »

Hello,

I'm not sure which forum to post this in since its one of RocketTheme's free templates.

When this page is viewed in IE 7 I get a javascript error which can be seen on the site. This error is not there when viewed on FireFox. Does anyone have an idea as to what is causing this?

http://www.salinacee.com/

Thanks!
Logged
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Offline Offline

Posts: 35413


Firebug...Firebug...Firebug!

WWW
Re: Novus Template Error
« Reply #1 on: July 24, 2008, 07:14:01 AM »

What does this error message say?
Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
Doug Cure
Newbie
*
Offline Offline

Posts: 2

Re: Novus Template Error
« Reply #2 on: July 24, 2008, 07:58:25 AM »

The error is:

Error: 'document.getElementById(...)' is null or not an object
Logged
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Offline Offline

Posts: 35413


Firebug...Firebug...Firebug!

WWW
Re: Novus Template Error
« Reply #3 on: July 25, 2008, 07:29:11 AM »

Could you attach your index.php file?
Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
Mark Matsusaki
Newbie
*
Offline Offline

Posts: 12


WWW
Re: Novus Template Error
« Reply #4 on: August 06, 2008, 01:19:29 PM »

Was there any resolution to this?  I've attached my index.php as I didn't see the other one posted. ..

I'm running into the same issue.  Check out the goods at: www.familypsychsolutions.com

Logged
James S!
Muffin Man
RocketTheme
Hero Rocketteer
*
Offline Offline

Posts: 35413


Firebug...Firebug...Firebug!

WWW
Re: Novus Template Error
« Reply #5 on: August 07, 2008, 08:19:20 AM »

Change

Code:
<?php if (isIe6()) :?>
<!--[if lte IE 6]>
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_ie6.css" rel="stylesheet" type="text/css" />
<?php if($iepng_fix == "true") : ?>
<style type="text/css">
img { behavior: url(<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/iepngfix.htc); }
</style>
<?php endif; ?>
<![endif]-->
<?php endif; ?>
<?php if($mtype=="splitmenu") :
echo "<!--[if IE]>\n";
  include_once( "$mosConfig_absolute_path/templates/" $mainframe->getTemplate() . "/js/ie_splitmenu.js" );
  echo "<![endif]-->\n";
endif; ?>


To

Code:
<?php if (isIe6()) :?>
<!--[if lte IE 6]>
<link href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_ie6.css" rel="stylesheet" type="text/css" />
<?php if($mtype=="splitmenu") : ?>
<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/js/ie_splitmenu.js"></script>
<?php endif; ?>
<?php if($iepng_fix == "true") : ?>
<style type="text/css">
img { behavior: url(<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/iepngfix.htc); }
</style>
<?php endif; ?>
<![endif]-->
<?php endif; ?>
Logged

Firebug Video Tuts: - Editing HTML - Javascript Errors - Logo Changes

Video tutorials on how to use Firebug, its what we use Smiley
Pages: [1] Go Up Print 
RocketTheme  |  General  |  Free/GPL/Tutorials Discussions  |  Topic: Novus Template Error « previous next »
Jump to: