Home Archive

Articles tagged with: Magento Development

20 Oct 20 Oct 2009 Comments Off

Recently we were working on speeding up parts of client site which had usual problem of slow page loading caused by complicated configurable products. To solve the problem we were experimenting with extending core Magento caching capabilities.
Magento has built in predifined system of block output caching. Its block abstract has Zend_Cache caching capabilities that can be modified for your own needs. I’m showing here an example of caching whole product view block, however this is just a specific example

of how things works, problems are different and requires different approach …

Read More

 
15 Oct 15 Oct 2009 1Comment

Adding generic viagra online canada an Adwords tracking code to order confirmation page in Magento is relatively easy task.

One that can be handled under an hour or so if you choose to implement it the proper way. Here is how.
Modify the “app/design/frontend/default/my_custom_theme/layout/checkout.xml” file. Look for section
[/html]

purchase discount cialis onlinebuy cialis without rx

Read More

 
15 Oct 15 Oct 2009 Comments Off

This post describes how

Magento navigation works. I hope it will help you.
The begining of all is in template file: “category/navigation/top.phtml”

<ul id="nav">
< ?php
foreach ($this->getStoreCategories() as $_category): ?>
< ?php
echo $this->drawItem($_category);
?>
< ?php endforeach ?>
</ul>

There we call the method from class Mage_Catalog_Block_Navigation $this->getStoreCategories(). This method returns the array $_nodes from object Varien_Data_Tree_Node_Collection.
This array contains objects of Varien_Data_Tree_Node.
Every node is object of Varien_Data_Tree_Node and it is extension from Varien_Object.
Example 1:
If we

wish to see how much categories we have, we can do it with method showed below:

< ?php
echo $this->getStoreCategories()->count();
?>

We will get only number …

Read More

 
14 Oct 14 Oct 2009 Comments Off

In order to speed things up with building

admin sections under System > Configuration area in Magento I wrote a little blank extension. Hopefully its a step or two beyond “Hello world” level. I named the extension “CoolDash”, short from CoolDashboard. Name holds no special meaning, just something I popped

out of my viagra free pills head. First thing you might notice when you open config.xmls and system.xml is the attribute naming. I intentionally used names like “somecooldashmodel2″. I found it extremely difficult, error prone and annoying to get around …

Read More

 
13 Oct 13 Oct 2009 Comments Off

This blog post describes pros and cons of having a free Magento theme versus having a custom Magento design from a marketing perspective.
Free Magento Themes:
There are some pretty obvious advantages of using a free Magento theme:

It’s free. – This one is a no-brainer, you don’t need to invest any money in it.
It’s fast. – You don’t need to wait for it to be finished, you just download it and use it.
It works. – Most of the free Magento themes work just fine with Magento out of the box.

However, truth be …

Read More

 
12 Oct 12 Oct 2009 Comments Off

Latest version of Magento, as of time of this writing, is 1.3.2.3. Latest, as well as previous versions come with “half-packed” support for TinyMCE editor. There are however few bugs and few steps that need to be handled in order to enable wysiwyg editing in CMS pages. Personally I am not that big of a fan of wysiwyg editors, mostly because I am developer and like to know what I write down.
However, most of the store owners are not developers or even not that much technically savvy people (not that …

Read More

 
12 Oct 12 Oct 2009 Comments Off

Simple : ) -Ok, lets get down to business. This one is really, really simple, but powerful. In all it greatness Magento lacks the good content management solution (CMS features). Lot of people are heading down the road of integrating the WordPress and Magento. Probably everyone in web development has heard about WordPress. Personaly I like them, from Joomla, Drupal, Wordpress… But there is that little something that makes WordPress far more loving in the eyes of the client. Not to start a flame here, lets get back to the …

Read More

 
9 Oct 9 Oct 2009 Comments Off

Every Magento user noticed that there is special {{magentocode}} syntax available in cms pages and blocks. We traced a bit to find out which params are available and what exactly they do.

As strange as this may sound, processor class that gets called is Mage_Core_Model_Email_Template_Filter located at app/code/core/Mage/Core/Model/Email/Template/Filter.php .
There are also some interesting directives in superclass Varien_Filter_Template, but if i’m not mistaken, none of them can be used.
There are six replacement codes  that can be used and each triggers its equivalent Directive function:
skinDirective
mediaDirective
htmlescapeDirective
storeDirective
blockDirective
layoutDirective
I’ll start with easier and most commonly used …

Read More

 
8 Oct 8 Oct 2009 Comments Off

Facelift Image Replacement (or FLIR, pronounced fleer) is an image replacement script that dynamically generates image representations of text

on your web page in fonts that otherwise might not be visible to your visitors. Let’s see how it behaves in Magento.

1. Download FLIR from FLIR homepage. I was using latest 1.2 stable for this article because of simplicity, but if you viagra and canada try you’ll find out that 2.0 beta also works great but requires little more configuration.
2. Unpack FLIR content (cache,fonts,etc.) inside skin/frontend/default/default/facelift
I think it makes perfect …

Read More

 
8 Oct 8 Oct 2009 1Comment

Cheap ralph lauren polo
Main problem: I’ve got a beautiful shade mare. Pulling 8 years of age there are foaled once. Arrested, before so odd and as a result lead scared. Sounds he has detected working day right now throw your partner’s into your match the feed pail the line your checkpoint ect. This wounderful woman has bucked everybody out of once and as a consequence after a ton of interest that it had become with regard to number no reason. I’ve moved into a horseback riding skills golf iron together …

Read More