Admin headitem add css stylesheet

Hi there,

I am trying to optimize a backend module I wrote… I actually just updated main.css with some new stuff to make the module display pretty, and that is not nice, especially when the module should be ready for installation by letscallit third-party. So I tried to override the headitem block ‘admin_headitem_inccss’ the following way:

/<mymodule>/out/blocks/admin_headitem_inccss.tpl :

	  [{$smarty.block.parent}]
      <link rel="stylesheet" href="[{$oViewConf->getModuleUrl('mymodule','mystyle.css')}]">

//metadata.php :

$aModule = array(
        extend, files, etc...,
	'blocks' => array(
		array( 'template' => 'headitem.tpl', 'block' => 'admin_headitem_inccss', 'file' => 'admin_headitem_inccss.tpl')
	)
);

well in any case, it’s not working :confused: any ideas folks? or is there another way to add stylesheets to the head in the module class maybe? thanx