OS Property support center

SOLVED !!! email template issue 2

  • Enzo Artale
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 4 months ago - 10 years 3 months ago #62680 by Enzo Artale
SOLVED !!! email template issue 2 was created by Enzo Artale
Hi Dam
Referring to the previous post "email template issue" of 25 Apr 2015, I'm afraid to inform you that the issue still stands even if it's changed. The original post:
"I published a couple of properties as owner via frontend on my own site. Some days ago I received the first property expiration system email. Email template was the number 13 (Your listing plan approximates to expiration date.) and the issue was about the update link. Url update link was as follows:
mhtml:{C468D986-1711-4931-9752-55186D9E6B3F}mid://00000013/
and of course It didn't work. How to fix it? Thanks."
I received some days ago the alert email for the second property. After your first intervention, the url update link is currently:
" www.case-vacanza.info/index.php?option=c...sk=agent_editprofile " and it brings me to a 404 error page even if I'm logged in (image). What went wrong? Thanks.
Enzo
Last edit: 10 years 3 months ago by Dang Thuc Dam.

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #62686 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic email template issue 2
Hi,
The issue still happens in Email with ID = 13, right?
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Enzo Artale
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 4 months ago #62710 by Enzo Artale
Replied by Enzo Artale on topic email template issue 2
Right.

Please Log in or Create an account to join the conversation.

  • Enzo Artale
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 4 months ago #62805 by Enzo Artale
Replied by Enzo Artale on topic email template issue 2
Hi Dam
Did you manage the issue? Thanks.
Enzo

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #62812 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic email template issue 2
Hi,
This issue has been fixed on OS Property 2.8.1. You can download this version. Extract zip file: com_osproperty.zip and copy to overwrite file
components > com_osproperty > classes > email.php
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Enzo Artale
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 3 months ago #63279 by Enzo Artale
Replied by Enzo Artale on topic email template issue 2
Hi
In the file you mentioned there is the following mistake in the update link:
"index.php?option=com_ospoprerty&task=agent_editprofile";
You wrote "ospoprerty" instead of "osproperty", that's why the update link in email template number 13 keeps bringing agent/owner to a 404 error page. Also, I would report two other email template issues:
Number 10: the property link in the email isn't clickable, It appears in fact already wide spread and works only by pasting it in the url browser bar.
Number 15: the property link in the email brings admin to the properties managing page instead of the property details page (url for my site: www.case-vacanza.info/administrator/inde...task=properties_list ).
Waiting for your reply, thanks.
Enzo

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #63292 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic email template issue 2
Hi,
With email ID 10. You can solve it by these steps
1. Open file: components > com_osproperty > classes > email.php
2. Find
Code:
$link = JURI::root()."administrator/index.php?option=com_osproperty&task=properties_edit&cid[]=".$pid;
and add this line bellow
Code:
$link = "<a href='".$link."'>".$link."</a>";

and find
Code:
$detail_link = JURI::root()."index.php?option=com_osproperty&task=property_details&id=".$pid;
and add this line bellow
Code:
$detail_link = "<a href='".$detail_link."'>".$detail_link."</a>";

Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Enzo Artale
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 3 months ago #63298 by Enzo Artale
Replied by Enzo Artale on topic email template issue 2
It works, thanks.
Enzo

Please Log in or Create an account to join the conversation.

Moderators: Dang Thuc DamNguyen Phu Quan