Can not access a function in Magento? -


how can access function drawcustommenublock() in file

eternal\custommenu\eternal\custommenu\block\catalog\navigation.php, wants access these function in page app\design\frontend\zonda\default\template\page\html\header.phtml. if place these code in file

<?php echo $this->drawcustommenublock() ?> 

then shows error :

exception printing disabled default security reasons. 

how can solve ? please me out of this. new in magento.

thanks in advance.

inside phtml file, $this means instance of block.

example: page\html\header.phtml, $this instance of app/code/core/mage/page/block/html/header.php.

so create method called "drawcustommenublock" inside app/code/core/mage/page/block/html/header.php, call page\html\header.phtml.

try it.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -