Make Title of reservation a required field

Community Support for Booked Scheduler
Post Reply
hodorisking
Posts: 2
Joined: Tue Dec 08, 2020 11:48 am

Make Title of reservation a required field

Post by hodorisking »

How to make "Title of reservation" a required field?

and

How to remove completely hide/remove the Resource Filter without clicking it to hide.

https://prnt.sc/vy748x

Thank you!

YZone
Posts: 7
Joined: Mon Jul 27, 2020 6:38 am

Re: Make Title of reservation a required field

Post by YZone »

Hi,

"How to make "Title of reservation a required field?"

Login as Application Administrator / select Gear Wheel / Application Configuration
Look in "config.php" for:
$conf['settings']['reservation']['title.required']
Whether or not the title of a reservation is required when creating or updating reservations. Default is false.
Set it to "True"

YZone

hodorisking
Posts: 2
Joined: Tue Dec 08, 2020 11:48 am

Re: Make Title of reservation a required field

Post by hodorisking »

Thank you so much. It works.

How to remove completely hide/remove the Resource Filter without clicking it to hide.

https://prnt.sc/vy748x

User avatar
fzobitz
Posts: 18
Joined: Mon Jul 27, 2020 3:37 pm

Re: Make Title of reservation a required field

Post by fzobitz »

To completely remove/hide the Resource Filter:

Open this file: \tpl\Schedule\schedule.tpl

Scroll down to line 310ish:
<div id="reservations" class="col-md-10 col-sm-12">
<div>
<a href="#" id="restore-sidebar" title="Show Reservation Filter"
class="hidden toggle-sidebar">{translate key=ResourceFilter} <i
class="glyphicon glyphicon-filter"></i> <i
class="glyphicon glyphicon-chevron-right"></i></a>
</div>

Change the empty <div> to: <div style="display:none">

You will need to flush the cache once you save the file. There is an option to do that using the gear, or you can delete all of the files out of the tpl_c folder (leave the folder, just delete the files in the folder).

Since you are changing a core file, if you upgrade, you will need to reapply this change.

Post Reply