OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to change "Book return date" (0 viewing) 
BookLibary Component Support
Go to bottom Favoured: 0
TOPIC: How to change "Book return date"
#1810
mxsystems (Visitor)
Fresh Boarder
Posts: 14
graphgraph
User Offline
How to change "Book return date" 5 Years, 8 Months ago Karma: 0  
When users submit a lend request they often forget to change the "Book return date" from the default which seems to be 'today'.

I see no way to correct this in the Backend. Am I missing something?

Or is it possible to set the default one month ahead?

Hans Bos
 
Logged Logged  
 
Last Edit: 2011/03/17 08:34 By .
  The administrator has disabled public write access.
#1813
admin (Admin)
Admin
Posts: 4861
graph
User Offline Click here to see the profile of this user
Re:How to change "Book return date" 5 Years, 8 Months ago Karma: 61  
Set some default rent return date in Book Library. That possible do but not with default Joomla function "showCalendar" - it hasn't parameter for set data.
So need redefine how we chow calendar and use not Joomla Calendar - will need use some Calendar core class

You may order custom version and we will research how build that

Thanks,
OrdaSoft
 
Logged Logged  
  The administrator has disabled public write access.
#1815
mxsystems (Visitor)
Fresh Boarder
Posts: 14
graphgraph
User Offline
Re:How to change "Book return date" 5 Years, 8 Months ago Karma: 0  
I've (temporarily) changed the code in booklibrary.html.php:

Code:

value="<?php echo date("Y-m-d",strtotime('1 months')); ?>"

instead of

Code:

value="<?php echo date("Y-m-d"); ?>"
 
Logged Logged  
 
Last Edit: 2011/03/17 15:40 By .
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?