piper338 Posted November 12, 2009 Report Share Posted November 12, 2009 My Route map stopped working, at first I thought it was my new design covering it up but then I loaded the default skin and it still doesn't work? Any ideas was it disabled in one of the updates? http://flyvva.org/index.php/RouteMap Thanks, Chad C. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted November 13, 2009 Administrators Report Share Posted November 13, 2009 You have to update your core_htmlhead.tpl - read the changelog, there's a few template changes, listed in there Quote Link to comment Share on other sites More sharing options...
piper338 Posted November 15, 2009 Author Report Share Posted November 15, 2009 Pardon my ignorance, I tried changing a few things to the core_htmlhead.tpl to no avail, could someone please help me out? Here is what the file looks like now, what do i change the var base url? <script type="text/javascript"> var baseurl = "<?php echo SITE_URL;?>"; var geourl = "<?php echo GEONAME_URL; ?>"; </script> <link rel="stylesheet" media="all" type="text/css" href="<?php echo fileurl('lib/css/phpvms.css')?>" /> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo Config::Get('PAGE_ENCODING');?>"> <?php if(GOOGLE_KEY!='') { echo '<script src="http://maps.google.com/maps?file=api&v=2&key='.GOOGLE_KEY.'" type="text/javascript"></script>'; } //<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> $files = array( 'jquery.min.js', 'jquery.form.js', 'jquery-ui.js'); # Build a condensed version of the above files # Suck 'em all into one file, reduce the number of HTTP requests # May also be cached $condenser = new CodonCondenser(); $condenser->SetOptions(SITE_ROOT.'/lib/js', SITE_URL.'/lib/js', 'js', ''); $cache_url = $condenser->GetCondensedFile($files, 'jquery-front.js', true); ?> <!--<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>--> <script type="text/javascript" src="<?php echo $cache_url?>"></script> <script type="text/javascript" src="<?php echo fileurl('lib/js/phpvms.js');?>"></script> <?php echo $MODULE_HEAD_INC;?> Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted November 15, 2009 Administrators Report Share Posted November 15, 2009 Try reverting to the default one, see if that helps Quote Link to comment Share on other sites More sharing options...
piper338 Posted November 16, 2009 Author Report Share Posted November 16, 2009 Hey Nabeel, The core_htmlhead.tpl is the original I haven't overridden. Now I did edit my header.tpl it looks like this. I assume this is my problem? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php echo $title ?></title> <link href="<?php echo SITE_URL?>/lib/skins/valujet2/images/site.css" rel="stylesheet" type="text/css" media="all" /> <?php Template::Show('core_htmlhead.tpl'); ?> </head> <body> <?php Template::Show('core_htmlreq.tpl'); ?> <div id="container"> <div id="container2"> <div id="nav"> <?php Template::Show('core_navigation.tpl'); ?> </div> <div id="header"> <?php /* Only show this login form if they're logged in */ if(Auth::LoggedIn() == false) { ?> <div id="member"> <form name="loginform" method="post" action="<?php echo url('/login');?>"> <?php echo "<?xml version='1.0'?>"; ?> <?php if(isset($message)) echo '<p class="error">'.$message.'</p>'; ?> <input name="email" type="text" value="VJA" size="6" /> <input name="password" type="password" value="" size="8" /> <input class="login" type="submit" name="submit" value="Log In" /> <input class="hidden" type="hidden" name="redir" value="index.php/profile" /> <input class="hidden" type="hidden" name="action" value="login" /> </form> <p class="buttom"></p> </div> <?php } /* End the Auth::LoggedIn() if */ else /* Else - they're logged in, so show some info about the pilot, and a few links */ { /* Auth::$userinfo has the information about the user currently logged in */ /* We will use this, this gets their full pilot id, formatted properly */ $pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid); ?> <?php } /* End the else */ ?> </div> <div id="top-img"><img src="<?php echo SITE_URL?>/lib/skins/valujet2/images/top-img.png" /></div> <div id="contentwrapper"> <div id="main-conent"> Quote Link to comment Share on other sites More sharing options...
piper338 Posted November 16, 2009 Author Report Share Posted November 16, 2009 OK, all I did was disable my header.tpl and then re enable it and it started working fine. But I guess I still should update it to the new format? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted November 16, 2009 Administrators Report Share Posted November 16, 2009 If it's working now, it should be fine, but I would use WinMerge or something to make sure you're not missing anything Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.