phpScheduleIt
May 24, 2013, 05:04:41 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Remove repeat booking for normal users  (Read 127 times)
Matt Elms
Newbie
*

Karma: 0
Posts: 28


« on: November 07, 2012, 05:04:15 AM »

Does anyone know if there is any way to remove the option to make repeat bookings for normal users? But Admin users could still make repeat bookings.

Regards
Matt
Logged
pask
Newbie
*

Karma: 0
Posts: 39


« Reply #1 on: November 07, 2012, 01:27:21 PM »

Hi,

If you are using the 2.3.x version, in the config file, change $conf['settings']['reservation']['prevent.recurrence'] = 'false'; for 'true' and you have what you want.

If you are using an older version, you will need to change the file /tpl/Reservation/create.tpl. Look for the line <div id="repeatDiv"> and insert before the <li> tag the following line: {if $CanViewAdmin || $CanViewResourceAdmin } . You need to close the "If" statement just before this line: <li class="rsv-req"> with the code {/if} .

Don't forget to delete all files in the tpl_c folder to view changes.

Regards,
Pascal
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!