OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Rent request emails are not complete (0 viewing) 
BookLibary Component Support
Go to bottom Favoured: 0
TOPIC: Rent request emails are not complete
#14502
walfle (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Rent request emails are not complete 1 Year, 11 Months ago Karma: 0  
The emails for lend request (to admin and to user) are incomplete. The transported information is only the book_title:

User Administrator has submitted a Lend Request for:
"...title of book..."
Please log on and approve or deny this Lend Request


In which file have I to make what kind of changes, to get more information in the emails like bookid, author and isbn? The lend request email should have follow information:

User Administrator has submitted a Lend Request for:
"...authorname..." / "...title of book.." / "...bookid..".
Please log on and approve or deny this Lend Request


Reason: There are a lot of books with very similar title. The authorname and the book-id would make the information of the wished book absolutely clear.

Kind regards
WF
 
Logged Logged  
  The administrator has disabled public write access.
#14503
admin (Admin)
Admin
Posts: 4869
graph
User Offline Click here to see the profile of this user
Re:Rent request emails are not complete 1 Year, 11 Months ago Karma: 61  
Hello,

for edit email what we send for rent request, you need go to file
{site}/components/com_booklibrary/booklibrary.php

find function:
saveLendRequest

in that function for email send we use function: mosMail

But please add self change only if you know PHP/mysql - other please order custom version - with help ordasoft contact form

and any way before any change - please do that file backup

Thanks,
ordaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#14504
walfle (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Rent request emails are not complete 1 Year, 11 Months ago Karma: 0  
Thank you very much!

The lend request email to admin works now with the other information too, but the answer-email from admin to user (administrator/components/com_booklibrary/booklibrary.php) doesn't. (I cannot find out, what programcode I have to add here).
But with this state I can live: The user knows, what he wished to lend. He doesn't need the full information.

Regards
WF
 
Logged Logged  
  The administrator has disabled public write access.
#14505
admin (Admin)
Admin
Posts: 4869
graph
User Offline Click here to see the profile of this user
Re:Rent request emails are not complete 1 Year, 11 Months ago Karma: 61  
Hello,

Functions what send accept and decline for rent request for booking in BookLibrary you may find at
/administrator/components/com_booklibrary/booklibrary.php

FUNCTION:
sendMailLendRequest

Thanks,
OrdaSoft team
 
Logged Logged  
  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?