Extend the oxshop with a Module

Hey Guys,

im new to oxid shop system and wanted to write a module which extends the oxshop so i can use it in any template wherever i want. Ive tested the module successfully by extending the ‘start’-controller and used it on the startup page with $oView->myfunc().

Now i want to use the same module on another page so i wanted to extend the ‘oxshop’.
So here is my Metadata file:

<?php

$sMetadataVersion = '1.0';

$aModule = array(
    'id'           => 'allround',
    'title'        => 'Allrounder',
    'description'  => 'Overall function',
    'version'      => '1.0',
    'author'       => 'OC',
    'extend'       => array(
        'oxShop' =>'allround/tester'
    )
);

with this tester.php file:

<?php

class tester extends tester_parent
{
	function __construct()
	{
		
	}
	
	public function test()
	{
		echo "Tester";
	}
	
}

?>

When i now go to my acp and activate the module, the whole acp is killed and my shop says “shop offline!”… i have to delete the folder from my ftp to reconstruct the acp and the page … i hope you can help me …

thanks for reading!

Best regards

Sebastian

Now it works. I`ve overridden the constructor… that was my problem… thanks anyway :)!
CLOSED___