<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — [SOLVED] Customize the look and feel of PDFs]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4324&amp;type=atom" />
	<updated>2013-08-25T18:34:59Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=4324</id>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Customize the look and feel of PDFs]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17481#p17481" />
			<content type="html"><![CDATA[<p>Excellent! Thank you. I didn&#039;t realize that I need to copy repXXX itself as well, since I wasn&#039;t planning to make changes there. Once I did that, find_custom_file indeed found it in company/0/reporting, and used my custom doctext and header2.</p>]]></content>
			<author>
				<name><![CDATA[virshu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18130</uri>
			</author>
			<updated>2013-08-25T18:34:59Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17481#p17481</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Customize the look and feel of PDFs]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17475#p17475" />
			<content type="html"><![CDATA[<p>Yes, you can store changed report files&nbsp; either as&nbsp; descibed in the cited comment, or as an part of extension module. See find_custom_file function defined in&nbsp; mian.inc and called in reporting/prn_redirect.php. Keep in mind this mechanism works only for report files (repXXX.php).<br />Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2013-08-25T09:51:16Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17475#p17475</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Customize the look and feel of PDFs]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17463#p17463" />
			<content type="html"><![CDATA[<p>Thank you. That was amazingly quick! On a related note, pdf_report says</p><div class="codebox"><pre><code> // leave layout files names without path to enable including
// modified versions from company/x/reporting directory
include(&quot;includes/doctext.inc&quot;);
include(&quot;includes/header2.inc&quot;);</code></pre></div><p>however, include_path doesn&#039;t include company subdirectory, and therefore only stock doctext gets included. Is it a setting that I can specify to override core files without modifying them?</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[virshu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18130</uri>
			</author>
			<updated>2013-08-22T05:55:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17463#p17463</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SOLVED] Customize the look and feel of PDFs]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17462#p17462" />
			<content type="html"><![CDATA[<p>The document design can be done in /reporting/includes/header2.inc and /reporting/includes/doctext.inc.<br />The other header info can be done inside /reporting/includes/pdf_report.pdf and of course the various repXXX.php files inside /reporting folder.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2013-08-21T22:59:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17462#p17462</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[SOLVED] Customize the look and feel of PDFs]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=17461#p17461" />
			<content type="html"><![CDATA[<p>I may have misunderstood something important. When the program talks about &quot;templates&quot; (like, template invoice or template delivery) I thought it is the template (&quot;look and feel&quot;) of Invoice PDFs, etc. However, this thread https://frontaccounting.com/punbb/viewtopic.php?id=3198 indicates that it&#039;s something completely different. And documentation is skimpy on this topic.</p><p>Therefore, a broader question: what is the best (easiest) way to customize the look and feel of the PDF that comes out of the &quot;Print Invoice&quot;? Is it the PHP code of report (107 in this case)? or there is some &quot;template&quot; that variable information is put on top (like Smarty)? Or something else?</p>]]></content>
			<author>
				<name><![CDATA[virshu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18130</uri>
			</author>
			<updated>2013-08-21T22:50:51Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=17461#p17461</id>
		</entry>
</feed>
