<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Added Extension - does not appear in menus]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8083&amp;type=atom" />
	<updated>2019-04-07T13:05:54Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=8083</id>
		<entry>
			<title type="html"><![CDATA[Re: Added Extension - does not appear in menus]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34619#p34619" />
			<content type="html"><![CDATA[<p>I may have some other issues to fix... I will post here when I test more</p><p>Tom</p>]]></content>
			<author>
				<name><![CDATA[tom]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=331</uri>
			</author>
			<updated>2019-04-07T13:05:54Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34619#p34619</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Added Extension - does not appear in menus]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34617#p34617" />
			<content type="html"><![CDATA[<p>Well that explains it!</p><p>The extension I downloaded when running 2.4.6 contained an older version of the hooks.php file that did not contain<br /></p><div class="codebox"><pre><code>    function __construct() {
        $this-&gt;module_name = &#039;osc_orders&#039;;
    }</code></pre></div><p>I downloaded the first 8-10 extensions from setup-&gt;install.activate extensions and found only a couple have the constructor called</p><p>I did not check github but I see the osc_orders was updated as part of what may have been a global update...</p><p>i am the author of osc_orders and I have a small update I would like to make..</p><p>I&#039;d do it myself but I am not very good with git yet and only have this one change to be made...</p><p>Can do apply it to the sources? (2 lines changed) or I can email/pm the updated file...<br />Below: The updated file is on the right &quot;&gt;&quot;</p><div class="codebox"><pre><code>tom@w2vy:/var/www/html/fa/modules/osc_orders$ diff osCommerce.php /tmp/osCommerce.php 
432,433c432
&lt;                 $cart-&gt;document_date = Today();
&lt;                 // $_POST[&#039;OrderDate&#039;] = $cart-&gt;document_date;
---
&gt;                 $cart-&gt;document_date = sql2date($order[&#039;date_purchased&#039;]);
442c441
&lt;                 $cart-&gt;due_date = Today();
---
&gt;                 $cart-&gt;due_date = sql2date($order[&#039;date_purchased&#039;]);</code></pre></div><p>Thanks!<br />Tom<br />ps. I just attached it as a txt file! I knew there as a way...</p>]]></content>
			<author>
				<name><![CDATA[tom]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=331</uri>
			</author>
			<updated>2019-04-07T12:45:43Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34617#p34617</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Added Extension - does not appear in menus]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34615#p34615" />
			<content type="html"><![CDATA[<p>Check the latest <a href="https://github.com/apmuthu/FA24extensions/tree/master/Extensions">FA24extensions repo</a> for changes to the extensions of interest.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2019-04-07T04:26:27Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34615#p34615</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Added Extension - does not appear in menus]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34608#p34608" />
			<content type="html"><![CDATA[<p>Ok, I looked around and it does have the add_rapp_function call</p><p>I am thinking that it has something to do with security</p><p>The code has:<br /></p><div class="codebox"><pre><code>define (&#039;SS_OSCORDERS&#039;, 106&lt;&lt;8);

and

            case &#039;orders&#039;:
                $app-&gt;add_rapp_function(2, _(&#039;osCommerce Import&#039;),
                    $path_to_root.&#039;/modules/osc_orders/osCommerce.php&#039;, &#039;SA_OSCORDERS&#039;);
        }</code></pre></div><p>Is 106 correct?</p><p>Any ideas? The module is listed as &quot;osCommerce Order and Customer Import Module&quot;<br />In the Install/Activate extension</p><p>Yes I activated it <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>The CVS Import items is working fine (# 105)</p><p>Tom</p>]]></content>
			<author>
				<name><![CDATA[tom]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=331</uri>
			</author>
			<updated>2019-04-06T19:22:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34608#p34608</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Added Extension - does not appear in menus]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34606#p34606" />
			<content type="html"><![CDATA[<p>Some new updates In PHP , due to that core of FA is also updated the extension hooks. Check your extension supports the new thing. Most probably the <strong>function __construct()</strong> may be needs to be updated.</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2019-04-06T14:53:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34606#p34606</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Added Extension - does not appear in menus]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34604#p34604" />
			<content type="html"><![CDATA[<p>I am upgrading from 2.3.16 to 2.4.6 and I added my two extensions back in but they do not show up in the menus</p><p>I am guessing I had to add them manually, I just forgot how</p><p>osc_orders and import_items</p><p>I also have a minor update to osc_orders, last time I think I emailed it to Joe, is that the case still or is there a place to upload them?</p><p>Tom</p>]]></content>
			<author>
				<name><![CDATA[tom]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=331</uri>
			</author>
			<updated>2019-04-06T13:54:25Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34604#p34604</id>
		</entry>
</feed>
