Following the instructions from this page: 

<http://www.magento.cc/how-to-use-php-on-a-cms-page.html>

1) i declared the module in the *app/etc/modules* :

```
<?xml version="1.0"?>
<config>
    <modules>
        <Stock_status>
            <active>true</active>
            <codePool>local</codePool>
</Stock_status>
</modules>
</config>

```

2) Then i created the **config.xml** in *app\code\local\Stock\status\Custom\etc* with these contents in it:

```
<?xml version="1.0"?>
<config>
<global>
<blocks>
<Stock_status>
<class>Stock_status_Block</class>
</Stock_status>
</blocks>
</global>
</config>

```

3) afterwards i created a **test.php** in *app/code/local/Stock/status/Custom/Block* file with these contents in it:

```
<?php
class Stock_status_Block_Test extends Mage_Core_Block_Abstract
{
protected function _toHtml()
{
.Mage::helper('customstockstatus')->getListStatus($_product->getId()).
return $html;
}
}

```

and finally 
4) i went in a cms page to see if it works by putting this value in:

```
{{block type="Stock_status_Custom/test" ListStatus="02"}}

```

This line of code should return me the stock status of a specific product (in this example, the product with the ID 02) 

BUT it doesn't work. What have i done incorrectly? Can someone please help me?