I have been looking about to use Pagination for my pilots pirep pages as some are now getting quite long, i have come across a few but does anyone have experience with integrating in to phpvms, your ideas and thoughts would be welcome
I had my pilots page paginated. Since I updated phpVMS it got all screwy. If I can fix it, I will share the code and configuration with you. You will need to have a single list instead of it being broken up by hubs.
If people want, I can update some of these pages so they’re paginated the same way it’s done in the admin panel (using jqgrid). The problem with that is then there isn’t much flexibility
Excellent Nabeel, i have some code i can implement where i want it but on an update it will be messed up, it would be much better if it comes from your end like the admin currently is then its fully supported on future releases.
If people want, I can update some of these pages so they’re paginated the same way it’s done in the admin panel (using jqgrid). The problem with that is then there isn’t much flexibility
No not the schedules, that can be limited already but its the pilots pireps, pilot_public_profile.tpl and pireps_viewall.tpl that would be excellent if that could be implemented as some of my pilots have loads of reports and the page is getting longer and longer .
<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>
Just add an line below all of the option values,
<option value="20">20 per page</option>
And edit the Value to how much you want it to show.