All Questions

Tagged with
Filter by
Sorted by
Tagged with
1
vote
0answers
40 views

Can't get Magento 1 adminhtml layout file to load

I was working on a large module and I couldn't get an adminhtml layout XML file to load. So I created a new test module to isolate the issue and I still can't get the layout file to load. I don't ...
0
votes
1answer
56 views

Extending Adminhtml blocks class _prepareCollection

I am trying to override a adminhtml block and I created all files accordingly. The problem is that it does not have any effect. My files are as follows: app/code/local/Grando/Groupfilter/etc/config....
1
vote
1answer
168 views

Admin datetime picker returning empty array on post

I have a custom admin edit form with the following fields: $dateTimeFormatIso = Mage::app()->getLocale()->getDateTimeFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT); $fieldsetRefInfo->...
0
votes
1answer
29 views

Magento 1x Sales Order Grid Source

Using magento 1.x I have changed the source of my sales_order grid form sales/order_grid_collection to sales/order_grid_collection protected function _getCollectionClass() { return 'sales/...
-2
votes
1answer
96 views

How to add menu to magento backend? [duplicate]

I have the below code and it does not work for me. I want to insert a submenu which is Distributor to an existing menu which is MJSI. config.xml <config> <modules> <...
0
votes
1answer
227 views

Magento Admin Header above phtml Content?

Currently in the Admin Panel my custom phtml page is under the header: app/code/local/Sean/MasterCreate/Block/Adminhtml/Warehouse/Display.php <?php class ...
1
vote
1answer
240 views

Round a Magento Attribute in Admin Grid to the second Decimal

Here is my remote files and their paths: app/code/local/Sean/CustomerGrid/Block/Adminhtml/Customer/Grid.php <?php class Sean_CustomerGrid_Block_Adminhtml_Customer_Grid extends ...
0
votes
1answer
238 views

Unable to override Magento Adminhtml Block

I've been going around in circles here trying to find reason why my block is not loading when i extend it. Can you help me to extend it Original file is app/code/core/Mage/Adminhtml/Block/Catalog/...
0
votes
4answers
314 views

Simple Observer not working

I'm new to Magento and I'm trying to add an additional button to a pre-existing admin form using an observer. I set up my config to what I believe is the right event handle. I created an observer and ...
0
votes
1answer
136 views

Exeption error when adding new custom Tab to Order View page in Admin

Here is my layout: <?xml version="1.0"?> <layout> <adminhtml_sales_order_view> <reference name="sales_order_tabs"> <action method="addTab"> ...
1
vote
1answer
136 views

what is up with magento 1.9.2.4 app/design/adminhtml/default/default/template/dashboard/graph.phtml code?

So here is the deal. The code inside the graph.phtml file is this: <?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is ...
7
votes
3answers
2k views

What could cause error related to “dashboard/tunnel/key”

There is below information in the log, but no idea what could cause this :( a:5:{i:0;s:45:"Unable to read response, or response is empty"; i:1;s:1003:"#0 lib/Varien/Http/Client.php(61): ...
0
votes
1answer
2k views

How to get the quote from the admin session

I have an ajax script where I use Mage::getSingleton('adminhtml/session_quote')->getQuote()->getId() however the result is always null.
2
votes
1answer
158 views

Magento 1: how to use the DataFlow import view with a custom import?

So I have a custom module that imports entities from various sources (CSV, XML, API). At the moment, it's working perfectly fine, however I would like to improve user experience with the module by ...
1
vote
1answer
52 views

error on duplicate the extension by rename class and files

i created extension for custom form which run perfectly but as i need another page with same form i rename all files & classes it gives me error on my error log like. exception '...
0
votes
1answer
635 views

Rewrite adminhtml template not working, only if I refresh the page

I want to modify the backend template design/adminhtml/default/default/template/sales/order/create/totals.phtml Its gonna be part of a module so I've implement the rewrite in the modules layout ...
0
votes
1answer
42 views

My custom module routers and acl problem

I have a problem about my custom module. It is not shown in my admin panel menu and when I try to open it with its url, I see a 404 page. My module config file: <?xml version="1.0"?> <...
1
vote
1answer
300 views

how to add html in ordered item section in admin panel? [duplicate]

I just want item id after every item so I could create some buttons get some information from database but it is always showing id of first item this is my xml <layout version="0.1.0"> <...
1
vote
1answer
83 views

Assign Website Id without calling save();

I am doing a custom function for magento Admin. The function is when author finished setup a product and save, the product will automatically assigned to certain websiteId when the conditions is met. ...
0
votes
2answers
2k views

Change Order Grid Overwrite Problem

I try to change Order Grid, but I don't know where I have a problem ... There is my files: app/code/local/My/Module/etc/config.xml <?xml version="1.0"?> <config> <global&...
0
votes
1answer
94 views

Magento Custom Collection breaks Admin grid

I do have following code below for a Grid in Admin protected function _prepareCollection() { $pimage_collection = new Varien_Data_Collection(); $pimage_array = array(); $...
1
vote
1answer
123 views

How to extend Sales Statistics grid from Customer > Customer View

I am trying to add a new column to the grid. Its about the sales.phtml as you can see the XML: <reference name="left"> <block type="adminhtml/customer_edit_tabs" name="...
1
vote
3answers
4k views

Call to a member function toOptionArray() on boolean error when custom dropdown source model is used in system.xml

My application is configurable, so I have a few settings in the system.xml file. One of the setting uses a custom adminhtml dropdown source model. So, in the XML, I have defined the setting row like ...
0
votes
0answers
72 views

Backend view of data from custom database

I have made a custom database, that stores the data from a form. Now i want the data to be displayed backend. What is the best way to do this? If you need to se my code just say so :)
1
vote
1answer
2k views

Adding a custom attribute to Sales order grid

I have created a custom attribute which is the customer account reference and we set this in the back end through the customer page. However we need to add this to the Sales order grid as well. I ...
2
votes
4answers
600 views

ACL working but checkboxes not selected in role edit form

I have coded a module with 3 features (and 3 menupoints). Then i copied the menu-section and edited it so it is useable as ACL resource. It looks like this (adminhtml.xml): <config> <...
1
vote
1answer
2k views

Grid action column getter not getting my field

My action column 'getter' is not getting the field 'meter_id' that I need. (Magento 1.9) Here is my code: $link= $this->getUrl('*/*/edit', array( 'id' => $this->...
1
vote
1answer
568 views

How to hide a custom attribute to category on particular category level?

I have created a custom attribute for the categories using installer script. But I want to show that attribute only on level two categories.For all other levels it should not be visible.( This ...
0
votes
1answer
731 views

Custom filter in the sales order admin grid giving Invalid block t

I've been able to filter custom added column like 'seller name ' its get from seller id of product. other filters are working. $this->addColumn('seller_id', array( 'header' => Mage::...
0
votes
1answer
799 views

Adding attribute using JOIN to Collection

I have the following code snippet in my _prepareCollection function. In this collection, I am missing an attribute that I need to have in order to display to a grid(style number). I am able to ...
1
vote
1answer
3k views

admin page not showing my template

I have a custom module with the following: magento-project/app/code/local/Hunique/Customs/etc/config.xml <?xml version="1.0" ?> <config> <modules> <Hunique_Customs> ...
5
votes
2answers
458 views

Custom Tab on Adminhtml Catalog Product New Page Appearing In Two Places Instead of One

I'm trying to add a custom tab to the new product page in the admin panel. The first block added my tab successfully to the product edit page. The second block definitely does add the tab to the new ...
3
votes
1answer
4k views

Magento Grid Inside Catalog Product Edit Tab

I'm looking to pull a custom model (wordpress posts) into a grid, and display it on a tab on the side of the new product and product edit pages in the admin panel. I've removed the model and the ...
5
votes
1answer
3k views

Is it necessary to override _isAllowed in your Admin controller?

The _isAllowed method is where you, as a Admin Panel programmer, should place your ACL checks. As you can see, by default, this method returns true. That means if you don’t define your own ...
0
votes
2answers
2k views

Can I set link field href with setValues in admin form?

Whenever I render a link type in admin form field, I often ends up loading the model to render the href with $helper->getUrl(...). Is there a way I can render the link contents, including href and ...
3
votes
2answers
135 views

Question of previous developers use of <rewrite>'s

I'm not only new to Magento, but also inheriting a project from a previous developer. The developer has a module called Adminhtml, which he used to customize the Adminhtml section, and inside the ...
5
votes
1answer
5k views

Magento edit form fieldset - get value of select dropdown into a label

I am working on an edit screen for my grid row. This is what I have so far for this form: <?php class Intellibi_Integration_Block_Adminhtml_Manageasendiapickinglists_Edit_Tab_Form extends ...
2
votes
3answers
7k views

Is there an event for after a product is saved only in admin?

So I'm looking for an event for after a product is saved in the admin interface? Similar to catalog_product_prepare_save (which is before save). It's important that it doesn't fire when e.g. another ...
2
votes
1answer
997 views

How to get a Field of type “image” not to have a delete checkbox?

How to get a Field of type "image" not to have a delete checkbox ? As it's a required attribute for my form, I don't need the delete checkbox. Here is my addField example : $fieldset->addField('...
9
votes
3answers
17k views

Best Practise to Add Custom Tab in Product Details (backend)

I would like to add an extra tab to the product details ( backend ) and I don't want to perform any override, if possible. What is the best way to accomplish this ?
2
votes
1answer
4k 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. I have read this question on Stackoverflow: Magento: generating url for a backend action (with key) This ...
1
vote
1answer
2k views

Custom module multiple tabs and form in backend just like Customer backend [closed]

I have create a custom extension just like customer module and want backend just like customer .My extension have two tables and two table. My module are Mage::getModel('custommod/reg').(just like ...
0
votes
1answer
1k views

Magento CatalogInventory QTY Field

I'm trying to disable the Qty field on the product edit tab. 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 (...
0
votes
1answer
428 views

Button redirecting to the grid page

I have a custom module 'banner' and in which I have added a button in its second tab(only two tabs for the module). when click on that button, it is submitting my banner automatically and then go to ...
0
votes
2answers
7k views

How can add a button for a particular tab in the admin section

I tried a lot and searched a lot. But couldn't find a way to add a button in a particular tab in the admin section. when examined the core files,I have found out that the following code is somehow ...
7
votes
2answers
4k views

dynamic key => value pair adminhtml setting for custom module

I have a custom module with adminhtml setting (system.xml), which allows the the user to assign a unique "code" to a specific shipping method. It looks something like this: As you can see, this is ...
7
votes
4answers
35k views

How to get current store id from current scope in admin

How do I get the store id of the current scoped store in the admin? For instance, if I use the drop down box in the upper left hand corner, and change the scope to a store view, how would I get the ...
17
votes
1answer
3k views

Long Running Admin Page Requests Blocking Other Requests

If I'm logged into Magento's backend and perform some task that takes a long time (global search on large catalogs, long running dataflow, etc), my web browser will refuse to load other admin pages in ...
0
votes
1answer
2k views

Problem in creating new block in Admin order page?

I am trying to create a new block in my admin panel "Sales->Order->View" Information tab. In my extension's block folder i have a folder named Adminhtml in this i have file named : Company.php class ...
3
votes
1answer
13k views

Adding Color attribute option in Magento Admin

How can I add extra Color attribute options ( blue, black , etc) which are not already show in Magento admin when adding configureable / simple products.. I did it a few months ago, it was some ...