Jump to content

Adding "By Registration" to searchform.tpl [SOLVED]


AGuyFawkesMask

Recommended Posts

Currently, the fleet at my airline only consists of one (1) type of aircraft. This makes the "By Equipment" search function on the schedule_searchform.tpl page quite redundant. I'm curious to see how I can edit this function such that it enables my pilots to search through our timetable via an aircraft's registration (tail number), instead. However, I'm not sure which files I have to edit to make this work, nor am I aware of the appropriate commands I need to utilize.

So far, I've edited the following:

core/templates/schedule_searchform.tpl
core/modules/Schedules.php
core/common/SchedulesData.class.php

I also had a look at core/common/OperationsData.class.php, but didn't see anything I had to edit there.

Has anyone implemented this particular feature before?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...