Hi everyone,
I have been following a few threads regarding generating a brochure in PDF style, and have amended the fantastic code produced by jeffremiller to work for V2+ of OR
For all those who want to produce a PDF brochure from OR, these are the steps I followed: (Note - I am certainly no expert with regards to PHP, so code might be messy, but Ive commented it as far as possible , so you should be able to follow the gist of the code, and amend where necessary)
1) Download the FPDF code from www.fdfp.org and place in your OR folder
2) Wherever you want to call the brochure from (I call it from the listing_detail_slideshow.html file) place the following text to link to the brochure.php file:
<a href="brochure.php?listingID={listingid}">
3) Amend the brochure.php file to suit the style and look of your brochures that you want to create.
The brochure.php file attached is a simple brochure but it displays most of the info clients would most likely require, including the community features, as well as the home features (thanks to pbflash)
Comments are welcome.
This isn't exactly an addon - so the topic can be moved to whichever forum is most appropriate.
Cheers


Reply With Quote

because of the missing prefix for my DB tables I believe??!!



Bookmarks