Reputation: 493
I have look for a way to print shipping labels for FLat Rate Shipment Method but unable to find one . I tried extension cubex Address label Extension but its not working and giving me error
Fatal error: Class 'Cubix_AddressLabel_Block_Adminhtml_System_Config_Form_Fieldset_Modules_AddressLabel' not found in /home4/user/public_html/demo/app/code/core/Mage/Core/Model/Layout.php on line 590
Is there any other way ?
Upvotes: 0
Views: 1066
Reputation: 351
I'm the developer for this module. This error was caused because your module was not installed correctly. The AddressLabel.php solution you have given is actually what was supposed to be there in the first place if the module was installed correctly.
Upvotes: 1
Reputation: 493
I have fixed the problem related to CUbix Plugin . Just go to this directory
app/code/local/Cubix/AddressLabel/Block/Adminhtml/System/Config/Form/Fieldset/Modules
there will be a directory named AddressLabel.php delete that directory create a new file in Modules folder name it AddressLabel.php with this code as follows
<?php
class Cubix_AddressLabel_Block_Adminhtml_System_Config_Form_Fieldset_Modules_AddressLabel extends Mage_Adminhtml_Block_System_Config_Form_Fieldset {
protected function _getHeaderHtml($element)
{
$html = parent::_getHeaderHtml($element);
$html = '<img src="' . $this->getSkinUrl('images/cubix_addresslabel.png') . '" alt="Cubix Address Label explanation" />' . $html;
return $html;
}
}
Problem Resolved
Upvotes: 1