<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — Disable stats on home page]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic3553.xml" />
	<updated>2012-06-23T09:43:17Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic3553-disable-stats-on-home-page.html</id>
		<entry>
			<title type="html"><![CDATA[Re: Disable stats on home page]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post16611.html#p16611" />
			<content type="html"><![CDATA[<p>It&#039;s achieved and will be available in next release of iRedAdmin-Pro. What you need to do is:</p><p>1: Edit libs/settings.py, find below setting. It&#039;s set to False by default.<br /></p><div class="codebox"><pre><code>REDIRECT_TO_DOMAIN_LIST_AFTER_LOGIN = False</code></pre></div><p>2: Change it to True.<br /></p><div class="codebox"><pre><code>REDIRECT_TO_DOMAIN_LIST_AFTER_LOGIN = True</code></pre></div><p>3: Restart Apache.</p><p>P.S. It&#039;s better to save all changed settings in libs/settings.py to a new file: libs/settings_local.py. You have to create it manually, and set correct file owner (iredadmin:iredadmin) and permission (0555). So that you can simply copy libs/settings_local.py to save your custom settings while upgrading iRedAdmin-Pro.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-06-23T09:43:17Z</updated>
			<id>http://www.iredmail.org/forum/post16611.html#p16611</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Disable stats on home page]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post16606.html#p16606" />
			<content type="html"><![CDATA[<p>Thank you. That works great and it&#039;s much faster logging in.</p>]]></content>
			<author>
				<name><![CDATA[smokinkat]]></name>
				<uri>http://www.iredmail.org/forum/user5295.html</uri>
			</author>
			<updated>2012-06-22T13:30:25Z</updated>
			<id>http://www.iredmail.org/forum/post16606.html#p16606</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Disable stats on home page]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post16552.html#p16552" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>smokinkat wrote:</cite><blockquote><p>How about being able to make the &#039;home page&#039; (first page after login) a different page? Such as the Domains and Accounts page? That is usually the page I head to first.</p></blockquote></div><p>You can do it with below change:</p><p>1: Open controllers/mysql/basic.py, find below two lines:<br /></p><div class="codebox"><pre><code>            raise web.seeother(&#039;/dashboard&#039;)
...
            raise web.seeother(&#039;/dashboard/checknew&#039;)</code></pre></div><p>2: Change both &quot;/dashboard&quot; and &quot;/dashboard/checknew&quot; to &quot;/domains&quot;. Save changes.</p><p>Restarting Apache is required. This works with all editions of iRedAdmin-Pro: LDAP, MySQL, PGSQL.</p><p>Will consider make it configurable in next release of iRedAdmin-Pro, for example, config it in libs/settings.py:<br /></p><div class="codebox"><pre><code>REDIRECT_TO_DOMAIN_LIST_AFTER_LOGIN = True</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-06-21T00:05:45Z</updated>
			<id>http://www.iredmail.org/forum/post16552.html#p16552</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Disable stats on home page]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post16545.html#p16545" />
			<content type="html"><![CDATA[<p>Hmm. Don&#039;t really want to do that. It is useful information.<br />How about being able to make the &#039;home page&#039; (first page after login) a different page? Such as the Domains and Accounts page? That is usually the page I head to first.</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[smokinkat]]></name>
				<uri>http://www.iredmail.org/forum/user5295.html</uri>
			</author>
			<updated>2012-06-20T13:28:25Z</updated>
			<id>http://www.iredmail.org/forum/post16545.html#p16545</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Disable stats on home page]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post16525.html#p16525" />
			<content type="html"><![CDATA[<p>Disable Amavisd integration in iRedAdmin-Pro config file settings.ini will disable it, and you cannot view Sent/Received/Quarantined mails, too.<br /></p><div class="codebox"><pre><code># File: settings.ini

[amavisd]
logging_into_sql = False
...</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-06-19T23:56:53Z</updated>
			<id>http://www.iredmail.org/forum/post16525.html#p16525</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Disable stats on home page]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post16523.html#p16523" />
			<content type="html"><![CDATA[<p>==== Provide required information ====<br />- iRedMail version and backend (LDAP/MySQL/PGSQL):<br />- Linux/BSD distribution name and version:<br />- Any related log? Log is helpful for troubleshooting.<br />==== </p><p>iRedAdmin-Pro 1.3.1 (MySQL)<br />Centos 5.8</p><p>Is there a way to disable all the stats on the home page on iRedamin?<br />It usually takes over a minute to get logged in as it is reading the data for the stats.</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[smokinkat]]></name>
				<uri>http://www.iredmail.org/forum/user5295.html</uri>
			</author>
			<updated>2012-06-19T18:10:38Z</updated>
			<id>http://www.iredmail.org/forum/post16523.html#p16523</id>
		</entry>
</feed>
