OS Property support center

Change the default name of the pdf

  • Albert
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
6 years 1 month ago #110270 by Albert
Change the default name of the pdf was created by Albert
Hi, where can i change the name of the pdf when it is clicked? Now the default value is "PropertyXX".
Thanks

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

More
6 years 1 month ago #110311 by Mr. Dam
Replied by Mr. Dam on topic Change the default name of the pdf
Hi Alert,
Currently, PDF file name is defined in file: root > components > com_osproperty > classes > listing.php
This line:
$filename = "property".$pid.".pdf";
you can find and change name of PDF file if you want.
Thanks
Dam
The following user(s) said Thank You: Albert

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

Moderators: Mr. DamNguyen Phu Quan