Jump to content

Why is module_mymodule Div display is set to none?


Recommended Posts

I am trying to add a tab with fields to the product page and content to order, this is what I have in mymodule.php


	public function hookDisplayAdminProductsExtra($params)
	{
		$this->context->smarty->assign(array('params' => $params));
		return $this->display(__FILE__, 'mymodule.tpl');
		
	}
	public function hookDisplayAdminOrderContentOrder($params)
	{
                $this->context->smarty->assign(array('params' => $params));
		return $this->display(__FILE__, 'mymodule.tpl');
	
	}
Edited by hugoromor (see edit history)
Link to comment
Share on other sites

It does exists, indeed, what does it has to contain? this is what it currently has:

<div class="product-tab-content" id="product-tab-content-mymodule" style="display: block;">
	<div class="panel product-tab" id="product-mymodule">
		<h3 class="tab"> <i class="icon-info"></i> {l s='My module' mod='mymodule'}</h3>
				<pre>{$params|@print_r}</pre>
    </div>
</div>

Edited by hugoromor (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...