Jump to content

Recommended Posts

Posted

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

Posted

Does it show on the default one?

Also is Config::Get('DISABLE_SCHED_ON_BID') enabled?

No show on the default one.

This is the config code:

(Config::Get('DISABLE_SCHED_ON_BID') == true && $route->bidid != 0)

roboa

  • Administrators
Posted

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

Posted

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!

  • Administrators
Posted

Revert to the default schedule_results.pl (just delete your version), and also revert to the default core_htmlhead.tpl if you've modified it.

Then reupload the /lib/js folder.

  • Administrators
Posted

When I checked the page, the schedules weren't there.

Can you re-upload everything? Revert to the default schedules_* templates (for now)

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