FTP Server – Find Path of Mage::helper

template

I can see the following function in my template's minicart.phtml:

<?php echo Mage::helper("ves_tempcp/framework")->getMinicartBlock(); ?>

But on the FTP I can not find the folders ves_tempcp/framework. Where do I have to look for the path Mage::helper is looking for?

Thanks!

Best Answer

You are possibly looking for app/code/community/Ves/Tempcp/Helper/Framework.php Next time you can also use get_class() to see the object class name and then infer the location. For example

echo get_class(Mage::helper("ves_tempcp/framework")) 

should return something like Ves_Tempcp_Helper_Framework telling you that the file should be in app/code/[local][community]/Ves/Tempcp/Helper/Framework.php if the correct naming conventions were used.

Related Topic