<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Dashboard Theme and Module]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3864&amp;type=atom" />
	<updated>2017-01-05T15:08:55Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=3864</id>
		<entry>
			<title type="html"><![CDATA[Re: Dashboard Theme and Module]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27343#p27343" />
			<content type="html"><![CDATA[<p>This has something to do solely with the code rendering the images - graphs. Check if there are any hard coded character sets used.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-01-05T15:08:55Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27343#p27343</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dashboard Theme and Module]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27337#p27337" />
			<content type="html"><![CDATA[<p>In fact, I have successfully done the Chinese language before.&nbsp; The issue is when I installed the dashboard theme and extension as created by Alastair, the encoding has to be 8859-1.&nbsp; If I change it to utf-8 (as shown below), the legends, headers of the tables and charts will not show up.&nbsp; &nbsp;I am wondering how I could use the utf-8 and yet the dashboard can still show the legend properly. Please refer to the following screenshots: </p><p>http:www.mgatech-sg.com/images/fa1-iso8895-1.png<br />http:www.mgatech-sg.com/images/fa1-utf-8.png</p><p>&lt;<br />$installed_languages = array (<br />&nbsp; 0 =&gt; <br />&nbsp; array (<br />&nbsp; &nbsp; &#039;code&#039; =&gt; &#039;C&#039;,<br />&nbsp; &nbsp; &#039;name&#039; =&gt; &#039;English&#039;,<br />//&nbsp; &nbsp; &#039;encoding&#039; =&gt; &#039;iso-8859-1&#039;,<br />&nbsp; &nbsp; &#039;encoding&#039; =&gt; &#039;utf-8&#039;, <br />&nbsp; ),</p><br /><p>Thanks again!</p>]]></content>
			<author>
				<name><![CDATA[mark0300]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20216</uri>
			</author>
			<updated>2017-01-04T09:09:33Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27337#p27337</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dashboard Theme and Module]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27334#p27334" />
			<content type="html"><![CDATA[<p>Since you are interested in the Chinese language, it would be best if you install the latest Chinese Language Extension and then take it from there. Each language used by FA must be an element in the $installed_languages array.</p><p>I have an example for the <a href="https://github.com/apmuthu/frontaccounting/blob/master/FAMods/lang/installed_languages.inc">Tamil language</a> in my repo (<a href="https://github.com/apmuthu/frontaccounting/commit/3353d14133c8176dc4f43c9750551990eb157f4b">recently updated</a>) you can use for reference.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-01-04T08:39:23Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27334#p27334</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dashboard Theme and Module]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27330#p27330" />
			<content type="html"><![CDATA[<p>Hi apmuthu,</p><p>Thanks for your reply.&nbsp; &nbsp;I have this file in US English \lang\en_US\LC_MESSAGES\en_US-2.3.12-1.po and I can compile it using poedit and it is already in utf-8.&nbsp; However, I don&#039;t have a lang\C... in the lang directory.&nbsp; Would you enlighten me which .po file should I compile to utf-8 and I will try it out..</p><p>Thank you</p><p>/Mark</p>]]></content>
			<author>
				<name><![CDATA[mark0300]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20216</uri>
			</author>
			<updated>2017-01-04T06:56:52Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27330#p27330</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dashboard Theme and Module]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27324#p27324" />
			<content type="html"><![CDATA[<p>Hope you compiled the *.mo file in utf-8. The C language is generally in iso-8859-1 as the original gettext strings in the code are in that language.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-01-04T04:21:48Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27324#p27324</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dashboard Theme and Module]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=27313#p27313" />
			<content type="html"><![CDATA[<p>Hi Alastair,</p><p>I have installed the dashboard theme on FA 2.3.25.&nbsp; I am using utf-8 and I have changed the encoding in&nbsp; &nbsp;lang\installed_languages.inc from &quot;iso-8859-1&quot; to &#039;utf-8&quot;.&nbsp; And once I change this, the wordings (legends, headers etc) on the charts or table will disappear.&nbsp; Only when I switch back to iso-8859-1, then these wordings will appear.&nbsp; I am not sure how could I make it appear if I use &quot;utf-8&quot;?&nbsp; Would you please advise?&nbsp; </p><p>Below are the codes in installed_languages.inc as you could see I have to switch between the 2 encoding. <br />I need to use utf-8 because I need to handle some Chinese characters.</p><p><span style="color: blue"><br />&lt;<br />$installed_languages = array (<br />&nbsp; 0 =&gt; <br />&nbsp; array (<br />&nbsp; &nbsp; &#039;code&#039; =&gt; &#039;C&#039;,<br />&nbsp; &nbsp; &#039;name&#039; =&gt; &#039;English&#039;,<br /><strong>//&nbsp; &nbsp; &#039;encoding&#039; =&gt; &#039;iso-8859-1&#039;,<br />&nbsp; &nbsp; &#039;encoding&#039; =&gt; &#039;utf-8&#039;, </strong><br />&nbsp; ),<br /></span></p>]]></content>
			<author>
				<name><![CDATA[mark0300]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20216</uri>
			</author>
			<updated>2017-01-02T05:24:59Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=27313#p27313</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dashboard Theme and Module]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=23798#p23798" />
			<content type="html"><![CDATA[<p>Hi Alastair,</p><p>Any news on this problem yet? I&#039;ve found out that the error occurs only when there are widgets used. So when I add the widget &quot;Overdue Sales Invoices&quot; to the Dashboard page/area. The error is showed on that page only. When I remove the widget the error is gone again.</p><p>Hope you can help!</p>]]></content>
			<author>
				<name><![CDATA[Bossy]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20432</uri>
			</author>
			<updated>2015-07-03T10:49:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=23798#p23798</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dashboard Theme and Module]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=23578#p23578" />
			<content type="html"><![CDATA[<p>Thanks a lot for your very quick reply!</p><p>I&#039;ve tried your solution but unfortunately it didn&#039;t resolve the problem. Perhaps it is because of my lack of knowledge in coding :-S</p><p>I&#039;ve changed the dashboard_ui.inc to:</p><p>&lt;?php<br />// ----------------------------------------------------------------<br />// $ Revision:&nbsp; 1.0 $<br />// Creator: Alastair Robertson<br />// date_:&nbsp; &nbsp;2013-01-30<br />// Title:&nbsp; &nbsp;UI functions for dashboard<br />// Free software under GNU GPL<br />// ----------------------------------------------------------------</p><p>function widget_list_row($widgets, $label, $name, $selected_id=null, $submit_on_change=false)<br />{<br />&nbsp; &nbsp; echo &quot;&lt;tr&gt;&lt;td class=&#039;label&#039;&gt;$label&lt;/td&gt;&lt;td&gt;&quot;;<br />&nbsp; &nbsp; echo array_selector($name, $selected_id, $widgets,<br />&nbsp; &nbsp; &nbsp; &nbsp; array(<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#039;select_submit&#039;=&gt; $submit_on_change<br />&nbsp; &nbsp; &nbsp; &nbsp; ) );<br />&nbsp; &nbsp; echo &quot;&lt;/td&gt;&lt;/tr&gt;\n&quot;;<br />}</p><p>function select_row($label, $name, $selected_id=null, $items, $options)<br />{<br />&nbsp; &nbsp; // add missing function for generic selector row<br />&nbsp; &nbsp; echo &quot;&lt;tr&gt;&lt;td class=&#039;label&#039;&gt;$label&lt;/td&gt;&lt;td&gt;&quot;;<br />&nbsp; &nbsp; echo array_selector($name, $selected_id, $items, $options);<br />&nbsp; &nbsp; echo &quot;&lt;/td&gt;&lt;/tr&gt;\n&quot;;<br />}</p><p>function start_cell()<br />{<br />&nbsp; &nbsp; echo &quot;&lt;td&gt;&quot;;<br />}</p><p>function end_cell()<br />{<br />&nbsp; &nbsp; echo &quot;&lt;/td&gt;&quot;;<br />}<br />?&gt;</p><p>I still get the message as mentioned earlier.</p>]]></content>
			<author>
				<name><![CDATA[Bossy]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20432</uri>
			</author>
			<updated>2015-05-22T09:43:07Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=23578#p23578</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dashboard Theme and Module]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=23570#p23570" />
			<content type="html"><![CDATA[<p>This seems to be a 2.4 problem. I downloaded and installed the 2.4 release and found this error but had not had a chance to pass a fix back to the team.<br />The problem is in ~/modules/dashboard/includes/dashboard_ui.inc. Please delete the function text_input completely and that will get rid of the that problem.<br />I suspect though, the problem is actually 2.4 versions of modules being downloaded for a 2.3 installation.</p>]]></content>
			<author>
				<name><![CDATA[AlastairR]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=9732</uri>
			</author>
			<updated>2015-05-22T00:11:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=23570#p23570</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dashboard Theme and Module]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=23569#p23569" />
			<content type="html"><![CDATA[<p>Hi AlastairR,</p><p>Thanks for the wonderfull module! I do have a problem with it though. On the Dashboard tab I get the following message:</p><p>implode(): Invalid arguments passed in file: /srv/bosgraaf/www/**My URL**/includes/ui/ui_controls.inc on line59</p><p>Everything does seem to work but what does this message mean and what is going wrong? Did I miss a setting?</p><p>I&#039;m using FA 2.3.24 and Dashboard 2.4.0-1 with Exclusive Dashboard Theme 2.3.10-3</p><p>I did search the web and this forum but didn&#039;t find a solution. I hop you or someone else is able to help!</p><p>Thanks in advance!</p>]]></content>
			<author>
				<name><![CDATA[Bossy]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20432</uri>
			</author>
			<updated>2015-05-21T21:59:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=23569#p23569</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dashboard Theme and Module]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19972#p19972" />
			<content type="html"><![CDATA[<p>thank you very much <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" />, it&#039;s a wonderful dashboard</p>]]></content>
			<author>
				<name><![CDATA[xodaix]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19381</uri>
			</author>
			<updated>2014-05-26T13:31:59Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19972#p19972</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dashboard Theme and Module]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19968#p19968" />
			<content type="html"><![CDATA[<p>That&#039;s the SQL display that is creating the screen width. Turn off the SQL debug and it will then look a bit better.</p>]]></content>
			<author>
				<name><![CDATA[AlastairR]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=9732</uri>
			</author>
			<updated>2014-05-25T23:07:55Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19968#p19968</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dashboard Theme and Module]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19967#p19967" />
			<content type="html"><![CDATA[<p>Hi, <br />I have this layout issue <br />http://screencast.com/t/3LpfhTCu</p><p>i try Google chrome and Firefox</p>]]></content>
			<author>
				<name><![CDATA[xodaix]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19381</uri>
			</author>
			<updated>2014-05-25T22:59:45Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19967#p19967</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dashboard Theme and Module]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19425#p19425" />
			<content type="html"><![CDATA[<p>Hello,</p><p>l want to congratulate you &quot;Alastair R&quot; on this module, l have installed on 2.3.19 and is working perfecly for now.</p><p>Regards,<br />Akinola</p>]]></content>
			<author>
				<name><![CDATA[takinolaa]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18968</uri>
			</author>
			<updated>2014-03-06T15:56:24Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19425#p19425</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Dashboard Theme and Module]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19409#p19409" />
			<content type="html"><![CDATA[<p>Version 2.4.x is not ready to be used safely. This is in beta phase, so you should better stay with current 2.3.19 stable.<br />Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2014-03-06T10:21:30Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19409#p19409</id>
		</entry>
</feed>
