<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — About set_marker - That's Overdue Color]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4488&amp;type=atom" />
	<updated>2013-11-11T04:41:36Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=4488</id>
		<entry>
			<title type="html"><![CDATA[Re: About set_marker - That's Overdue Color]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18416#p18416" />
			<content type="html"><![CDATA[<p>thanks for reply buddy , i will try this one..</p>]]></content>
			<author>
				<name><![CDATA[tester1]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18290</uri>
			</author>
			<updated>2013-11-11T04:41:36Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18416#p18416</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: About set_marker - That's Overdue Color]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18387#p18387" />
			<content type="html"><![CDATA[<p><strong>set_marker()</strong> is a method of <strong>class db_pager</strong> defined in <strong>includes/db_pager.inc</strong>. This function marks the rows in a specific way. You may need to extend this class and have one more method say <strong>set_marker2()</strong> to achieve what you want or modify the functionality of the existing method with an additional argument to flag it differently.</p><p>The sample code you are after are in files like:<br />Line 318 in sales/inquiry/sales_orders_view.php<br />and<br />Line 244 in sales/inquiry/customer_inquiry.php</p><p>The colors are provided as arguments to the set_marker() function as seen in lines 390-398 of <strong>includes/db_pager.inc</strong>:<br /></p><div class="codebox"><pre><code>    //    Set check function to mark some rows.
    //    
    function set_marker($func, $notice=&#039;&#039;, $markercl=&#039;overduebg&#039;, $msgclass=&#039;overduefg&#039; )
    {
        $this-&gt;marker = $func;
        $this-&gt;marker_txt = $notice;
        $this-&gt;marker_class = $markercl;
        $this-&gt;notice_class = $msgclass;
    }</code></pre></div><p>The color values of <strong>overduebg</strong> (background color) and <strong>overduefg</strong> (text color) for marking purposes are available in the various theme css like in lines 320-326 of <strong>themes/default/default.css</strong> :</p><div class="codebox"><pre><code>.overduebg {
    background-color: #dd7777;
}

.overduefg {
    color: #dd7777;
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-11-08T16:50:55Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18387#p18387</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: About set_marker - That's Overdue Color]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18382#p18382" />
			<content type="html"><![CDATA[<p>dude,</p><p>? am saying i have use all include file ..and if i am using only one set_maker with one function then its working properly , but iam using 2 set_maker which i have mention above then only below one is working ..</p>]]></content>
			<author>
				<name><![CDATA[tester1]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18290</uri>
			</author>
			<updated>2013-11-08T08:14:42Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18382#p18382</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: About set_marker - That's Overdue Color]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18380#p18380" />
			<content type="html"><![CDATA[<p>If it is your own page, how can the community help you? </p><p>What page in FA are you using as the basis for your page? </p><p>Unless we know the context and what includes are available at the point of usage, how can we help you?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-11-08T07:43:48Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18380#p18380</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: About set_marker - That's Overdue Color]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18378#p18378" />
			<content type="html"><![CDATA[<p>Dear,</p><p>Thanks for reply , dude thats my own code page , what i am looking is :</p><p>$table-&gt;set_marker(&#039;check_overdue&#039;, _(&quot;Marked area are not completed / Over Date.&quot;));<br />$table-&gt;set_marker(&#039;testaa&#039;, _(&quot;Markfed orders are overdue.&quot;));<br />$table-&gt;width = &quot;95%&quot;;</p><p>but only One function testaa&nbsp; is working .. cant i have multiple set maker ?</p>]]></content>
			<author>
				<name><![CDATA[tester1]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18290</uri>
			</author>
			<updated>2013-11-08T07:38:16Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18378#p18378</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: About set_marker - That's Overdue Color]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18377#p18377" />
			<content type="html"><![CDATA[<p>State sequence of menu choices that lead to the target page where you want your feature. Screenshots would be useful too.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-11-08T07:33:39Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18377#p18377</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: About set_marker - That's Overdue Color]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18375#p18375" />
			<content type="html"><![CDATA[<p>any one here ? .pls let me know</p>]]></content>
			<author>
				<name><![CDATA[tester1]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18290</uri>
			</author>
			<updated>2013-11-08T06:55:18Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18375#p18375</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[About set_marker - That's Overdue Color]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18264#p18264" />
			<content type="html"><![CDATA[<p>Hi all,</p><p>Can i have multiple set_marker - That&#039;s Overdue Color with different function ?.</p><p>I want a page where i have 2 function one is overdue as per date required and second one is as per User&nbsp; with different color ( one is red and second one is green ).</p><p>Admin please let me know .</p><p>Thanks<br />Tester</p>]]></content>
			<author>
				<name><![CDATA[tester1]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18290</uri>
			</author>
			<updated>2013-10-30T06:58:48Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18264#p18264</id>
		</entry>
</feed>
