Jump to content
vbegin72

(Solved)Tour Bids

Recommended Posts

Some people have just copied the code from the default schedules page although if the bid function does not work on the schedule page then it will not work anywhere else.

Share this post


Link to post
Share on other sites
On 5/9/2016 at 6:33 PM, simpilot said:

Some people have just copied the code from the default schedules page although if the bid function does not work on the schedule page then it will not work anywhere else.

	<?php 
		# Don't allow overlapping bids and a bid exists
		if(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0)
		{
		?>
			<a id="<?php echo $route->id; ?>" class="addbid" 
				href="<?php echo actionurl('/schedules/addbid');?>">Add to Bid</a>
		<?php
		}
		else
		{
			if(Auth::LoggedIn())
			{
			 ?>
				<a id="<?php echo $route->id; ?>" class="addbid" 
					href="<?php echo url('/schedules/addbid');?>">Add to Bid</a>
			<?php			 
			}
		}		
		?>

When i use this it doesnt bid the flight like it has no function but it does work on schedules page

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×