Jump to content

Tom

Members
  • Posts

    1517
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Tom

  1. It's a lot of templates to change.. I think this is a good idea also.
  2. Handing over FTP details? I don't think so...
  3. Hello, here is a tpl to add this feature. Place in: Admin/templates/ - make sure to back up the original ops_scheduleform.tpl, perhaps rename it. http://www.fstools.co.uk/upload/ops_scheduleform.tpl
  4. Hi Jeremy, here's an example: Create a copy of downloads_list.tpl in your skin folder, find: <li> <a href="<?php echo url('/downloads/dl/'.$download->id);?>"> <?php echo $download->name?></a><br /> <?php echo $download->description?><br /> <em>Downloaded <?php echo $download->hits?> times</em></li> Replace: <li style="overflow:hidden;"> <a href="<?php echo url('/downloads/dl/'.$download->id);?>"> <?php echo $download->name?></a> <img src="<?php echo $download->image?>" style="float:right;" /><br /> <?php echo $download->description?><br /> <em>Downloaded <?php echo $download->hits?> times</em></li> This adds the image on the right of the page, like so: You can of course position and style the image/list item as you wish by editing the style="", or adding an id/class. The List Item has "style="overflow:hidden;"" to prevent the images overlapping, if you change the position of the image you may not need this any more.
  5. CSS and PHP is no different, because php is just the server code, it still requires HTML to display in the browser. Just add styles in your css file for table, tr and td, or use classes when you don't want it to apply to every table.
  6. Assuming you are using one downloaded, place the folder containing header.tpl, footer.tpl etc etc in lib/skins/ Then you go to the admin panel and into your site settings.. there's a little dropdown around half way down to choose the skin.
  7. You'll want to change the last bit to this, else it'll get confused if you're logged in but aren't in the airline KLM: #topBanner { background: <?php if(Auth::$userinfo->code == KLM) { echo "http://***********/dev/lib/skins/crystal/images/KLM.jpg"; } else { echo "http://********/dev/lib/skins/crystal/images/UPS.jpg"; } ?>; width: 970px; height: 109px; }
  8. Right, you need to make your css a .php file and add the following at the top: <?php header("Content-type: text/css"); ?> And here's your code corrected: #topBanner { background: <?php if(Auth::$userinfo->code == KLM){ echo 'http://******/dev/lib/skins/crystal/images/KLM.jpg'; }else{ echo 'http://*******/dev/lib/skins/crystal/images/UPS.jpg'; } ?>; width: 970px; height: 109px; } You might need to put the airline code (KLM) in quote marks.
  9. Are they repeatedly sending emails? Add them to your junk/blocked list or report abuse/whatever it's called on hotmail.
  10. If you're not in any hurry, contact me. See sig.
  11. If you don't mind I might have a go at this one also, I've been thinking about it for a while and have a good idea to make it realistic looking.
  12. I would point you to the tutorials but they appear to be down at the moment. Until then have a go yourself, you basically need to split the html code into three parts; - Header (everything from the <html> tag to the start of your content, for example <div id="content">) - Frontpage_main (Everything you want to appear on the front page) - Footer (everything from the end of your content, e.g. the </div> tag which matches the previously mentioned opening tag, to the </html> tag) You then need to add a few bits of code for phpVMS, you can find those here: http://forum.phpvms.net/page/index.html?record=20
  13. Worlds largest airline.. But they totally ruined the livery: I mean how stupid does that look...
  14. You have black border? Odd. Can you post a link? When I get on my computer later I'll post something for you, it switches the stylesheet depending on th screen resolution.
  15. Tom

    CSS Help

    I don't think you can without a lot of JavaScript. Could you not just place the image in with hyperlink tags around it?
  16. Do the numbers have to be consecutive? If not you could just do 1234560
  17. Format all the cells needing a leading 0 to "Text" - should work.
  18. Well for it to have something to update to you need to upload it to the host don't you...
  19. Thing is will you actually update it? The last one had "auto update" and never got updated...
  20. Brett Lowe? And wow, this really encourages people to be lazy with their flying. I certainly don't want lazy pilots.
  21. How about the web browser be a feature those customising the program to have, rather than a standard feature - a config panel would just bulk it up further.
  22. Came into effect recently, not exactly sure when. Also remember your version would have been shipped quite some time before you ever bought it.
  23. It's in the whole EU, hence the sudden rise of annoying 8 second IE8 adverts. They stopped Microsoft shipping IE with Windows 7 in the EU so people have the right to choose. And perhaps it saves resources and shizzle (not likely seeing as it just makes the program run more than it would without it), but it has few or no common features even compared to IE, and if you add them it'll take up even more space in a program designed to do something wholly different. Plus it makes more possible sources for bugs and therefore more for the whiners to complain about.
  24. Yeah cut the web browser, it won't even work for some as IE is no longer shipped with windows - in the EU at least. Also, the pilots online is good but how do you plan on finding controllers? I wouldn't expect them to be running acars because they aren't flying, and probably aren't even in the airline.
  25. I really appreciate people recommending my servces but unfortunately I can't take on any new work at the moment - very busy. Sorry and thanks
×
×
  • Create New...