<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Coradine Aviation - LogTen Pro Pilot Logbook for iPhone, iPad and Mac &#187; Creating Custom Templates</title>
	<atom:link href="http://coradine.com/category/support/reports/creating-custom-templates/feed/" rel="self" type="application/rss+xml" />
	<link>http://coradine.com</link>
	<description>Professional aviation solutions for Mac, iPhone and iPad</description>
	<lastBuildDate>Wed, 18 Jan 2012 22:47:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Reports: How To Change a Column</title>
		<link>http://coradine.com/2006/12/29/how-to-remove-or-change-a-column-heading/</link>
		<comments>http://coradine.com/2006/12/29/how-to-remove-or-change-a-column-heading/#comments</comments>
		<pubDate>Fri, 29 Dec 2006 18:29:48 +0000</pubDate>
		<dc:creator>Noah</dc:creator>
				<category><![CDATA[Creating Custom Templates]]></category>
		<category><![CDATA[Customizing LogTen]]></category>
		<category><![CDATA[Reports]]></category>
		<category><![CDATA[Viewing Flight Info]]></category>

		<guid isPermaLink="false">http://coradine.com/wp/?p=62</guid>
		<description><![CDATA[Want to change one of the column headings in one of the standard reports? Here&#8217;s how you do it. For this tutorial we&#8217;ll be using the ASA Master Pilot log template. We&#8217;ll replace the &#8220;Rotorcraft&#8221; column with &#8220;Jet&#8221;. Step One: Preparation In the Mac OS X Finder, navigate to your home folder, and then into [...]]]></description>
			<content:encoded><![CDATA[<p>Want to change one of the column headings in one of the standard reports? Here&#8217;s how you do it. For this tutorial we&#8217;ll be using the ASA Master Pilot log template. We&#8217;ll replace the &#8220;Rotorcraft&#8221; column with &#8220;Jet&#8221;.</p>
<h2>Step One: Preparation</h2>
<ol>
<li>In the Mac OS X Finder, navigate to your home folder, and then into Library/Application Support/LogTen Pro/</li>
<li>From the &#8220;Sample Report Templates&#8221; folder copy the &#8220;ASA Pilot Master Log&#8221; folder into the &#8220;My Report Templates&#8221; folder</li>
<li>From the new &#8220;ASA Pilot Master Log&#8221; folder you just copied in the &#8220;My Report Templates&#8221; folder, open &#8220;pageOne_header.html&#8221; with your favorite text editor. Mac OS X comes with &#8220;TextEdit&#8221; which will work just fine.<br/><br />
<b>NOTE IF YOU&#8217;RE USING TEXT EDIT:</b>TextEdit will try and display the HTML as it would appear in a browser which is no good if you need to edit the code! So before opening files in TextEdit, open TextEdit and go to the preferences, Switch to the &#8220;Open and Save&#8221; tab and check the first box to &#8220;Ignore rich text commands in HTML files&#8221;. </li>
</ol>
<h2>Step Two: Changing the Column Header and Footer</h2>
<ol>
<li>In pageOne_header.html replace:<br />
</p>
<pre>&lt;th id=&quot;rotorcraft&quot;&gt;Rotorcraft&lt;/th&gt;</pre>
<p>
With this:<br />
</p>
<pre>&lt;th id=&quot;jet&quot;&gt;Jet&lt;/th&gt;</pre>
<p>
Note: The &#8220;id&#8221; value is for use in the CSS. You don&#8217;t have to change it but it just makes things more clear. So for example if you wanted to change the width of the column, you would set this in the style.css file. Right now it does not have an entry in the style.css, but if you wanted to set it you would simply make a new line like this:<br />
</p>
<pre>#jet{width:0.5in;}</pre>
<p>
This would set the width of the column with an &#8220;id&#8221; of &#8220;jet&#8221; to half an inch.
</li>
<li>Now we need to change the Totals so they will display jet time and not rotorcraft time! So we need to replace:<br />
</p>
<pre>&lt;td&gt;&lt;?ltp keypath=@sum.flight_category2; scope=page; ?&gt;&lt;/td&gt;</pre>
<p>
with:<br />
</p>
<pre>&lt;td&gt;&lt;?ltp keypath=@sum.flight_engineType1; scope=page; ?&gt;&lt;/td&gt;</pre>
<p>
Note: category, class, and engine type time values are available for all values listed in the aircraft type tab of the resource manager in the order they appear there. So for example if you clicked on the Engine Type menu you will see Jet, Turbine, Turbo-Prop, Piston, etc. Piston would be referenced as flight_engineType4.<br />
<br />
That takes care of the page total, but we still need to replace the balance forward and to date totals so, replace:<br />
</p>
<pre>&lt;td&gt;&lt;?ltp keypath=@sum.flight_category2; scope=forward; ?&gt;&lt;/td&gt;</pre>
<p>
with:<br />
</p>
<pre>&lt;td&gt;&lt;?ltp keypath=@sum.flight_engineType1; scope=forward; ?&gt;&lt;/td&gt;</pre>
<p>
and replace:<br />
</p>
<pre>&lt;td&gt;&lt;?ltp keypath=@sum.flight_category2; ?&gt;&lt;/td&gt;</pre>
<p>
with:<br />
</p>
<pre>&lt;td&gt;&lt;?ltp keypath=@sum. flight_engineType1; ?&gt;&lt;/td&gt;</pre>
<p>
</li>
</ol>
<h2>Step Three: Changing the Row</h2>
<ol>
<li>
This is the easiest part! We&#8217;re almost done. You can close the pageOne_header.html file and open pageOne_row.html.<br />
This is probably starting to look at least a little bit familiar.<br />
<br />
In pageOne_header.html replace:<br />
</p>
<pre>&lt;td&gt;&lt;?ltp keypath=flight_category2; ?&gt;&lt;/td&gt; &lt;!-- Rotorcraft --&gt;</pre>
<p>
with:<br />
</p>
<pre>&lt;td&gt;&lt;?ltp keypath=flight_engineType1; ?&gt;&lt;/td&gt; &lt;!-- Jet --&gt;</pre>
<p></p>
</li>
</ol>
<h2>Step Four: Updating the Style</h2>
<p>Now that you&#8217;ve customized the report, you&#8217;ll probably want to change the name so you can find it more easily in LogTen! Open the &#8220;style.css&#8221; file. At the top you find a section that looks like this:</p>
<pre>
/*
Report Name: ASA Pilot Master Log™
Description: A LogTen Pro report template style based on the ASA Pilot Master Log™, print out, punch and place in a quality binder for the ultimate presentation.
Version: 1.0
Author: Noah Lieberman
Author URI: http://coradine.com
Credits:

Report Type: twoPage
Rows Per Page: 20
Data Type: Flight
*/
</pre>
<p>Change the name, description, author, and other attributes as appropriate and save. Now when you go into LogTen Pro and click Reports you&#8217;ll see your new report in the list.</p>
<p><strong>Want to change the font?</strong><br />
In the style.css file you can also change things like the font, font sizes, column widths, colours, etc. The handwriting font that we use is called &#8220;j.d.&#8221;, so if you wanted to use Helvetica for example instead, you could simply search for any occurrence of &#8220;j.d.&#8221; in the style.css file of your report and replace it with Helvetica, or whatever other font you want!</p>
]]></content:encoded>
			<wfw:commentRss>http://coradine.com/2006/12/29/how-to-remove-or-change-a-column-heading/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to Create a Custom Report</title>
		<link>http://coradine.com/2006/12/29/how-to-create-a-custom-report/</link>
		<comments>http://coradine.com/2006/12/29/how-to-create-a-custom-report/#comments</comments>
		<pubDate>Fri, 29 Dec 2006 16:48:13 +0000</pubDate>
		<dc:creator>Noah</dc:creator>
				<category><![CDATA[Creating Custom Templates]]></category>
		<category><![CDATA[Feature archive]]></category>

		<guid isPermaLink="false">http://coradine.com/wp/?p=61</guid>
		<description><![CDATA[LogTen Pro gives you extreme flexibility in the types of pilot logbook reports you generate. Using the power of HTML, CSS, JavaScript, and virtually any other technology you can use in a web page you can create pretty much anything you can imagine. This article will walk you through creating your first template, and give [...]]]></description>
			<content:encoded><![CDATA[<p>LogTen Pro gives you extreme flexibility in the types of pilot logbook reports you generate. Using the power of HTML, CSS, JavaScript, and virtually any other technology you can use in a web page you can create pretty much anything you can imagine. This article will walk you through creating your first template, and give you the tools you need to start creating whatever you need. Whether you want to add charts, and graphs, or need to track a specific type of flight time on your report, it&#8217;s all possible with LogTen Pro.</p>
<h2>Getting Started</h2>
<p>Report templates in LogTen Pro live in a special folder in your &#8220;home&#8221; folder, located at ~/Library/Application Support/LogTen Pro/</p>
<p>Here you will find two important folders, &#8220;Sample Report Templates&#8221; and &#8220;My Report Templates&#8221;. LogTen Pro will look for your template in the &#8220;My Report Templates&#8221; folder, so the easiest way to start a new template is to copy one from the &#8220;Sample Report Templates&#8221; folder into the &#8220;My Report Templates&#8221; folder.</p>
<h2>Style</h2>
<p>For each report template there is Cascading Style Sheet (CSS) file called &#8220;style.css&#8221;. In this file you specify the report type, name, description, author, version, number or rows per page, etc. AND here is where you define all the styles that apply to the report. This means you can affect numerous things, including colours, column widths, fonts, sizes, etc.</p>
<p>Going into the details of working with CSS, it&#8217;s rules, formats, and capabilities is beyond the scope of this document, however there are numerous references online, that should help you if you are unfamiliar with it. Many things should be fairly obvious simply by browsing the style.css file.</p>
<h2>The Report Components</h2>
<p>The various report styles, such as one page, two page, totals, have slights different sets of HTML files, however they are very similar. Primarily they will consist of:</p>
<ul>
<li>
<h4>Document Header and Footer</h4>
<p>These will occur only once for the whole report, the header at the beginning, and the footer at the end.
</li>
<li>
<h4>Page Header and Footer</h4>
<p>
These will occur once for each page of the report, the header at the beginning, and the footer at the end.
</li>
<li>
<h4>Page Row</h4>
<p>
These will occur for every row of the report.
</li>
</ul>
<h2>Conclusion</h2>
<p>With only a rudimentary knowledge of HTML and CSS you can create powerful custom reports. Browse the other help articles in the reports category for detailed instructions on accomplishing specific tasks.</p>
]]></content:encoded>
			<wfw:commentRss>http://coradine.com/2006/12/29/how-to-create-a-custom-report/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

