canyou help me with overriding a controller? I am working with Sales - I am trying to add new action for printing another docs in pdf from Sales -> Orders ... see attachment
I have created these folders with these files
echo "blabla"; // only for testing
require_once 'Mage/Adminhtml/controllers/Sales/OrderController.php'; // I have found this line in wiki
class Nostress_Adminhtml_Sales_OrderController extends Mage_Adminhtml_Sales_OrderController
//here I would like to add my methods ...
3) I have activated my modul in /app/modules/Nostress_All.xml
<?xml version="1.0" encoding="UTF-8"?>
After clicking in backend at Sales -> Orders -> View order -> Invoice I got 404 error ... any help please? thanks
What is the difference between folders controllers and Controller in /app/code/core/Mage/Adminhtml/ ??
Click thumbnail to see full-size image