Ohh, toolbox.php ![]()
Fix works great btw, thanks!
You are not logged in. Please login or register.
LuxCal Web Calendar → Suggestions → Attachment links in emails not working → Post new reply
All fields with bold label must be completed before the form is submitted.
Ohh, toolbox.php ![]()
Fix works great btw, thanks!
Good guess, but not quite right ![]()
Thanks for reporting this problem.
I've posted a fix in this forum under Known Issues and Fixes.
Roel
Awesome, thanks!
I think I saw that variable in messaging.php and was hoping it was global. I was php-guessing lol
Good point.
And since you've already given me the file and line number, it should be a piece of cake
However, to make the attachment accessible from an email reminder, the change should be made somewhere else. I will see what should be done.
Where did you get this $calUrl? This is not an existing global variable, it's only used locally in the file messaging.php. We should use $set['calendarUrl'] and strip off the possible suffix "?cal=<calID>".
I will add this change to the next calendar version 4.7.1 and tomorrow, Belgium time, I will post a fix, for those who can't wait ![]()
Roel
I noticed that the email messages with attachments that the attachment link points to relative path: ./attachments
so they cannot be clicked and opened (from the email).
What do you think about changing eventform1.php (line 106) from ./attachments to:
{$calUrl}/attachments ?
I do suspect there would be a performance hit clicking on the attachment from the actual calendar.
I am not actually PHP-fluent, so I thought I would ask before trying it first ![]()
Thanks
LuxCal Web Calendar → Suggestions → Attachment links in emails not working → Post new reply