Magento E-commerce Platform Q/ A

Magento Source Model

Source model serves to insert the data into the certain fields: checkboxes, multi selects, radios, selects in admin area: System- > Configuration.

 

To indicate Source Model for the field, add tag: <source_model> and define source model in it

<source_model>adminhtml/system_config_source_allregion</source_model>

The field must contain tag: <frontend_type> with one of the values: сheckbox, multi select, radio or select.

 

Properties of 'backend_model' Attribute in Magento

When creating software attribute there is possibility to indicate its model. This model would be used when saving or uploading the attribute. With the help of the indicated model it would be possible to manage the data format and the content.

The model could be specified when creating the configuration field in the admin area (system.xml).

Magento Module Setup system.xml (Part 2)

 

System.xml (Part 2)

You can review Part 1 here

To set the fields specify the following tags:

Magento Module Setup system.xml (Part 1)

 

System.xml (Part 1)

Magento is highly customizable and have lots of pre-built configurations. All of it could be found in: System -> Configuration. Any module could add specific parameters into that interface. New fields, groups and tabs – it all could be added with the help of the configuration file: system.xml.

 

Magento Module Setup (Part 2)

Part 2

You can find Magento Module Setup (Part 1) here

Now let's take a look at the section: acl

Magento Module Setup (Part 1)

Introduction

Magento as any other modern system is built with the help of modules. And it goes without saying that each module is configured independently. That is why before creating a new module it is necessary to get familiar with Magento module structure.

Magento stores the main module configuration part in etc/config.xml file:

Magento Multi-Language

Introduction

Magento is a flexible platform to create personalized e-commerce solutions (web shops). One of Magento important features is multiple languages support. Thanks to this feature the platform usage grows all over the world. In this article you will learn how to add language/s to your Magento shop.

 

Adding another language to the website

In order to add one more (or a couple) of language/s the first thing to do is to create Store View.

173

Magento FAQ: Module Structure

Magento Module Structure

Magento extensions are usually structured this way:

72

 

Directories creation

Magento module contains two major parts: “code” and “design”. The “code” determines functionality of the module. For example: work with the data base. The “design” is the visual representation of data that was processed by the “code”.

Directory: /app/design