<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://atk-framework.com/index.php?action=history&amp;feed=atom&amp;title=Changing_the_default_welcome_screen</id>
	<title>Changing the default welcome screen - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://atk-framework.com/index.php?action=history&amp;feed=atom&amp;title=Changing_the_default_welcome_screen"/>
	<link rel="alternate" type="text/html" href="https://atk-framework.com/index.php?title=Changing_the_default_welcome_screen&amp;action=history"/>
	<updated>2026-09-20T17:28:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://atk-framework.com/index.php?title=Changing_the_default_welcome_screen&amp;diff=19698&amp;oldid=prev</id>
		<title>bahtiar: Created page with &quot;{{howto|advanced|Ivo Jansch}}  By default an ATK application shows a welcome screen after the user first logs in. Sometimes you want to immediately send the user to ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://atk-framework.com/index.php?title=Changing_the_default_welcome_screen&amp;diff=19698&amp;oldid=prev"/>
		<updated>2011-06-04T07:43:49Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{howto|advanced|&lt;a href=&quot;/User:Ivo&quot; title=&quot;User:Ivo&quot;&gt;Ivo Jansch&lt;/a&gt;}}  By default an ATK application shows a welcome screen after the user first logs in. Sometimes you want to immediately send the user to ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{howto|advanced|[[User:Ivo|Ivo Jansch]]}}&lt;br /&gt;
&lt;br /&gt;
By default an ATK application shows a welcome screen after the user first logs in. Sometimes you want to immediately send the user to a specific screen instead of the welcome screen. &lt;br /&gt;
&lt;br /&gt;
Let&amp;#039;s assume that you want to send the user directly to the admin screen for news items. Take the following steps to accomplish this.&lt;br /&gt;
&lt;br /&gt;
Open index.php and find this section of code, near the bottom of the file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
  $indexpage = &amp;amp;atknew(&amp;#039;atk.ui.atkindexpage&amp;#039;);&lt;br /&gt;
  $indexpage-&amp;gt;generate();&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add a line between those two lines:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
  $indexpage = &amp;amp;atknew(&amp;#039;atk.ui.atkindexpage&amp;#039;);&lt;br /&gt;
  $indexpage-&amp;gt;setDefaultDestination(array(&amp;quot;atknodetype&amp;quot;=&amp;gt;&amp;quot;content.news&amp;quot;, &amp;quot;atkaction&amp;quot;=&amp;gt;&amp;quot;admin&amp;quot;));&lt;br /&gt;
  $indexpage-&amp;gt;generate();&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will open the app directly with the admin screen of the news node in the content module.&lt;/div&gt;</summary>
		<author><name>bahtiar</name></author>
	</entry>
</feed>