<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — date_picker is not defined in version 2. 4RC.]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=6484</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6484&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in date_picker is not defined in version 2. 4RC..]]></description>
		<lastBuildDate>Fri, 23 Sep 2016 13:43:30 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: date_picker is not defined in version 2. 4RC.]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26443#p26443</link>
			<description><![CDATA[<p>Thanks @Joe&nbsp; And @Apmuthu,&nbsp; I have solved the problem by referring the js file.&nbsp; It&#039;s solved now.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Fri, 23 Sep 2016 13:43:30 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26443#p26443</guid>
		</item>
		<item>
			<title><![CDATA[Re: date_picker is not defined in version 2. 4RC.]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26436#p26436</link>
			<description><![CDATA[<p>The function user_use_date_picker() is defined in release 2.4 in file /includes/current_user.inc on line 582. </p><p>Check that you have this file included, otherwise the function is undefined.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Fri, 23 Sep 2016 06:46:14 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26436#p26436</guid>
		</item>
		<item>
			<title><![CDATA[Re: date_picker is not defined in version 2. 4RC.]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26435#p26435</link>
			<description><![CDATA[<p>The <strong>function user_use_date_picker ()</strong> is not part of core FA 2.3 but in <strong>includes/current_user.inc</strong> in FA 2.4. <s>Assume it is part of your module.</s><br /></p><div class="codebox"><pre><code>function user_use_date_picker()
{
    return $_SESSION[&quot;wa_current_user&quot;]-&gt;prefs-&gt;use_date_picker();
}</code></pre></div><p>The <strong>function get_js_date_picker</strong> is in FA 2.3 and FA 2.4 in <strong>includes/ui/ui_view.inc</strong>.</p><p>The version of the above function in FA 2.3 uses:<br /></p><div class="codebox"><pre><code>$fpath = company_path().&#039;/js_cache/&#039;.&#039;date_picker.js&#039;;</code></pre></div><p>whilst that in FA 2.4 uses:<br /></p><div class="codebox"><pre><code>$fpath = user_js_cache().&#039;/&#039;.&#039;date_picker.js&#039;;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 23 Sep 2016 03:39:16 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26435#p26435</guid>
		</item>
		<item>
			<title><![CDATA[Re: date_picker is not defined in version 2. 4RC.]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26432#p26432</link>
			<description><![CDATA[<p>It looks like a missing include file.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Thu, 22 Sep 2016 16:13:44 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26432#p26432</guid>
		</item>
		<item>
			<title><![CDATA[date_picker is not defined in version 2. 4RC.]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26431#p26431</link>
			<description><![CDATA[<p>I am working with a custom module. When i have used the code </p><div class="codebox"><pre><code> if (user_use_date_picker ()){
 $js .= get_js_date_picker (); 
} </code></pre></div><p>And i used date_row () function for the date picker. </p><p>But it&#039;s not working.&nbsp; I have seen this error on the console. </p><p>`date_picker is not defined`</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Thu, 22 Sep 2016 15:10:26 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26431#p26431</guid>
		</item>
	</channel>
</rss>
