<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Adding menu tab]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=104&amp;type=atom" />
	<updated>2018-11-23T06:45:57Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=104</id>
		<entry>
			<title type="html"><![CDATA[Re: Adding menu tab]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33374#p33374" />
			<content type="html"><![CDATA[<p>i am trying to create menu tab but not working above followed tutorial...</p><p>any guidance</p>]]></content>
			<author>
				<name><![CDATA[emiangel839]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42510</uri>
			</author>
			<updated>2018-11-23T06:45:57Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33374#p33374</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding menu tab]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24677#p24677" />
			<content type="html"><![CDATA[<p><a href="https://frontaccounting.com/punbb/viewtopic.php?id=5169">This thread</a> has the downloadable tutorial.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-11-09T17:48:27Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24677#p24677</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding menu tab]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24675#p24675" />
			<content type="html"><![CDATA[<p>Isn&#039;t this exactly what was described in post #3 of this thread?</p><p>Joe&#039;s reservations in #4 would certainly still apply.</p>]]></content>
			<author>
				<name><![CDATA[tm]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=17873</uri>
			</author>
			<updated>2015-11-09T07:38:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24675#p24675</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding menu tab]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24674#p24674" />
			<content type="html"><![CDATA[<p>This is a tutorial. it must be wikied</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2015-11-09T06:26:03Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24674#p24674</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding menu tab]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=24671#p24671" />
			<content type="html"><![CDATA[<p>The Following steps help you to create a new menu item. Goto frontaccounting main directory(Root Directory). Open you frontaccounting.php . It is giving access to every class. So just find the line</p><div class="codebox"><pre><code>include_once($path_to_root . &#039;/applications/customers.php&#039;);</code></pre></div><p>and after the line add your menu item.</p><p>Here I am adding a menu item of HRM.</p><div class="codebox"><pre><code>include_once($path_to_root . &#039;/applications/hrm.php&#039;);</code></pre></div><p>and create a object for hrm class.</p><p>Find the following line<br /></p><div class="codebox"><pre><code>$this-&gt;add_application(new customers_app());</code></pre></div><p>and add the following line of code after the line above.</p><div class="codebox"><pre><code>$this-&gt;add_application(new hrm_app());</code></pre></div><p>Note: If you change the order that will reflect on your menu order. So place your inclusion function based on your needs.<br />Then open your <strong>applications</strong> directory , and create a new php file namely “hrm.php”. And add your hrm class . Just copy any of the class file and make some changes based on your needs.</p><div class="codebox"><pre><code>&lt;?php

class hrm_app extends application 
{
function hrm_app() 
{
$this-&gt;application(&quot;hrm&quot;, _($this-&gt;help_context = &quot;&amp;HRM and Payroll&quot;));

// Here you can add your custom functions and files here. 
}

} ?&gt;</code></pre></div><p>Finally login your frontaccounting, to see your new menu item “HRM”.</p>]]></content>
			<author>
				<name><![CDATA[ziner80@yahoo.com]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18772</uri>
			</author>
			<updated>2015-11-09T04:55:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=24671#p24671</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding menu tab]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=2518#p2518" />
			<content type="html"><![CDATA[<p>Take a look at existing modules.</p><p>It is very simple, the add module (FA code) puts the hooks in to add a link to your page and when it is clicked your page is called...</p><p>Also the simpler modules can help figure out fa function calls (db_query, etc)</p><p>tom</p>]]></content>
			<author>
				<name><![CDATA[tom]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=331</uri>
			</author>
			<updated>2009-05-13T03:08:36Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=2518#p2518</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding menu tab]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=2512#p2512" />
			<content type="html"><![CDATA[<p>I am interested in using front accounting but I would need to create 2 custom modules to handle my needs or possibly customize the sales order module and create the second module.</p><p>If anyone can help point me in the direction to look at documentation to creating a new module I would appreciate it.&nbsp; I have a basic knowledge of PHP and I could recode/modify code to fit my needs.&nbsp; I could also create code with a guideline to follow, but I have no idea where to start.&nbsp; Thanks for the help.</p><br /><p>Thanks</p><p>Joel</p><br /><br /><p>P.S.&nbsp; If someone is interested in coding for my needs I would be willing to consider it.&nbsp; &nbsp;I am NOT going to pay $1000 for a custom module, though I know it is what many people would ask or even more.&nbsp; If I could afford that I would not be looking at open source software.</p>]]></content>
			<author>
				<name><![CDATA[pepeusmc]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=368</uri>
			</author>
			<updated>2009-05-12T04:44:34Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=2512#p2512</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding menu tab]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=2208#p2208" />
			<content type="html"><![CDATA[<p>There is no detailed instruction how to write modules. The best way is to download some modules from our download section and learn by example.<br />Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2009-04-07T07:41:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=2208#p2208</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding menu tab]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=2203#p2203" />
			<content type="html"><![CDATA[<p>hi there joe, how do we write the module?</p>]]></content>
			<author>
				<name><![CDATA[alazar]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=346</uri>
			</author>
			<updated>2009-04-06T19:21:21Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=2203#p2203</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding menu tab]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=1539#p1539" />
			<content type="html"><![CDATA[<p>Hello all,<br />I just want to say, that we do not recommend this approach. You have to replace everything you have changed when the next release is shipping.<br />It is much better to use one of the existing ones, and create this as a module. A module is just a way of extending the program in an easy way. And it can be installed from inside FrontAccounting.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2008-12-18T15:51:40Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=1539#p1539</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding menu tab]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=1512#p1512" />
			<content type="html"><![CDATA[<p>I know this posting is old, but if anyone else wants to do this ie. add a panel, here&#039;s how (NOTE: ONLY for people familiar with PHP coding):</p><p>1) Copy an app file something like what you want from an /applications/ file, and save it there. Give it a name in $this-&gt;application and update the foreach loop around line 31 to include any custom installed modules you want in this &#039;tab&#039; ie. app.<br />2) config.php - around line 158 add your new app like the others<br />3) frontaccounting.php - at top of file, include_once your new app file.<br />4) frontaccounting.php - around line 67 - same thing - $this-&gt;addapplication etc.</p><p>Now you should see a new panel in the location you chose in config.php.</p><p>Your next step will be to actually write PHP files that do stuff in your new tab.<br />You&#039;ll want to create a new directory to hold your new tab functions.<br />Create a new directory under the root with the name of your new app. You&#039;ll want includes, inquiries, manage and view subdirectories probably, depending on what you want to do. See the other directories eg. manufacturing for hints on what you need to do next.</p>]]></content>
			<author>
				<name><![CDATA[p2409]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=267</uri>
			</author>
			<updated>2008-12-17T09:43:12Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=1512#p1512</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Adding menu tab]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=299#p299" />
			<content type="html"><![CDATA[<p>Why not install the module under the Dimension tab. A dimension can be whatever you define it to be like project, cost centre, inventory, department, section etc.<br />If you like some extended operations you could create your project module under the Dimension tab and it will show up down, right.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2008-01-14T22:45:27Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=299#p299</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Adding menu tab]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=298#p298" />
			<content type="html"><![CDATA[<p>I am trying to create some new modules for FrontAccounting. Is there is a simple (or not so simple) way to add a menu tab at the top so that I can install modules inside it?</p><p>For instance, to the left of the Setup menu item at top, adding new tab called &#039;Projects&#039; and then creating modules via&nbsp; Install/Update Modules.</p><p>Any help would be appreciated. Don&#039;t be afraid to talk geek, I will understand.</p><p>Thanks!</p>]]></content>
			<author>
				<name><![CDATA[andycapp]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=106</uri>
			</author>
			<updated>2008-01-14T20:28:02Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=298#p298</id>
		</entry>
</feed>
