OS Property support center
ANSWERED !!! Edit PDF and "Print Page" Output
- What No Website
-
Topic Author
- Offline
- Platinum Member
-
- Full Stack Developer
Less
More
8 years 1 month ago - 8 years 2 weeks ago #96000
by What No Website
Joomla & Hand Coded Web Design
What no Website
ANSWERED !!! Edit PDF and "Print Page" Output was created by What No Website
Hi
Which files do I need to edit in order to change the PDF and Print page layouts for the users please...?
Which files do I need to edit in order to change the PDF and Print page layouts for the users please...?
Joomla & Hand Coded Web Design
What no Website
Last edit: 8 years 2 weeks ago by Mr. Dam.
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13042
- Thank you received: 1694
8 years 1 month ago #96068
by Mr. Dam
Replied by Mr. Dam on topic Edit PDF and "Print Page" Output
Hi,
You can modify the PDF export layout in file: root > components > com_osproperty > helpers > layouts > propertypdf.php
Print layout in: root > components > com_osproperty > helpers > layouts > propertyprint.php
Thanks
Dam
You can modify the PDF export layout in file: root > components > com_osproperty > helpers > layouts > propertypdf.php
Print layout in: root > components > com_osproperty > helpers > layouts > propertyprint.php
Thanks
Dam
Please Log in or Create an account to join the conversation.
- What No Website
-
Topic Author
- Offline
- Platinum Member
-
- Full Stack Developer
8 years 2 weeks ago #97378
by What No Website
Joomla & Hand Coded Web Design
What no Website
Replied by What No Website on topic Edit PDF and "Print Page" Output
Thanks.
Joomla & Hand Coded Web Design
What no Website
Please Log in or Create an account to join the conversation.
- What No Website
-
Topic Author
- Offline
- Platinum Member
-
- Full Stack Developer
8 years 2 weeks ago #97380
by What No Website
Joomla & Hand Coded Web Design
What no Website
Replied by What No Website on topic ANSWERED !!! Edit PDF and "Print Page" Output
Hi Tang
I just edited that file and there was no change to the PDF I downloaded.
Am I editing the correct file...? It's the PDF that the user can download of the property I am trying to edit.
I just edited that file and there was no change to the PDF I downloaded.
Am I editing the correct file...? It's the PDF that the user can download of the property I am trying to edit.
Joomla & Hand Coded Web Design
What no Website
Please Log in or Create an account to join the conversation.
- What No Website
-
Topic Author
- Offline
- Platinum Member
-
- Full Stack Developer
8 years 1 week ago #97807
by What No Website
Joomla & Hand Coded Web Design
What no Website
Replied by What No Website on topic Edit PDF and "Print Page" Output
Sorry but I need to get to this file, the client is in need of urgent adjustments.
Joomla & Hand Coded Web Design
What no Website
Please Log in or Create an account to join the conversation.
- What No Website
-
Topic Author
- Offline
- Platinum Member
-
- Full Stack Developer
7 years 11 months ago #98373
by What No Website
Joomla & Hand Coded Web Design
What no Website
Replied by What No Website on topic ANSWERED !!! Edit PDF and "Print Page" Output
I can't seem to pull out the number of beds...
Code:
echo JText::_('OS_BED');
echo $row->bed_room;
Joomla & Hand Coded Web Design
What no Website
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13042
- Thank you received: 1694
7 years 11 months ago #98407
by Mr. Dam
Replied by Mr. Dam on topic ANSWERED !!! Edit PDF and "Print Page" Output
Hi,
As i answered above
PDF export layout in file: root > components > com_osproperty > helpers > layouts > propertypdf.php
Print layout in: root > components > com_osproperty > helpers > layouts > propertyprint.php
I can help you to remove the parts in PDF or printing layout files if you don't need. Please raise the ticket on category OS Property and tell me more about it.
Thanks
Dam
As i answered above
PDF export layout in file: root > components > com_osproperty > helpers > layouts > propertypdf.php
Print layout in: root > components > com_osproperty > helpers > layouts > propertyprint.php
I can help you to remove the parts in PDF or printing layout files if you don't need. Please raise the ticket on category OS Property and tell me more about it.
Thanks
Dam
Please Log in or Create an account to join the conversation.
- What No Website
-
Topic Author
- Offline
- Platinum Member
-
- Full Stack Developer
7 years 11 months ago #98412
by What No Website
Joomla & Hand Coded Web Design
What no Website
Replied by What No Website on topic ANSWERED !!! Edit PDF and "Print Page" Output
Thanks Dang, appreciated.
What I'm looking for is a document or reference file that will show me which PHP code to use to pull out specific elements.
For example:
# of bedrooms
# of bathrooms
Internal dimensions
External dimensions
Efficiency grading and so on.
Is this possible...?
What I'm looking for is a document or reference file that will show me which PHP code to use to pull out specific elements.
For example:
# of bedrooms
# of bathrooms
Internal dimensions
External dimensions
Efficiency grading and so on.
Is this possible...?
Joomla & Hand Coded Web Design
What no Website
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13042
- Thank you received: 1694
7 years 11 months ago #98472
by Mr. Dam
Replied by Mr. Dam on topic ANSWERED !!! Edit PDF and "Print Page" Output
Hi,
If you take a look at file: propertyprint.php, you will see the code
Above code is used to show all core fields of OS Property, we don't show specific fields in this case to reduce loading time. But you can use code
field_name is the column in table: #__osrs_properties (for example: bath_room ) to show data of property in specific place in Printing file.
Thanks
Dam
If you take a look at file: propertyprint.php, you will see the code
Code:
echo OSPHelper::showCoreFields($row);
Above code is used to show all core fields of OS Property, we don't show specific fields in this case to reduce loading time. But you can use code
Code:
$row->field_name
Thanks
Dam
The following user(s) said Thank You: Sascha Dämgen
Please Log in or Create an account to join the conversation.
- joombaya
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 0
7 years 11 months ago #98904
by joombaya
Replied by joombaya on topic ANSWERED !!! Edit PDF and "Print Page" Output
Hi Dang , how to include Company and Agent i . pdf ( outprint ) ? in file propertypdf.php
Thanks for helping my out
Thanks for helping my out
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Nguyen Phu Quan
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.