<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — About set_marker - That's Overdue Color]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=4488</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4488&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in About set_marker - That's Overdue Color.]]></description>
		<lastBuildDate>Mon, 11 Nov 2013 04:41:36 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: About set_marker - That's Overdue Color]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=18416#p18416</link>
			<description><![CDATA[<p>thanks for reply buddy , i will try this one..</p>]]></description>
			<author><![CDATA[null@example.com (tester1)]]></author>
			<pubDate>Mon, 11 Nov 2013 04:41:36 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=18416#p18416</guid>
		</item>
		<item>
			<title><![CDATA[Re: About set_marker - That's Overdue Color]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=18387#p18387</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 08 Nov 2013 16:50:55 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=18387#p18387</guid>
		</item>
		<item>
			<title><![CDATA[Re: About set_marker - That's Overdue Color]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=18382#p18382</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (tester1)]]></author>
			<pubDate>Fri, 08 Nov 2013 08:14:42 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=18382#p18382</guid>
		</item>
		<item>
			<title><![CDATA[Re: About set_marker - That's Overdue Color]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=18380#p18380</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 08 Nov 2013 07:43:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=18380#p18380</guid>
		</item>
		<item>
			<title><![CDATA[Re: About set_marker - That's Overdue Color]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=18378#p18378</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (tester1)]]></author>
			<pubDate>Fri, 08 Nov 2013 07:38:16 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=18378#p18378</guid>
		</item>
		<item>
			<title><![CDATA[Re: About set_marker - That's Overdue Color]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=18377#p18377</link>
			<description><![CDATA[<p>State sequence of menu choices that lead to the target page where you want your feature. Screenshots would be useful too.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 08 Nov 2013 07:33:39 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=18377#p18377</guid>
		</item>
		<item>
			<title><![CDATA[Re: About set_marker - That's Overdue Color]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=18375#p18375</link>
			<description><![CDATA[<p>any one here ? .pls let me know</p>]]></description>
			<author><![CDATA[null@example.com (tester1)]]></author>
			<pubDate>Fri, 08 Nov 2013 06:55:18 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=18375#p18375</guid>
		</item>
		<item>
			<title><![CDATA[About set_marker - That's Overdue Color]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=18264#p18264</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (tester1)]]></author>
			<pubDate>Wed, 30 Oct 2013 06:58:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=18264#p18264</guid>
		</item>
	</channel>
</rss>
