Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 4021

Questions about extending the Magento admin panel and the admin theme

3 votes
2 answers
9k views

Magento 'adminhtml/session' addError / addSuccess rendering on incorrect pages

I'm running Magento 1.7.0.2 and have noticed strange behavior with the adminhtml/session messaging system: Mage::getSingleton('adminhtml/session')->addSuccess("Message"); //or addError(); If you have …
Moose's user avatar
  • 7,495
0 votes
1 answer
170 views

Custom Adminhtml Grid + ORM Column Issue

When creating a custom adminhtml grid, I've run into a very strange issue when modifying the column type in the database from for instance Date to varchar: Initially - works 100% (as type Date in the …
Moose's user avatar
  • 7,495
1 vote
1 answer
4k views

Programmatically create admin order with pre-populated basket & customer

Edit: I'd like to be able to pre-populate the quote for the Adminhtml page for creating an order. … /Model/Sales/Order/Create.php and it looks like adminhtml/session_quote would be the model I'd be aiming to use. …
Moose's user avatar
  • 7,495
3 votes
1 answer
914 views

How can I add a button under Additional Cache Management?

Magento's cache page (accessible via System → Cache Management) has a section titled Additional Cache Management. Is there a way that I can add my own button to this page without creating a copy of t …
Moose's user avatar
  • 7,495
2 votes
1 answer
1k views

Add out of stock product to quote

I'm trying to add a product to a quote in admin (programmatically), the model of the quote is sales/quote, as seen in sales_order_place. Problem is the quote will not accept products which are out of …
Moose's user avatar
  • 7,495
0 votes
1 answer
979 views

Custom Adminhtml Grid - Set Global Width

I've created my own adminhtml grid for a module and was wondering if somebody could point out how I can adjust the width of the whole grid itself? (I.E to only utilize 80% of the page width). …
Moose's user avatar
  • 7,495
0 votes
1 answer
89 views

Draw an image on an adminhtml page

I'm trying to draw a bar graph on a page in the backend: $values = array ('Jan' => 10, 'Feb' => 20, 'Mar' => 30); $img_width=450; $img_height=300; $margins=20; # ---- Find the size of graph by subs …
Moose's user avatar
  • 7,495
0 votes
1 answer
67 views

Adminhtml expired session auto-merge

When managing multiple adminhtml tabs in a browser, idling for too long will result in being logged out. …
Moose's user avatar
  • 7,495
2 votes
2 answers
8k views

Magento Adminhtml date picker on custom page (non-form)

adminhtml_module')); $this->renderLayout(); } Block public function __construct() { parent::__construct(); $this->setTemplate('namespace/page.phtml'); } Which forwards to: app/design/adminhtml
Moose's user avatar
  • 7,495
0 votes
3 answers
7k views

Programmatically invoice a single product off of an order

I've looked into \app\code\core\Mage\Adminhtml\controllers\Sales\Order\InvoiceController.php Though I get a little stuck when I see the _getItemQtys() method. Could really use some advice. …
Moose's user avatar
  • 7,495
0 votes
1 answer
1k views

Magento CatalogInventory QTY Field

I've created a local Mage override of: app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Super/Config/Simple.php on line 140 (original): /* Inventory Data */ $fieldset->addField('simple_product_inventory_qty …
Moose's user avatar
  • 7,495
0 votes
1 answer
1k views

Add disabled product to quote & special pricing

I'm busy creating an order programmatically, and want the process to add the product list to the order regardless of the product status. It works fine, but when the product has a status of disabled ( …
Moose's user avatar
  • 7,495
3 votes
1 answer
5k views

How to generate an adminhtml page secret key

I'd like to generate a link to an adminhtml page from within a script in my html directory. …
Moose's user avatar
  • 7,495
7 votes
4 answers
10k views

"Please specify a shipping method" when programmatically creating an order

To try and solve this, I went the route of creating an order via Adminhtml, and modifying Quote.php for testing purposes, to: echo ($method . " and " . …
Moose's user avatar
  • 7,495
2 votes
2 answers
2k views

Magento Adminhtml grid massaction function's redirect throws user to dashboard

I have set up a custom adminhtml grid for a model of mine, which works fine. I've added a mass-delete function which allows the user to tick multiple entries and then delete them. …
Moose's user avatar
  • 7,495

15 30 50 per page