Search Results
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 |
Questions about extending the Magento admin panel and the admin theme
7
votes
Accepted
How to add the store view to my module admin grid
for store grind column use below code. store is database coulmn name
$this->addColumn('store', array(
'header' => 'Website',
'index' => 'store',
…
0
votes
error while installing magento on localhost
go to your php.ini file.
always_populate_raw_post_data = -1
2
votes
Accepted
Submit a form to current URL in magento admin custom module
change type="button" to type="submit"
<button style="" class="scalable button" type="submit" title="Create New Order" ><span><span><span>Complete Delivery</span></span></span></button>
for current …
0
votes
Magento 2 adminhtml - custom block gives blank page
your file name and class name and xml class not matched
file name app/code/Vendor/Widget/Block/Adminhtml/SelectWidgetBlock.php
you xml will be
<referenceContainer name="content">
<block class … ="Vendor\Widget\Block\Adminhtml\SelectWidgetBlock" name="vendor_widget.select" template="Vendor_Widget::selectwidget.phtml"/>
</referenceContainer> …
1
vote
Accepted
How save data in database
simply add this line $data['cat_id']=$data['category_id']; before $model->setData($data); category_id will your field name and cat_id will be column name
$model = Mage::getModel('campaign/campaign' …
1
vote
Magento 2 - Adminhtml Grid Template
You have to override this handle too
sales_order_create_load_block_items.xml
for ajax call set template here too
1
vote
Accepted
gettig error while add new tab in sale order view Wrong tab configuration
i figured out myself i was missing implements Mage_Adminhtml_Block_Widget_Tab_Interface
class SIE_Test_Block_Adminhtml_Test_Edit_Tab_Itemform extends Mage_Adminhtml_Block_Widget implements Mage_Admin …
1
vote
Customizing interface of multiselect in magento
you can achieve this functionality by below code
<select onchange="getSelectValues(this)"></select>
function getSelectValues(select) {
var options = select && select.options;
…
1
vote
Override Adminhtml Core Controller not working (EE 1.14)
controllers: app\code\local\Mypackage\MyModule\controllers\Adminhtml\Sales\OrderController.php
because it will look for
so the controller file will be
<? …
0
votes
Admin Websites and category collection queries
don't change the query because these queries are use in other files too.
for the categories check the block
app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Categories.php
check this function … setName(Mage::helper('catalog')->__('Root'));
}
Mage::register('root', $root);
}
return $root;
}
for the websites check websites block
app/code/core/Mage/Adminhtml …
1
vote
Accepted
Change redirect url after product save
app/code/core/Mage/Adminhtml/contollers/Catalog/ProductController.php
on line 714 this function
public function saveAction()
{
}
you can check the redirection in end of function …
1
vote
Multiple fields per row in Magento admin edit form
you can set template for the form. add your form fields
in template file.
Spacename_Modulename_Block_Adminhtml_Modulename_Edit_Tab_Form extends Mage_Adminhtml_Block_Widget_Form
{
public function _ …
0
votes
Get Only one website details in admin section Product Grid page
you can get it like that
$website_id = 14; //fetch the website data
$website = Mage::app()->getWebsite($website_id);
echo $website->getId();
echo $website->getDefaultGroup();
echo $webs …
2
votes
Accepted
How to create a copy of catalog-> manage products in a new menu?
you are missing after="Mage_Adminhtml" in config.xml
<admin>
<routers>
<adminhtml>
<args>
<modules>
<tproducts after="Mage_Adminhtml … ">Eight25media_Tproducts_Adminhtml</tproducts>
</modules>
</args>
</adminhtml>
</routers>
</admin>
then simply call the <action>adminhtml/controllername_actionname …
0
votes
how to view record row from grid in magento
This function is creating the row url. When you click on row it will go on controller editAction. change edit to detail
public function getRowUrl($row)
{
return $this->getUrl('*/*/detail' …