-
Posts
170 -
Joined
-
Last visited
selwynorren's Achievements
Newbie (1/14)
5
Reputation
-
Yeah sure, PM me your email address and I ll send over my updated files for the menu that are cross browser compatible.
-
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.
-
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
-
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
-
flyalaska started following selwynorren
-
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?
-
Discounts To Subtract From Pilot Salary
selwynorren replied to Gabriel Fernandez's topic in Releases
Hi, Seems the download is broken, is this mod still available? -
Can you post a link to view the error?
-
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.
-
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.
-
Wondering: Pagination for Pireps List
selwynorren replied to selwynorren's topic in Development Help
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. -
Wondering: Pagination for Pireps List
selwynorren replied to selwynorren's topic in Development Help
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 -
Thanks Nabeel Now its a start for me, now to write a whole load of conditions
-
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
-
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.