Questions tagged [xml]

Denotes questions about XML files and XML processing.

0
votes
1answer
1k views

Magento Admin Actions Log - How to capture mass action data? [duplicate]

We've created a module for Enterprise that has 2 controller actions, one is the index and the other is a save from a massaction. We're logging to the Admin Actions Log with the following logging.xml: ...
0
votes
2answers
667 views

XML-Rewrite for frontend only

In my custom news-module I got this: <rewrite> <fancy_url> <from><![CDATA[/news\/(.+)/]]></from> <to><![CDATA[news/index/view/title/$1/]]></to> <...
4
votes
3answers
881 views

Is It Possible To Move An Admin Menu Node?

We're using Fishpig's Attribute Splash module which inserts a node "Splash" at the top level of the admin menu. We'd prefer it to live under the Catalog menu though. Here's the original XML the ...
4
votes
1answer
13k views

Move layered navigation block between product list toolbar and product list

I have moved the layered navigation block into the content section however I can't figure out how to position the block. I can only get it to show at the very top of the page or the bottom. I need it ...
5
votes
2answers
457 views

Understanding types of layout handles

I am going through this link to understand Layout handles. Here I have seen that the layout handles are in the form of [module_front_name]_[controller_name]_[action_name]. So, for example the layout ...
1
vote
1answer
437 views

Magento Custom Options / Associated Products Order

I have a configurable product which has associated simple products, but on the configurable there is also two custom options. I would like the custom options to display first rather than the ...
2
votes
1answer
2k views

custom config for module - not store config

If I want to add a custom configuration node in my modules config.xml, how would I go about this and how to retrieve the values? I do not want store configuration, just a node in my modules ...
0
votes
1answer
2k views

magento show featured product in header

I am quite newbie to the Magento. Currently I am doing a theme. In that I want to show all the products from featured category. For that I have done a file called featred.phtml inside /app/design/...
3
votes
1answer
157 views

Is it possible to add an event (hook) to a core action without overriding it?

I'd like to add a hook to a Magento core action (in this specific case Mage_Adminhtml_Sales_Order_CreateController::saveAction() but I hope there's a general solution). Just a hunch, but it seems to ...
1
vote
3answers
9k views

Magento custom module is showing in advanced tab but not showing in admin configuration menu tab?

I am just a newbie to the magento extensions. I want to create a new module named as storeinfo in magento version 1.7.0.2 . For that I have my folder structure for app/local is like this magento ...
1
vote
1answer
3k views

Custom Backend Module showing blank Page

I am having a feeling this is a simple issue. I have a module I created for Magento 1.7.0.2, however it's just showing a blank page when clicked. Here are my module files: app/code/community/LAMP/...
0
votes
1answer
8k views

update layout using custom layout handles

i'm fairly new to magento, so i might not get all terms right. it's also possible that i haven't fully understood the magento internals which work through layouts and templates to print a webpage to ...
4
votes
2answers
11k views

Unable to overcome the “Can't retrieve entity config” error

I have been working on a simple module and have been stuck with the error Can't retrieve entity config for too long. I am assuming that this is to do with the way I have set my config.xml files up? ...
2
votes
2answers
3k views

Using Magento's method=“removeItem” to remove js ONLY for IE8 and below

Does anyone know why the following doesn't work for removing items from IE8 and below, but does work for adding items? <action method="removeItem"> <type>skin_js</type> <...
3
votes
2answers
4k views

How to add files for custom module under system configuration? [duplicate]

I have my own module in System->Configuration and want to add js and css files for it. Now it is so: <layout version="0.1.0"> <default> <reference name="head"> ...
2
votes
2answers
866 views

Send a Magento order to third-party API when placed

I'm looking on an example of where I should place for Magento orders to be sent to a third-party API. I have all documentation and all proper code that I've tested. I just don't know where these API ...
1
vote
2answers
5k views

Move page title using local xml

Is it possible to move the page title on cms pages to the left column of a 2 column left layout? But, purely using local.xml and not editing the templates?
2
votes
1answer
938 views

Create A New Layout Block Magento Basket Page

So I want to change a code block (discount vouchers) on the cart page. I need to create a new file to style this block. The existing layout file (XML) has the following code: <checkout_cart_index&...
14
votes
1answer
3k views

Improving error messages for XML compilation errors

Magento is fairly protective (as it should be) regarding the display of errors. When developer mode is enabled (as it should be during development), the application allows runtime error feedback to ...
4
votes
2answers
5k views

Layout Update XML - Update Handle

I'm trying to change the layout handle for specific CMS pages in the back end. To do this I'm trying to use the following in Design->Page Layout->Layout Update XML <update handle="store_page" /&...
2
votes
1answer
968 views

Magento Dataflow - Export CSV

I have a dataflow profile to export products: name, sku, stock qty Is it possible though to export where stock qty is not 0? Current Code: <action type="catalog/convert_adapter_product" method=...
9
votes
1answer
9k views

How to prevent module rewrite class conflict in Magento

I have a class rewrite problem in Magento Onepage Checkout as I have a custom module in the local code pool and a third party extension in the community code pool both extending the same class... I'...
31
votes
3answers
29k views

Conditionally show/hide blocks in layout XML

How to conditionally add a block (depending on the configuration in the admin panel) in Magento's layout XML? We can check if config is true on actions. In the example below, if sample/config/...
0
votes
1answer
803 views

home.reports.product.compared block in default home page never displays

I'm trying to use the layout XML that is set by default on the CMS Home page of a clean Magento install (See Admin > CMS > Pages > Design tab > Layout Update XML). It inserts three product ...
1
vote
1answer
1k views

Display 2 Grid layout in admin form

I have create one custom tab in my module and display one grid output successfully, but my question is how we can display two grid serializer block in one page? I have tried to out put with calling ...
1
vote
2answers
6k views

If condition in layout xml tag

I have create one module for displaying latest product review, module works perfectly and reviews are display on frontend side. But what I have requirement is admin can select where to display this ...
2
votes
1answer
4k views

Magento - Get specific custom product option value

I'm trying to make a custom XML feed for Magento. Everything's fine and dandy, however I've hit a roadblock. I'm trying to get specific custom product options for my products, but the method I'm using ...
36
votes
6answers
41k views

Debugging layout XML loading

TL;DR: is there a way I can debug the loading of the layout? As I believe one module's layout is conflicting with another. Related to a previous question I made: How to make a module layout to be ...