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 answers only not deleted user 146

Questions about extending the Magento admin panel and the admin theme

5 votes
Accepted

Understanding admin links

</Excellence_Employee> </modules> </args> </adminhtml> </routers> </admin> After adding this your module admin url should look like this admin/employee/index. … And you should change the <action> in your menu to <action>adminhtml/employee</action> I recommend the second option. …
Marius's user avatar
  • 199k
2 votes
Accepted

setAttribute method for source model

"then again all core source models don't extend from any class" But they do. They extend the class Mage_Eav_Model_Entity_Attribute_Source_Abstract. And your class should extend that also. Take a loo …
Marius's user avatar
  • 199k
5 votes
Accepted

Call to a member function append()

You need to add this line $this->loadLayout(); before $this->_addContent($this->getLayout()->createBlock('prefs/adminhtml_forms')); In your case the layout is not loaded and there is no block w …
Marius's user avatar
  • 199k
6 votes
Accepted

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

This is somehow a feature. Here is how addError, addSuccess, addNotice, addWarning work. The message you give as a parameter for those methods are added to the session. when a page is viewed, Magento …
Marius's user avatar
  • 199k
1 vote

How do I get image filenames to show in the product edit images tab?

You need to edit the template app/design/adminhtml/default/default/template/catalog/product/helper/gallery.phtml. Well, don't actually edit that one. …
Marius's user avatar
  • 199k
15 votes
Accepted

Adminhtml - How to add custom template for custom product attribute

<method>convertCustomValues</method> </easylife> </observers> </adminhtml_catalog_product_edit_prepare_form> </events> </adminhtml … custom.phtml'); //set a template } public function render(Varien_Data_Form_Element_Abstract $element) { $this->setElement($element); return $this->toHtml(); } } app/design/adminhtml
Marius's user avatar
  • 199k
3 votes
Accepted

extending the html head for frontend doesn't work for the back end?

The default head block in the backend is an instance of Mage_Adminhtml_Block_Page_Head (adminhtml/page_head). You need to override that also and add your method. … /Storeutilities/Block/Adminhtml/Page/Head.php with this content: <? …
Marius's user avatar
  • 199k
0 votes
Accepted

Add status to category product listing tab

> <config> <modules> <Easylife_Catalog> <version>0.0.1</version> </Easylife_Catalog> </modules> <global> <blocks> <adminhtml> … </blocks> </global> </config> app/code/local/Easylife/Catalog/Block/Adminhtml/Category/Tab/Product.php - your new block <? …
Marius's user avatar
  • 199k
2 votes
Accepted

Custom Adminhtml Grid + ORM Column Issue

Based on the discussion in the comments, the error appears because the grid uses saveParametersInSession set to true. The values stored in the session conflict with the database values and column name …
Marius's user avatar
  • 199k
1 vote
Accepted

Unable to add form in content section magento admin custom extension

In your extension you should have this file: [Namespace]/[Module]/Block/Adminhtml/[Entity]/Edit/Form.php or something similar. This is the form container class. …
Marius's user avatar
  • 199k
2 votes
Accepted

Why can't magento accept `content` as a database field name?

Just so this will have an answer.... Based on the post mentioned in the comments. You cannot have a field named content because, in this case magento creates the following textarea <textarea name= …
Marius's user avatar
  • 199k
2 votes
Accepted

How can I extend/override admin controller for login?

Change this: <modules> <Woolfie_AdminExtras before="Mage_Adminhtml">Woolfie_AdminExtras</Woolfie_AdminExtras> </modules> to this: <modules> <Woolfie_AdminExtras before="Mage_Adminhtml">Woo …
Marius's user avatar
  • 199k
2 votes

Error when trying to upload image in WYSIWYG of custom module

Make sure you have this inside the layout handle for your page: <layout_handle_here> <update handle="editor"/> <reference name="head"> <action method="setCanLoadTinyMce"><load>1</loa …
Marius's user avatar
  • 199k
1 vote
Accepted

file upload is not working in magento

First of all your form should have the method post not GET. You cannot send files through GET. Second...there is a security measure for the magento admin. All POST requests must contain a form key th …
Marius's user avatar
  • 199k
6 votes
Accepted

Rewrite Adminhtml Model doesn't work

Change the tag name from <system_config_source_catalog_listsort> to <system_config_source_catalog_listSort>
Marius's user avatar
  • 199k

1
2 3 4 5
8
15 30 50 per page