phpScheduleIt
May 25, 2013, 06:36:31 PM *
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: Changing first and last name to title  (Read 286 times)
Robert_VAE
Newbie
*

Karma: 0
Posts: 2


« on: December 14, 2012, 02:29:18 AM »

On the schedule when some one reserves a time slot their first and last name is displayed. Is there a way to change this to the reservation title? I have done it before, but since I upgraded to the newest version I forgot where the file was that i edited.
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #1 on: December 17, 2012, 11:07:39 AM »

Out of the box, you can show the user name or the title of the reservation ($conf['settings']['schedule']['reservation.label'] = 'user'; or 'title')

If you want to put anything else, for now you'll need to customize the code a bit. This is all in the Create() method of /lib/Application/Schedule/SlotLabelFactory.php
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!