jpsiom Posted September 13, 2013 Report Posted September 13, 2013 I do apologise, I am quite new to this. But anyway recently I decided to start skinning by myself and not counting on others templates. Its going great however, I get stuck when I click on the links in the nav bar and it still stays on the home page? <?php /** * * STOP!!!!!!!! * * Are you editing the crystal skin directly? * DON'T * * Copy and rename the crystal folder. Otherwise it'll get * overwritten in an update. * * Also, READ THE DOCS * * http://www.phpvms.net/docs/skinning * */ ?><!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" xml:lang="en" lang="en" dir="ltr" class=" webkit chrome win js js cssanimations csstransforms cufon-active cufon-ready"> <head> <meta http-equiv="X-UA-Compatible" content="IE=7"> <title><?php echo $page_title; ?></title> <link rel="stylesheet" media="all" type="text/css" href="<?php echo SITE_URL?>/lib/skins/flyregional/style.css" /> <link href="<?php echo SITE_URL?>/lib/skins/flyregional/js-image-slider.css" rel="stylesheet" type="text/css" /> <script src="<?php echo SITE_URL?>/lib/skins/flyregional/js-image-slider.js" type="text/javascript"></script> <?php /* This is required, so phpVMS can output the necessary libraries it needs */ echo $page_htmlhead; ?> <?php /*Any custom Javascript should be placed below this line, after the above call */ ?> <script type="text/javascript" src="engine1/jquery.js"></script> </head> <body> <?php /* This should be the first thing you place after a <body> tag This is also required by phpVMS */ echo $page_htmlreq; ?> <div id="body"> <div id="innerwrapper"> <div id="topBanner"> <div id="topLogin"> <?php /* Quick example of how to see if they're logged in or not Only show this login form if they're logged in */ if(Auth::LoggedIn() == false) { ?> <form name="loginform" action="<?php echo url('/login'); ?>" method="post"> Sign-in with your pilot id or email, to access the Pilot Center</a><br /> <input type="text" style="border:1px solid #DCDCDC; color:#003663; font-size:11px;" name="email" value="" onclick="this.value='FLR'"> <input style="border:1px solid #DCDCDC; color:#003663; font-size:11px;" type="password" name="password" value=""> <input type="hidden" name="remember" value="on" /> <input type="hidden" name="redir" value="index.php/profile" /> <input type="hidden" name="action" value="login" /> <input type="submit" name="submit" value="Log In" /> </form> <?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 next line - this gets their full pilot id, formatted properly */ $pilotid = PilotData::GetPilotCode(Auth::$userinfo->code, Auth::$userinfo->pilotid); ?> <img align="left" height="50px" width="50px" style="margin-right: 10px;" src="<?php echo PilotData::getPilotAvatar($pilotid);?>" /> Welcome back <strong><?php echo Auth::$userinfo->firstname . ' ' . Auth::$userinfo->lastname;?></strong>!<br /> <strong>Rank: </strong><?php echo Auth::$userinfo->rank;?><br /> <strong>Total Flights: </strong><?php echo Auth::$userinfo->totalflights?>, <strong>Total Hours: </strong><?php echo Auth::$userinfo->totalhours;?> <br /> <?php } /* End the else */ ?> </div> </div> <div id="topNav"> <ul class="nav"> <?php /* You can modify this template into a table or something, by default it's list elements inside of a UL. Here's a link with some info: http://articles.sitepoint.com/article/css-anthology-tips-tricks-4/2 */ Template::Show('core_navigation.tpl'); ?> </ul> </div> <div id="bodytext"> <div id="slider"style="margin-right: 2px; margin-left:2px; margin-bottom: 30px;"> <img src="http://www.flyregional.net/lib/skins/flyregional/images/banner-1.png" /> <img src="http://www.flyregional.net/lib/skins/flyregional/images/banner-3.png/> <img src="http://www.flyregional.net/lib/skins/flyregional/images/banner-4.png" /> </div> <div id="lefta" style="float: left; width 320px; min-height: 950px;"> <div style="width: 320px; float:left;"> <div class="frontpage_title_left">Welcome to FlyRegional!</div> <div class="frontpage_text1" style="padding-top: 0px; padding-bottom: 0px;"> <p1>Welcome to flyeuro Virtual Airlines, a low-cost, no frills European virtual airline that prides itself of high quality service to provide a fantastic experience to all flight simmers. Low-cost airlines aim to provide a simple, straight forward service for it's staff and passengers - therefore so do we!</p1><br /> <p1>We base our headquarters in United Kingdom, and base our main operations out of our main hub in Liverpool, United Kingdom.</p1><br /> <p1>Low-cost doesn't have to mean a series of compromises in the fields of safety, fleet, services and professionalism. Our aim is to be one of the largest virtual low-cost carriers in Europe (quite ambitious, we know!) and we'll need your help to achieve this. Whether you fly for us, or help us in managing the airline, your help is truely vital to us!</p1><br /> <p1>So, are you convinced to join? Go ahead, you won't regret it!</p1><br /> <p></p> </div> <div class="frontpage_title_left">News!</div> <div class="frontpage_text1" style="padding-top: 0px; padding-bottom: 0px;"> <p1>Welcome to flyeuro Virtual Airlines, a low-cost, no frills European virtual airline that prides itself of high quality service to provide a fantastic experience to all flight simmers. Low-cost airlines aim to provide a simple, straight forward service for it's staff and passengers - therefore so do we!</p1><br /> <p1>We base our headquarters in United Kingdom, and base our main operations out of our main hub in Liverpool, United Kingdom.</p1><br /> <p1>Low-cost doesn't have to mean a series of compromises in the fields of safety, fleet, services and professionalism. Our aim is to be one of the largest virtual low-cost carriers in Europe (quite ambitious, we know!) and we'll need your help to achieve this. Whether you fly for us, or help us in managing the airline, your help is truely vital to us!</p1><br /> <p1>So, are you convinced to join? Go ahead, you won't regret it!</p1><br /> <p></p> </div> </div> <div style="float: left; width: 420px; min-height: 950px; margin-left:19px; margin-right:-30px; margin-bottom: 5px;"> <div id="destslide" class="centerpics" style="overflow: hidden; padding: 0px; position: relative;"><a href="http://flyeurova.com/index.php/PopUpNews/popupnewsitem/68"><img src="http://flyeurova.com/lib/skins/flyeuro/images/home/autumn_expansion.jpg" style="position: absolute; visibility: hidden; top: 0px; left: 0px; border: 0px;"></a><a href="http://flyeurova.com/index.php/PopUpNews/popupnewsitem/68"><img src="http://flyeurova.com/lib/skins/flyeuro/images/home/autumn_charters.jpg" style="position: absolute; visibility: visible; top: 0px; left: 0px; border: 0px; opacity: 1;"></a></div> <div class="centerpics border"> <a href="http://flyeurova.com/index.php/PopUpNews/popupnewsitem/65"><img class="border" src="http://flyeurova.com/lib/skins/flyeuro/images/home/featured_destination_lkpr.jpg" alt="Featured Destination"></a><br><br> <a href="http://flyeurova.com/index.php/PopUpNews/popupnewsitem/50"><img class="border" src="http://flyeurova.com/lib/skins/flyeuro/images/home/asot600_tour.png" alt="ASOT 600"></a><br><br> <a href="http://flyeurova.com/index.php/PopUpNews/popupnewsitem/36"><img class="border" src="http://flyeurova.com/lib/skins/flyeuro/images/home/managerial.png" alt="Staff"></a><br><br> </div> </div> <div style="float: right; width: 180px; margin-left: 35px; height:24px;"> <div class="frontpage_sidebar_header">Recent PIREPS</div> <div class="sidebox_table" style="padding-top: 0px; padding-bottom: 0px;"><?php MainController::Run('PIREPS', 'RecentFrontPage', 5); ?></div> </div> <div style="float: right; width: 180px; margin-left: 35px; height:24px;"> <div class="frontpage_sidebar_header">Recent Pilots</div> <div class="sidebox_table" style="padding-top: 0px; padding-bottom: 0px;"><?php MainController::Run('Pilots', 'RecentFrontPage', 5); ?></div> </div> <div id="footer"> <p>copyright © 2007 - <?php echo date('Y') ?> - <?php echo SITE_NAME; ?><br /> <!-- Please retain this!! It's part of the phpVMS license. You must display a "powered by phpVMS" somewhere on your page. Thanks! --> <a href="http://www.phpvms.net" target="_blank">powered by phpVMS</a></p> </div> </div> </body> </html> Can anyone help me, thanks? Quote
BaRBeR Posted September 15, 2013 Report Posted September 15, 2013 can you post the code of your core_navigation.tpl that you are using for your <?php include ? Quote
freshJet Posted September 15, 2013 Report Posted September 15, 2013 You're copying code from another site. That's what you're doing wrong. Shame, because it looks promising. Oh, and you state you fly the A320neo. The A320neo is not in service yet. You fly the A320 with sharklets. It's not the same. 1 Quote
HighFlyerPL185 Posted September 22, 2013 Report Posted September 22, 2013 But anyway recently I decided to start skinning by myself and not counting on others templates It's simply better to rip off a website instead. More discrete. Miserable failure. Quote
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.