Jump to content

Recommended Posts

Posted

Hey all,

 

There's a couple of things I'm trying to do and having trouble, I wondered if anyone could help me out:

 

1. Linking to Homepage Link Group

I want to make a link to a particular menu on the homepage i.e. Bookings. It's an anchor so the url is
../hap/#-bookings
so that's what I link to. It works fine if you're already logged in but if not you just go to the login page. I tried various things with ReturnURL on the link since that works for actual subfolders (e.g. hap/bookingsystem) but it seems to be stripping that off and reverting to just ReturnUrl=%2fhap%2

 

2. Booking quantities

I've set up a resource for spare iPads that we want to be bookable. It's set to sharable and all works great, but the default quantity when booking is always the highest available. Is there any way I can set this default manually? I'd rather it was 1 by default and staff could increase that if they need more.

 

Thanks!

Posted

1. Added as a feature for v10, it will be /api/home-permalink/%everything after #%, e.g. /hap/api/home-permalink/-bookings

2. Unfortunately this isn't possible via config, but you can edit code to do it, edit ~/bookingsystem/default.aspx, go to link 509, change:

$("#bfquantspin").val(cr3).spinner( "option", "min", 1).spinner("option", "max", cr3);

to

$("#bfquantspin").val("1").spinner( "option", "min", 1).spinner("option", "max", cr3);

  • Thanks 1

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



×
×
  • Create New...