Blog

How to programmatically get data inside a layout XML file in Magento

A while ago, I found myself trying to answer a question in Magento StackOverflow. It was a simple question: Can I get store config value in layout xml file?

http://magento.stackexchange.com/questions/23697/can-i-get-store-config-value-in-layout-xml-file/23702#23702

After some research, I realized that is possible to call a helper in a Magento tag inside an XML file the following way:

<action method="addLink" translate="label title" module="catalog" ifconfig="catalog/seo/site_map">
<label>Site Map</label>
<url helper="catalog/map/getCategoryUrl" />
<title>Site Map</title>
</action>

The relevant part is

<url helper="catalog/map/getCategoryUrl" /> 

where catalog/map is the helper and getCategoryUrl is the action we are calling.

This has a lot of important applications. With this approach, anyone can get dynamic values from any Magento resource like a Model in a layout XML file and interact with blocks, change titles or create conditionals.

Mangento

Miguel Balparda has been developing Magento for almost four years. During this time, he has witnessed the exponential growth the platform has undergone; today it is one of the largest and most popular online stores in the world. There is a great deal of documentation and resources available for both merchants and developers. It is best to start by scanning the official Magento website, where you can find resources to get in touch with the application, as well as free extensions to learn the structure of modules. Miguel can be contacted at communications@santexgroup.com

 

A Windows Azure screenshot (Microsoft Cloud Computing)

By Leonardo Herrero

Azure is the cloud service platform from Microsoft. Its cloud computing features can be divided into 3 different services:

  • Infrastructure as a Service (Iaas): It includes services like virtual machines, Big compute, Storage, backup and recovery.
  • Platform as a service (Paas): This is the most interesting for developers. It provides several services to improve and facilitate application development. Cloud services are the main feature here.
  • Software as a Service (Saas): It is more visible for end users who directly consume these services like Email, CRM, Collaborative, ERP.

Cloud computing has become extremely popular, mainly because of its advantages over on-premises computing.

Continue reading

Introduction and customization of Bootstrap

By Lorenzo Sauchelli

Historically, most web pages or web apps have been created from scratch in terms of front-end. However, the use of frameworks has increased since the development of Bootstrap by Twitter.

Bootstrap allows you to rapidly develop prototypes which can be used for the final product with minimal changes. The tool is perfectly documented and is compatible with most web browsers. It easily supports any target browser, and ‘fixing’ the CSS is only needed when supporting older browsers.

Continue reading

INTERMEDIARY LIABILITY AND OPPORTUNITIES FOR INNOVATION IN LATIN AMERICA

By Javier José Pallero.

Back in the 2000’s a landmark case regarding Internet law set the principles of a complex discussion that was to last until the present day. That case, would set the stage for a regulatory scenario with the potential to overthrow entire business models or rather build new ones.

We’re talking about the Napster case.

Back in the day, Napster was found guilty of contributory infringement in relation to copyright violations, but the discussion regarding the scope of intermediary liability was far from over. In fact, in some other countries where contributory infringement is not as serious as in the US, similar cases would lead to different rulings.

Continue reading

Wiki Solutions Pro’s: Confluence team collaboration software

By Alejandro Ocampo

We live in an era of intensive communication and shared knowledge. Thanks to different software solutions, interacting with our teammates at work has become faster and more efficient than ever. Wiki solutions have played an important role in opening up new communication channels and democratizing the access to information in organizations.

Creating, collaborating, contributing, connecting and giving feedback are some of the tasks everyone needs to do in order to get their job done on a regular basis.  Within the software industry communicating effectively is a key aspect to success. But because development teams have grown globally and multiculturally over the last decade, understanding each other has become increasingly difficult.
Continue reading

Integrating Jira with TestLink

By Martin Navarro

There are too many questions when it comes to creating a testing strategy for a project. How are we going to manage test cases is perhaps one of the most important of them. This question has many possible answers like Excel (!), Google Docs, Microsoft Word (?), etc. But none of these are valid or practical answers: To produce a high standard test case management we need a tool with all the necessary requirements — or at least most of them. Here’s where TestLink makes its appearance.

Continue reading

Santex at the Nexus Nearshore Conference

By The Santex Editorial Team

In recent years, Latin America’s software and services industry has made significant progress, establishing itself as world class outsourcing destination. The region has taken on the challenge of responding to the increasing demand for technology and services of the information age and the knowledge economy.
Continue reading

Translate CMS/Block pages in Magento with the inline translator

By Miguel Balparda

Even though Magento has a native inline translator, it doesn’t work for CMS pages and static blocks. For different languages, Magento has the option to create one CMS page or static block for each different language and assign it to the correct store view.

This issue came up when developing a new Magento clothing eCommerce Platform, specifically when we needed to make the site available in multiple languages.

Continue reading

LinC: a simple screen grabber tool for Linux

By Maximiliano Sbrocca

I currently work on a project that uses Techsmith Jing as a Corporate Tool. Jing is used to create videos for demos and to reproduce bugs on tracking tools among other things. However, Jing has one big problem: it can only be run on MAC and Windows systems. For that reason, creating a video for a demo was a tough task for co-workers with Linux stations.

After some research, I realized that Techsmith had never planned the Linux migration of Jing. After exploring different tools with the same features that Jing offers in the market, I could see that none of them fulfilled my expectations. I suggested to one of my coworkers, “What if we create a Jing Linux version using Python?” He agreed and we picked up the challenge and started the development process of LinC.

Continue reading