Jump to content

No route passed only in schedules


smokey68

Recommended Posts

  • Moderators

This is the most common issue that goes back to skin other than the default. I have been trying to resolve the issue but no luck. What i did finally was I forwarded the bidding results to schedules/bids page with an option to remove it if necessary and so far it's been working fine.

Link to comment
Share on other sites

  • Moderators

Create a PHP file and name it whatever you want then inside add the following:

<Table>
<thead><tr><th colspan="2">Confirmed!</th></tr></thead>
<tr>
<td align="center">Your flight has been booked succecfully!</td>
<td align="center">
<a href="<?php echo url('/profile'); ?>"><input class="button alt" type="submit" name="submit" value="Go To Pilot Center" />
<a href="<?php echo url('/schedules/bids'); ?>"><input class="button alt" type="submit" name="submit" value="Remove Bid" />
</td>
</tr>
</table>

Then open modules/schedules and go to addbid function line 172 and alter it to the following:

if ($ret == true)
{
$this->show('yourfilename.php');
}
else
{
echo 'Already in bids!';
}

Link to comment
Share on other sites

  • 1 month later...

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...