Removing those restrictions would not resolve anything for a simple reason: if you could hook the module blockcategories
to displayTopColumn
, this module would not know what to display in this hook because there is no hookDisplayTopColumn()
function in it.
However, you can modify the module, and add a function to manage this hook.
To do so, open the file blockcategories.php
and add the following:
public function hookDisplayTopColumn($params)
{
// Your code
}
If you want to display here the same content as in the hookLeftColumn
hook, you can simply do this:
public function hookDisplayTopColumn($params)
{
return $this->hookLeftColumn($params);
}
You can also create your own function and template by copying, pasting and modifying the code you can find in the function hookLeftColumn()
or in the function hookFooter()
.