Jump to content

Add bid


roboa

Recommended Posts

Hi all,

I've just updated to the build 700 and found that the add bid button has gone from the schedules page. I've checked the templates (in dreamweaver the button shows), made sure they are in the skin folder properly and to no avail. Any help is apreciated!

cheers,

roboa

Link to comment
Share on other sites

  • Administrators

You modified the schedule_results.tpl and removed this:

<?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 SITE_URL?>/action.php/Schedules/addbid/">Add to Bid</a>
      <?
      }
      else
      {
         if (Auth::LoggedIn())
         {
          ?>
            <a id="<?php echo $route->id; ?>" class="addbid" 
               href="<?php echo SITE_URL?>/action.php/Schedules/addbid/">Add to Bid</a>
         <?php          
         }
      }      
      ?>

You removed the else { } portion, so it wouldn't show the "Add Bid" if you're logged in and the disable schedules bit is false. So just add that back in, and you should be ok. I didn't modify it

Link to comment
Share on other sites

I've not changed anything in the core_htmlhead.tpl to my knowledge.

These are the errors that showed when I clicked add bid:

Warning: Unexpected end of file while searching for ';' or '}' to end declaration.  Unexpected end of file while searching for closing } of declaration block.

Source File: http://.../index.php/schedules

Line: 66

Error: $("#form").ajaxForm is not a function

Source File: http://.../lib/js/phpvms.js

Line: 10

roboa

sorry for the late reply!

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