Jacob Armstrong Posted July 5, 2010 Report Share Posted July 5, 2010 I need some help. I don't know what is wrong with my Pilot Roster. I think that it might be a CSS problem, but I'm not good with it. Can someone please tell me how to fix it or I can give you the CSS and you can edit it for me. Thanks! Quote Link to comment Share on other sites More sharing options...
monkeypaw201 Posted July 5, 2010 Report Share Posted July 5, 2010 Do you have a link or screenshot to accompany your request? Quote Link to comment Share on other sites More sharing options...
Jacob Armstrong Posted July 5, 2010 Author Report Share Posted July 5, 2010 Do you have a link or screenshot to accompany your request? LOL! WOOPS! Sorry, just realized that I didn't give the link. http://virtualamerican.org/index.php/pilots Quote Link to comment Share on other sites More sharing options...
monkeypaw201 Posted July 5, 2010 Report Share Posted July 5, 2010 (edited) Ok, so it looks fine, formatting wise anyways (overall).. what were you trying to accomplish? EDIT: Rather, what is the problem? Edited July 5, 2010 by Lorenzo Aiello Quote Link to comment Share on other sites More sharing options...
Jacob Armstrong Posted July 5, 2010 Author Report Share Posted July 5, 2010 Ok, so it looks fine, formatting wise anyways (overall).. what were you trying to accomplish? EDIT: Rather, what is the problem? The South Hub is way too low for where it should be. Quote Link to comment Share on other sites More sharing options...
monkeypaw201 Posted July 5, 2010 Report Share Posted July 5, 2010 Oh, haha, my bad.. I didn't scroll down Lets see what magic I can do Quote Link to comment Share on other sites More sharing options...
Jacob Armstrong Posted July 5, 2010 Author Report Share Posted July 5, 2010 Oh, haha, my bad.. I didn't scroll down Lets see what magic I can do Lol. Ok. Thanks. Quote Link to comment Share on other sites More sharing options...
monkeypaw201 Posted July 5, 2010 Report Share Posted July 5, 2010 Well, it looks like your South Hub is outside of your content div tag.. which would explain why its getting positioned down there. If you move it up above the <div id="clear"/> and then put it right above the </div> it should work. Quote Link to comment Share on other sites More sharing options...
Jacob Armstrong Posted July 5, 2010 Author Report Share Posted July 5, 2010 Well, it looks like your South Hub is outside of your content div tag.. which would explain why its getting positioned down there. If you move it up above the <div id="clear"/> and then put it right above the </div> it should work. This is my code: <div id="main"> <h4><?php echo $title?></h4> <?php if(!$allpilots) { echo 'There are no pilots!'; return; } ?> <table id="tabledlist" class="tablesorter"> <thead> <tr> <th>Pilot ID</th> <th>Name</th> <th>Rank</th> <th>Flights</th> <th>Hours</th> <th>FlightRUN</th> </tr> </thead> <tbody> <?php foreach($allpilots as $pilot) { /* To include a custom field, use the following example: <td> <?php echo PilotData::GetFieldValue($pilot->pilotid, 'VATSIM ID'); ?> </td> For instance, if you added a field called "IVAO Callsign": echo PilotData::GetFieldValue($pilot->pilotid, 'IVAO Callsign'); */ ?> <tr> <td width="1%" nowrap><a href="<?php echo SITE_URL?>/index.php/profile/view/<?php echo $pilot->pilotid?>"> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?></a> </td> <td> <img src="<?php echo Countries::getCountryImage($pilot->location);?>" alt="<?php echo Countries::getCountryName($pilot->location);?>" /> <?php echo $pilot->firstname.' '.$pilot->lastname?> </td> <td><img src="<?php echo $pilot->rankimage?>" alt="<?php echo $pilot->rank;?>" /></td> <td><?php echo $pilot->totalflights?></td> <td><?php echo $pilot->totalhours?></td> <td> <?php echo PilotData::GetFieldValue($pilot->pilotid, 'FlightRUN (FRUN)'); ?> </td> <?php } ?> </tbody> </table> <!--for every page you make, copy and paste the code below exactly how it is so the footer will align correctly!--> </div> <div class="leftbottom"></div> </div> <div id="clear"></div> Quote Link to comment Share on other sites More sharing options...
Jeff Posted July 5, 2010 Report Share Posted July 5, 2010 Ah, That is the Obsess Blue template. I had the same problem when I was using it. It definitely is not css related. It is a problem with the way you have the script in pilot_list.tpl. Let me get my brain together and see if I can remember what I did to resolve it. Quote Link to comment Share on other sites More sharing options...
monkeypaw201 Posted July 5, 2010 Report Share Posted July 5, 2010 Uhh, no.. go lower.. would you mind posting the whole page? Or everything between: <div id="main"> and <div id="footer"> Quote Link to comment Share on other sites More sharing options...
Jacob Armstrong Posted July 5, 2010 Author Report Share Posted July 5, 2010 Ah, That is the Obsess Blue template. I had the same problem when I was using it. It definitely is not css related. It is a problem with the way you have the script in pilot_list.tpl. Let me get my brain together and see if I can remember what I did to resolve it. I'm using the Clowdy template. The ObsessBlue was just way to much to edit the with the staff that I had. I didn't have a technical administrator at the time, and the one we have now is writing us our own system. I would still like to get this working for now though. It might just have the code copied from the ObsessBlue template...I don't know. LOL! Quote Link to comment Share on other sites More sharing options...
Jeff Posted July 5, 2010 Report Share Posted July 5, 2010 I had tons of problems with that page on the obsess blue so I wadded it up and tossed it in the recycle bin. Quote Link to comment Share on other sites More sharing options...
Jeff Posted July 5, 2010 Report Share Posted July 5, 2010 yeah, we need to see some more script. Paste the whole script so we can take a look at it. Quote Link to comment Share on other sites More sharing options...
Jacob Armstrong Posted July 5, 2010 Author Report Share Posted July 5, 2010 yeah, we need to see some more script. Paste the whole script so we can take a look at it. Whole script of? That is everything that is in the pilots_list.tpl file. Quote Link to comment Share on other sites More sharing options...
monkeypaw201 Posted July 5, 2010 Report Share Posted July 5, 2010 No, the layout.tpl or whatever script is used to include the pilots_list.tpl Quote Link to comment Share on other sites More sharing options...
Jacob Armstrong Posted July 5, 2010 Author Report Share Posted July 5, 2010 No, the layout.tpl or whatever script is used to include the pilots_list.tpl There is no layout.tpl in the clowdy folder. Would it be in core/templates? Quote Link to comment Share on other sites More sharing options...
Jeff Posted July 5, 2010 Report Share Posted July 5, 2010 hang on, let me install that template to see what and where the info is being pulled from Quote Link to comment Share on other sites More sharing options...
monkeypaw201 Posted July 5, 2010 Report Share Posted July 5, 2010 No.. is there a footer.tpl? Quote Link to comment Share on other sites More sharing options...
Jacob Armstrong Posted July 5, 2010 Author Report Share Posted July 5, 2010 hang on, let me install that template to see what and where the info is being pulled from Thanks! Quote Link to comment Share on other sites More sharing options...
Jeff Posted July 5, 2010 Report Share Posted July 5, 2010 The link to download that template is not listed. Quote Link to comment Share on other sites More sharing options...
Jacob Armstrong Posted July 5, 2010 Author Report Share Posted July 5, 2010 No.. is there a footer.tpl? Yes. <div id="footer"> <p>Copyright © 2010 Virtual American Airlines - All rights reserved | We are in no way related with the real world American Eagle and American Airlines. If you would like to book a flight with them, you can visit: www.aa.com. All logos and trademarks are hereby thereof American Airlines © American Eagle Airlines © and AMR Corp ©. Powered by <a href="http://phpvms.net">phpVMS</a>. </div> </div> </body> </html> Quote Link to comment Share on other sites More sharing options...
Jacob Armstrong Posted July 5, 2010 Author Report Share Posted July 5, 2010 The link to download that template is not listed. Their website is down. It's from FSPaintShop. This is not the computer that I downloaded the template on. Quote Link to comment Share on other sites More sharing options...
Jeff Posted July 5, 2010 Report Share Posted July 5, 2010 can you download it from your site and zip it up and link it? Quote Link to comment Share on other sites More sharing options...
monkeypaw201 Posted July 5, 2010 Report Share Posted July 5, 2010 +1 On that.. it would make debugging easiest Quote Link to comment Share on other sites More sharing options...
Jacob Armstrong Posted July 5, 2010 Author Report Share Posted July 5, 2010 can you download it from your site and zip it up and link it? Here ya go. clowdy.zip Quote Link to comment Share on other sites More sharing options...
monkeypaw201 Posted July 5, 2010 Report Share Posted July 5, 2010 Ok, if you are willing to be a little experimental, try removing lines 61-64 from pilots_list.tpl and adding the following code to footer.tpl (before anything else) </div> <div class="leftbottom"></div> </div> <div id="clear"></div> Quote Link to comment Share on other sites More sharing options...
monkeypaw201 Posted July 5, 2010 Report Share Posted July 5, 2010 Oops, Try just removing 63 and 64, and put this into footer.tpl: </div> <div id="clear"></div> Quote Link to comment Share on other sites More sharing options...
Jacob Armstrong Posted July 5, 2010 Author Report Share Posted July 5, 2010 Ok, if you are willing to be a little experimental, try removing lines 61-64 from pilots_list.tpl and adding the following code to footer.tpl (before anything else) </div> <div class="leftbottom"></div> </div> <div id="clear"></div> I love experimenting! It sorta fixed it! LOL Quote Link to comment Share on other sites More sharing options...
monkeypaw201 Posted July 5, 2010 Report Share Posted July 5, 2010 We're getting there, lol 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.