Output extra field/custom field on pdf and print views

  • Kevin Barry
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 months ago - 4 years 2 months ago #132037 by Kevin Barry
The extra/custom fields of OS Property is a great feature to customise this extension for different regions and requirements while still being able to update the extension easily when new versions are released, however these fields would also be required to display on the pdf and print output/views so if you can consider adding this final step it would be great.
Last edit: 4 years 2 months ago by Kevin Barry.

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

More
4 years 2 months ago #132223 by horst zachbauer
Replied by horst zachbauer on topic Output extra field/custom field on pdf and print views
hi;
same problem;
but want to extend the wish to a form for generally modify pdf and print view
by using/selecting all fields incl agent nd agent pic, logo, company name
and other different fields
in between
if anyone can send the lines for export_pdf feature

for logo and company name
also for
agent and pic and contact details

thx
i´m a php XXX, so it would take ages for me by try and error to find out

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

  • Mr. Dam
  • Away
  • Administrator
  • Administrator
More
4 years 2 months ago #132227 by Mr. Dam
Hi,
If you want to modify Property PDF and Printing pages, you can modify files:
root -> components -> com_osproperty -> helpers -> layouts -> propertypdf.php and propertyprint.php
Thanks
Dam

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

  • Kevin Barry
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 1 month ago #132367 by Kevin Barry
Hello,
Please find attached propertypdf.php
The extra code is at the bottom of the file to output the custom fields.
With kind regards,
Kevin
Attachments:
The following user(s) said Thank You: Dryfive, horst zachbauer

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

More
4 years 1 month ago #132855 by Dryfive
Thanks for your upload Kevin,

Just wondering if there's a way to only display/output certain extra fields vs. all of them? I have certain extra fields that are using 'No' for the 'Show on properties list' option, and while they don't show when viewing the listing in the browser they are still output to the PDF.

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

  • Mr. Dam
  • Away
  • Administrator
  • Administrator
More
4 years 1 month ago #132857 by Mr. Dam
Hi,
This parameter "Show on properties list" is used to show value of extra fields in properties list, in property details, all properties will be shown.
So that, in PDF file, we will show value of all extra fields
Thanks
Dam

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

Moderators: Mr. Dam