If i click System -> Permission -> Roles if i click any of roles return following error,
Fatal error: Class 'Mage_Cmsmquickview_Helper_Data' not found in /home/abc/public_html/app/Mage.php on line 547
How to solve thi Issue?
If i click System -> Permission -> Roles if i click any of roles return following error,
Fatal error: Class 'Mage_Cmsmquickview_Helper_Data' not found in /home/abc/public_html/app/Mage.php on line 547
How to solve thi Issue?
Assumptions for answer:
Now the definition of your helper class (in app/code/local/Stack/Cmsmquickview/etc/config.xml
file) should look like:
<global>
<helpers>
<cmsmquickview>
<class>Stack_Cmsmquickview_Helper</class>
</cmsmquickview>
</helpers>
</global>
and the helper class file (app/code/local/Stack/Cmsmquickview/Helper/Data.php
) should be like:
<?php
class Stack_Cmsmquickview_Helper_Data extends Mage_Core_Helper_Abstract {
// your code here
}
now you should call the helper like this:
Mage::helper('cmsmquickview');
Update (after looking into the attached module by @zus):
Change
<children>
<quickview translate="title" module="cmsmquickview">
<title>Quick View Settings</title>
<sort_order>50</sort_order>
</quickview>
</children>
to:
<children>
<quickview translate="title" module="ajaxcart">
<title>Quick View Settings</title>
<sort_order>50</sort_order>
</quickview>
</children>
in app/code/local/Cmsmart/AjaxCart/etc/adminhtml.xml
file. Notice module="ajaxcart".
This is because you have defined helper as ajaxcart in config.xml file.