Jump to content

selwynorren

Members
  • Posts

    170
  • Joined

  • Last visited

Everything posted by selwynorren

  1. Hi, Yup I wanted to get a local version of phpVMS setup on my local server enviroment and I have teh same issue. Failed installes with teh above mentioned error codes. Can anyone please advise.
  2. Yeah sure, PM me your email address and I ll send over my updated files for the menu that are cross browser compatible.
  3. lol no problem at all, I am glad you like what I did. I just added to what was already there. Send me a mail selwyn at flyaka dot net and Ill send over the required files to you with examples of the integration. I am working on an ie7 fix. it works great in ie8 and all other browsers. untill I get it all right I am more than happy to share what I have currently.
  4. Hi Nabeel, I am not too sure how else to make contact with you except through this forum. I wanted to use your codon framework to create a website of my own, I downloaded the versions from github and copied them over to my local testing server. I change teh local.config.php file accordingly and try and view the site. Unfortunately there are quite a few errors, I correct as what I go along until I finally reach the following: Fatal error: Call to a member function Set() on a non-object in /opt/lampp/htdocs/xxxxxxxxxx/core/classes/Template.class.php on line 71 This line simply reads as follows return self::$tplset->Set($name, $value); I have set a database entry for the skin used (as what is set in phpvms) I have created a blank modules folder (this is one of the errors received) I fixed the reference to the ezdb (Another error received but correct as per phpvms) I have downloaded the previous version from github as well, and I run into the exact same errors. I am not sure what I am doing wrong, can you shine a light for me? Take Care
  5. Hi Dave, Thanks very much, I had somehow written code incorrectly or used an incorrect name. as Soon as I called it what it should be, everything was all good. Thanks for the help
  6. Hi All, I remember reading something about this when Dave created the events module but I just cannot seem to find the reference anymore. I want to create a new phpvms module that the admin part can be managed through the vms admin back-end. Currently the events module can be managed through the backed and its listed under add-ons, I want to have the same ability so that when an update takes place the module is not wiped at all. Is this at all possible?
  7. Hi, Seems the download is broken, is this mod still available?
  8. Can you post a link to view the error?
  9. No Route Passed means you have an error in the order of your jquery calls in your header section of your layout.tpl (or header.tpl for older versions of phpvms) Generally I use the following order, I am not saying its perfect, but it seems to work so far Stylesheet Link jquery.js jquery-1.3.2.min.js slide.js (In the flyaka skin we use the slider for our login and control panel) s3slider.js (I use this instead of a Flash image slider. I prefer how I am able to customise it) jquery.tablesorter.js (I make use of the standard jquery table sorter script) tablesorter.pager.js s3slider javascript caller Thats the general order I use. Some of the jquery is old I think jquery itself is now at 1.4. something, but if it ain't broke why fix it With that order I don't get any "No Route Passed" errors.
  10. Hi If you guys go look at our site http://www.flyaka.com we have a drop down menu there that uses standard CSS as the menu itself is made up of lists. I am happy to share that code with anyone if they want it. You will just have to mod the css to fit your needs of you skin.
  11. Hi Nabeel, Your probably right, but it honestly works fine just the way I described it above. we have used it extensively over at www.fltaka.com. We have even managed to use the table sort portion alone without the pagination. it really work quite well.
  12. Hi Ray, Its relatively easy to do. The most important thing to realize is in the table sorter javascript, you will need to mod (if required) the default quantity of lines to show/ Thats the only Mod really required nowadays. To do this. Open your JS file called "jquery.tablesorter.pager.js" Scroll down to line 103 and change the property size: 5. (Mine says 5 O don't remember what the original one was) Remember this is the default row list quantity. You only change this if you really want to. The rest of the building of the sorter all works ion how you build the table You can start your table as follows: <table id="tabledlist" class="tablesorter"> This is very very important, without that ID and that Class Set, it will not work as expected (This is for the sorting portion of this javascript. The you need to build the header column, again this for for the sorting of each column, this will also define how the pagination will work. Separating headings from data <thead> <tr> <th>Image</th> <th>Description</th> <th>Link</th> </tr> </thead> Each column must have <thead> <th> and not <td> Next you place the body code, this will be the portion that will actually have the pagination <tbody> <?php foreach($values as $value) { ?> <tr> <td>Insert your text and php code combinatins</td> <td>Insert your text and php code combinatins</td> <td>Insert your text and php code combinatins</td> </tr> <?php } ?> </tbody> You can then end it off with the usual </table> Now after the </table> tag all you need to do is place the following code: <div align="right" id="pager" class="pager"> <form> <img src="<?php echo SITE_URL?>/lib/skins/Skin_name/images/first.png" class="first"/> <img src="<?php echo SITE_URL?>/lib/skins/Skin_name/images/prev.png" class="prev"/> <input align="middle" type="text" class="pagedisplay" size="5"/> <img src="<?php echo SITE_URL?>/lib/skins/Skin_name/images/next.png" class="next"/> <img src="<?php echo SITE_URL?>/lib/skins/Skin_name/images/last.png" class="last"/> <select class="pagesize"> <option value="5">5 per page</option> <option value="10">10 per page</option> <option value="20">20 per page</option> </select> </form> </div> <script defer="defer"> $(document).ready(function() { $("#tabledlist") .tablesorter({widthFixed: true, widgets: ['zebra']}) .tablesorterPager({container: $("#pager")}); } ); </script> That positions where the actual next, back, first, last page of page etc buttons will appear. As you can see there is also a handy drop down that will allow you to customize how many line to view per page. As I mentioned I had changes the default in my JS file, so I started my drop down code with 5. I hope this all make sense Take Care
  13. Thanks Nabeel Now its a start for me, now to write a whole load of conditions
  14. Hi All, I am pretty much stumped at the moment of something, I need the php clever guys to please help I have two results from a query, they both contain icao codes Result 1: FAJS, FACT, FABL, FAWB Result 2: FAJS, FAVS, FAWB, FANS I want to be able to compare these two results and echo out the icao code each time there is a match i.e Result 3: FAJS, FAWB I know I can use something like: if (result 1 = result 2) to make a comparison, but how do out output what that comparison would be? I hope this question makes sense
  15. Hi Dave, Thank you very much for the platform to start working on. I am happy to say its all done and dusted. Thank you very much for your help.
  16. Hi Dave Thanks for that, but we don't want to sort it according to rank. I would just like to show what downloads are available per page in a specific category. For Example At present the download pages shows all the downloads for all categories on 1 page, basically listing each download per category loop. I want to be able to split this and show only the FSX Fleet downloads on a page. I have created specific links to each category, but I don't know how to format the links to allow for category filtering. I hope this makes better sense
  17. Yes please, would this be possible?
  18. Thanks Dave, that would be exactly what I was looking for , just was not sure how to write it [Edit] I have tested it and it worked perfectly, again thank you so much
  19. Dave, A quick question out if interest, I have applied what you have done above, I have also placed a limiter on the quantity drawn for that specific month, lets say the top 10 touch down stats for a specific month. I have also put in the php date function as the filter, so the code will automatically grab the month and the year from the server. But what would happen in the next month, while no pireps have been submitted? Basically what would the if then check look like to return something like, "No flights have been submitted for this month" I hope that makes sense?
  20. Hi Dave, Hmm I hear you. Sadly when I am at the hub, I see all the aircraft located there, but I am only seeing one route per aircraft. Anything I can do to twist your arms for an update :lol:
  21. Hi Dave, Is there a way to possibly remove this limitation? The scenario as follows. I have a very small charter based company, flying 22 routes with 4 aircraft. The are all short hops doing adventure safari type flights. At the moment we have 2 C172's and 2 C208's Everything is flown using these 4 aircraft. some of my routes are duplicated using different departure times (Duplicated as in same destination). I have removed all the Limit 1 part of the sql statements to see if that works, but I still cannot get it right. Is this at all possible?
  22. Joeri In you class called "Odd" what is your background color set to? seems like the "even" class does not have a background color and your "odd" class does
  23. ok Excellent, Maybe once this is all sorted, we can add it to the code snippets forum?
×
×
  • Create New...