I will try help you partially, at least up until the point where I am stuck following the same tutorial and than going on to add a phtml file...
First of all, the tar file does not include all the stuff you need to get this working, you will need to read through the rest of his tutorial (or see below).
You should have the following files (and content):
app/code/community/Pulsestorm/Adminhello/controllers/AdminhelloController.php
<?php
class Pulsestorm_Adminhello_AdminhelloController extends Mage_Adminhtml_Controller_Action
{
public function indexAction()
{
$this->loadLayout();
$this->renderLayout();
}
}
app/code/community/Pulsestorm/Adminhello/etc/adminhtml.xml
<config>
<menu>
<pulsestorm translate="title" module="pulsestorm_adminhello">
<title>Pulse Storm</title>
<sort_order>1</sort_order>
<children>
<example>
<title>Example</title>
<sort_order>1</sort_order>
<action>adminhtml/adminhello/index</action>
</example>
</children>
</pulsestorm>
</menu>
<acl>
<resources>
<admin>
<children>
<pulsestorm translate="title" module="pulsestorm_adminhello">
<title>Top Level Pulse Storm Menu Item</title>
<sort_order>1</sort_order>
<children>
<example>
<title>Example Menu Item</title>
</example>
</children>
</pulsestorm>
</children>
</admin>
</resources>
</acl>
</config>
app/code/community/Pulsestorm/Adminhello/etc/config.xml
Please note the extra part I added inside adminhtml
<?xml version="1.0"?>
<config>
<modules>
<Pulsestorm_Adminhello>
<version>1.0.0</version>
</Pulsestorm_Adminhello>
</modules>
<adminhtml>
<layout>
<updates>
<pulsestorm_adminhello>
<file>pulsestorm_adminhello.xml</file>
</pulsestorm_adminhello>
</updates>
</layout>
</adminhtml>
<admin>
<routers>
<adminhtml>
<args>
<modules>
<Pulsestorm_Adminhello after="Mage_Adminhtml">Pulsestorm_Adminhello</Pulsestorm_Adminhello>
</modules>
</args>
</adminhtml>
</routers>
</admin>
<global>
<helpers>
<pulsestorm_adminhello>
<class>Pulsestorm_Adminhello_Helper</class>
</pulsestorm_adminhello>
</helpers>
</global>
</config>
app/code/community/Pulsestorm/Adminhello/Helper/Data.php
<?php
class Pulsestorm_Adminhello_Helper_Data extends Mage_Core_Helper_Abstract
{
}
'app/etc/modules/Pulsestorm_Adminhello.xml'
<?xml version="1.0"?>
<config>
<modules>
<Pulsestorm_Adminhello>
<active>true</active>
<codePool>community</codePool>
<depends></depends>
</Pulsestorm_Adminhello>
</modules>
<admin>
<routers>
<adminhtml>
<args>
<modules>
<Pulsestorm_Adminhello after="Mage_Adminhtml">Pulsestorm_Adminhello</Pulsestorm_Adminhello>
</modules>
</args>
</adminhtml>
</routers>
</admin>
</config>
app/design/adminhtml/default/layout/pulsestorm_adminhello.xml
<?xml version="1.0"?>
<layout>
<adminhtml_adminhello_index>
<block type="core/template" output="toHtml" name="templateBlock" template="adminhello/hello.phtml" />
</adminhtml_adminhello_index>
</layout>
As you probably guess from the content above you will also need to create a corresponding phtml file under:
app/design/adminhtml/default/template/adminhello/hello.phtml
So for me, I will attach a screenshot of what I now see.
Hope this helps, and perhaps, someone can help get the phtml file rendering in the middle of the admin area, not down near the closing </body>
tag.
