Questions tagged [xml]

Denotes questions about XML files and XML processing.

5
votes
1answer
2k views

How to use multiple module dependencies

I have an xml like this. <?xml version="1.0"?> <config> <modules> <Vertax_Blog> <active>true</active> <codePool>local</codePool> ...
1
vote
1answer
2k views

Can someone explain the app/etc/local.xml file?

In creating a new currency import option, I inadvertently replaced the local.xml file on my dev site with the one on my live site, causing the dev site to redirect to the live site. I think I have ...
1
vote
0answers
715 views

Magmi - problem with importing html description [closed]

I am using magmi datapump (Magmi version 0.7.18) to import products into Magento 1.7 from an xml feed, and I have a problem with product descriptions. The product descriptions in the xml feed contain ...
0
votes
1answer
743 views

Magento 1.7.0.2 custom module

I'm trying to make a few amends to the core code, so I copied the relevant classes and placed them in the app/code/local/mage folder, which works a treat. However, as this is bad practice, I'm trying ...
0
votes
1answer
2k views

How to export selected products to xml in admin product grid

i need to export selected product to xml form admin product grid. i have refer this to export selected product to csv. Can anyone help for this.
1
vote
2answers
896 views

Using dynamic info on config.xml

How i can set up cron time on config.xml on my module to magento?? Something like:: <crontab> <jobs> <captcha_delete_old_attempts> <schedule&...
0
votes
1answer
55 views

Adding a setting to category configuration

I want to add a few admin settings to the Catalog/Manage Categories screen, I've grepped various directories but most of the site is accessed by FTP, where is the XML file that controls the options on ...
0
votes
3answers
3k views

How to translate top link

I Have top link as "Inspiration" in page.xml.How can I translate it in another language. <action method="addLink" translate="label title"> <label>Inspiration</...
1
vote
2answers
674 views

Customer registration form layout update (store view)

I have a multi-store set up on v1.7.0.2. I'm looking to display the extra address fields (available in base/default/template/persistent/customer/form/register.phtml) for the customer registration ...
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=...
0
votes
1answer
1k views

create new product attribute returns fault code 104 (Incorrect attribute type)

I am trying to create product attributes by SOAPV2 with method catalogProductAttributeCreate / Magento Community ver. 1.7.0.2 I have already debugged /core/Mage/Catalog/Model/Product/Attribute/Api....
1
vote
1answer
6k views

Adding Currency Switcher in header

I've been following this tutorial to add currency switcher to header of my magento theme: http://www.jimcode.org/2011/02/magento-multi-language-currency-region-setup/ I've add currency block and ...
1
vote
1answer
2k views

Export order info to .txt file once order is placed

I have researched and tried all possible ideas I could come up with but not having any luck with the below...what am I missing? The idea is to export a text file once an order has been placed on my ...
0
votes
1answer
466 views

How to remove a config xml value?

I have a module which is modifying how bundled products are displayed for our store. As a part of this, we are removing the ability to display checkboxes. So, I want to change the backend so that it ...
0
votes
1answer
3k views

Cannot use object of type stdClass as array Soap API

This is my first time trying to pull information with the Magento soap API. I have used SOAP previously on the Orange M2M connect server. Ive hit a stump and im not sure where to go from here. I have ...
1
vote
2answers
1k views

observer failed to stream

I have been making and deleting custom modules to learn how magento works and I have now come across this error when I selected System | Permission | Roles | Administrator that error was fixed and now ...
1
vote
2answers
2k views

class not found but class is created

I am receiving the following error Fatal error: Class 'Ns_Module_Model_Mysql4_Setup' not found in /Users/tony09uk/Sites/magentoDevTest/app/code/core/Mage/Core/Model/Resource/Setup.php on line 234 I ...
2
votes
2answers
346 views

Magento core code - why module init files some in Mage_All and some not

Looking at the core code under app/etc/modules... Why does Magento use Mage_All for a large part of the modules and individual files for the others? I understand that Magento will ultimately merge ...
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> <...
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 ...
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
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/...
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 ...
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"> ...
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 ...
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 ...