Jump to content

Jeff

Members
  • Posts

    1307
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Jeff

  1. Jeff

    Titles

    PM me with the layout.tpl I cannot use mine, because I heavily modified it, so I don't remember what is in the original one.
  2. Jeff

    Titles

    Give me a few minutes. I will load the template and check the correct code.
  3. I don't believe the system is set up that way. What you could do is combine all the flights as one airline, and in the "Notes" filed, type the Operating Airline name in there. Ex: Operated by Arkia. Other than that, I don't think I understand.
  4. Jeff

    Titles

    I'm sorry, I didn't go down far enough. Scroll almost all the way down and find this <!-- end of templatemo_content_wrapper --> <div id="templato_other_content"> <div class="templatemo_box"> <h2><span></span><?php echo $page_title; ?></h2> That should do it. Let me know if it didn't. I don't use this template anymore, so it is hard to check it.
  5. Shouldn't you be able to get a better result if you were to change this (in app.config.php) # Units settings # These are global, also used for FSPAX Config::Set('WeightUnit', '1'); # 0=Kg 1=lbs Config::Set('DistanceUnit', '2'); # 0=KM 1= Miles 2=NMiles <-Change this to 0-> Config::Set('SpeedUnit', '1'); # 0=Km/H 1=Kts Config::Set('AltUnit', '1'); # 0=Meter 1=Feet Config::Set('LiquidUnit', '3'); # 0=liter 1=gal 2=kg 3=lbs Config::Set('WelcomeMessage', 'phpVMS/FSPAX ACARS'); # Welcome Message Config::Set('LIQUID_UNIT_NAMES', array('liter','gal','kg', 'lbs')); and place that in the local.config.php?
  6. Jeff

    Titles

    Inside the layout.tpl look for this code <div id="templatemo_header"> <div id="site_title"> <h1> </h1> </div> <!-- end of site_title --> and remove this <div id="site_title"> <h1> </h1> </div> <!-- end of site_title --> That should do it.
  7. I've never used this skin, but I keep it around for just this purpose (support). I hope you were able to get it working, and no problem.
  8. The Pilot ID configs are located in the local.config # See more details about these in the docs Config::Set('PAGE_EXT', '.htm'); # .htm is fine. You can still run PHP Config::Set('PILOTID_OFFSET', 0); # What # to start pilot ID's from Config::Set('PILOTID_LENGTH', 4); # Length of the Pilot ID Config::Set('UNITS', 'nm'); # Your units: nm, mi or km Config::Set('LOAD_FACTOR', '82'); # %age load factor Config::Set('CARGO_UNITS', 'lbs');
  9. Place this with the rest of the menu items: <?php } else { // Show these items only if they are logged in ?> <li><a href="<?php echo url('/profile'); ?>" rel="dropmenu2">Pilot Operations</a></li> <li><a href="<?php echo url('#'); ?>" rel="dropmenu3">Admin Center</a></li> <?php } ?> Next, create the links for the menu under the <!--2nd drop down menu --> items (after the </div>): <!--3rd drop down menu --> <div id="dropmenu3" class="dropmenudiv" style="width: 150px;"> <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { echo '<a style="border-left: 1px solid #DADADA;" href="'.fileurl('/admin').'">Admin Center</a>'; } ?> <a href="<?php echo url('/admin/yourlink'); ?>">Your Link</a> <a href="<?php echo url('/admin/yourlink'); ?>">Your Link</a> <a href="<?php echo url('/admin/yourlink'); ?>">Your Link</a> <?php } ?> </div> It should work now.
  10. But I do agree with Tom concerning Flash sites. One, they look too "busy" when visiting them (especially when a person can visit sometimes 20+ times a day). Two, they use a lot of bandwith, and three, it can really slow down your website considerably.
  11. The footer is an easy fix. Open your vAirline/layout.tpl and add a </div> at the very end of the tpl.
  12. Nicely done on that vAirline template conversion. Not sure with IE, but on Chrome, your footer doesn't align with the rest of the site. Nice to see some new rank images on a VA. Great job on them. Good luck with your VA.
  13. 755 is the correct permission for that folder. Try uploading the original folder again to make sure you didn't change something you shouldn't have.
  14. I understand what and why you are wanting to do here, but I prefer to do all the training for my VA. I really don't like the idea to depend on someone else to do something that I, or my staff could be doing ourselves. Don't take this the wrong way, it really is a good idea to have this, but for me, I wouldn't want it.
  15. I use Microsoft© FrontPage for building my website. I am also very good at HTML if you ever need help with something. Not much good at .css but still learning it. For php, you can pretty much find everything related to what you need here in the forums.
  16. .css Look for where it says: body { background-color: #062139; /* change this color code to the color you want as your background color. */
  17. Inside your phpMyAdmin area, you should find your pirep fields by clicking phpvms_pirepfields then add whatever you just added in the Admin Center for your custom field and save it. Use the other fields as an example of how they are written. Test it out to see if the field is being written correctly.
  18. Thanks. Worked, and I knew it was a simple fix.
  19. I have a slight problem when using this. I already use dd, dt and dl in my css, and it is interfering with my registration and log-in pages. The forms on those pages are showing the images from your css code. Your code in css dl, dt, dd { margin:0;padding:0;}dd { width:216px; height:41px; background:url(/lib/images/bg_bar.gif) no-repeat 0 0; position:relative;}dd span{ position:absolute; display:block; width:200px; height:25px; background:url(/lib/images/bar.gif) no-repeat 0 0; top:8px; left:8px; overflow:hidden; text-indent:-8000px; } dd em { position:absolute; display:block; width:200px; height:25px; background:url(/lib/images/bg_cover.gif) repeat-x; top:0; } My css that controls the forms on registration and log-in dl { position: relative; width: 730px; z-index: 100; clear: both; } dt { clear: both; float: left; width: 180px; padding: 0px 0 2px 0; text-align: left; font-size: 12px; font-weight: bold; } dd { float: left; width: 520px; margin: 0 0 8px 0; padding-left: 6px; font-size: 12px; } dd button { } dd p { margin-top: 0px; } dd input { width: 300px; padding: 3px; margin-bottom: 3px; z-index: 500; } How can I solve this so they aren't conflicting each other?
  20. Although, not tested. You should be able to place it in the core/templates/frontpage_recentpilots.tpl like this: <?php foreach($pilots as $pilot) { ?> <p><?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid). ' ' .$pilot->firstname . ' ' . $pilot->lastname?> <?php echo date(DATE_FORMAT, strtotime($userinfo->joindate)); ?></p> <?php } ?> It should work though Edmund. **Remember, any time you edit a core/templates/.tpl file, you should place the edited one in your lib/skins/your skin folder, so it wont be overwritten during a phpVMS update.
  21. Code Snippets would be the best place to post that.
×
×
  • Create New...