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

Rent request emails are not complete

walfle (Visitor)
Posts: 0
graphgraph
User Offline
Rent request emails are not complete 9 Years, 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.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Rent request emails are not complete 9 Years, 11 Months ago
Karma: 102  
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.
walfle (Visitor)
Posts: 0
graphgraph
User Offline
Re:Rent request emails are not complete 9 Years, 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.
admin (Admin)
Admin
Posts: 8367
graph
User Offline Click here to see the profile of this user
Re:Rent request emails are not complete 9 Years, 11 Months ago
Karma: 102  
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
»