Skip to content

Instantly share code, notes, and snippets.

@amacgregor
Created June 8, 2010 04:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amacgregor/429627 to your computer and use it in GitHub Desktop.
Save amacgregor/429627 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<config>
<modules>
<Expertmagento_Adminhtml>
<version>0.1.0</version>
</Expertmagento_Adminhtml>
</modules>
<global>
<blocks>
<adminhtml>
<rewrite>
<catalog_product_edit_tabs>Expertmagento_Adminhtml_Block_Tabs</catalog_product_edit_tabs>
</rewrite>
</adminhtml>
</blocks>
</global>
</config>
<?php
class Expertmagento_Adminhtml_Block_Tabs extends Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs
{
protected function _prepareLayout()
{
parent::_prepareLayout();
$this->addTab('knowledgebase', array(
'label' => Mage::helper('catalog')->__('Knowledge Base Articles'),
'content' => 'Success',
));
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment