Create a Color Switcher in Magento

Posted by Branko Ajzele under Magento @ 30th SEP 2008

Magento comes packed with a lot of options. But no matter how many options you put into some product you can never cover all of them. One of such options (for now) is a color switcher in Magento. To be more precise, an image switcher based on color selection.

Recently I’ve made a screencast on my site on this subject, with somewhat different title. The idea is to have a dropdown box from which you choose a color and based on the color selection product image changes. All of this is to be based on some simple javascript (in my case, jQuery).

Read more. |

UPS API Quest

Posted by Tomislav Bilic under Tools @ 30th 2008

I got one fairly simple request to develop a custom shipping calculation for Magento that will use some special calculation using UPS API. Right now, Magento only calculates weight and the client needs something more advanced. I worked on similar stuff before, so I guessed this will not be much different. First step was to find an API for UPS. Well, this post is all about the search for API. I’ll update it when I manage to find it.

Read more. |

Free Flash Graphs Tool

Posted by Tomislav Bilic under Tools @ 21st SEP 2008

It is very common in the process of building custom web application that we need to produce some sort of visual reports. Those reports have to quickly display tabluar data in human more readable format - graphs. Although  there is a way to create them yourself in PHP using some image functions, you’ll have to spend a lot of time to make the chart look superb. This is where Open Flash Chart project jumps in.

Read more. |

WordPress Navigation Management

Posted by Tomislav Bilic under Wordpress @ 19th SEP 2008

While searching for new version of Wordpress breadcrumbs plugin, I stumbed upon something I needed for a long time. One of the issues I had with using Wordpress as CMS was its frontsite navigation customization possibilities. Yes, we have default wp_list_pages() function with some options, and yes,  we have wp_list_cats() function with options on its own. But, what if I wanted to make sidebar navigation to be a combination of pages and categories?  This was the problem where I used a lot of custom coding in sidebar.php or header.php file. I found an easier methond with NAVT, Wordpress Navigation List Plugin.

Read more. |

Figuring out Magento object context

Posted by Branko Ajzele under Magento, Tools @ 10th SEP 2008

One of the problems working under the hood of the Magento CMS is determining the context of $this. If you are about to do any advanced stuff with your template, besides layout changes, you need to get familiar with Magento’s objects (classes).

Let’s have a look at the /app/design/frontend/default/default/template/catalog/product/view.phtml file. If you open this file and execute var_dump($this) your browser will return empty page after a short period of delay. By page I mean on the product view page; the one you see when you click on Magetno product. Experienced users will open PHP error log and notice the error message caused by var_dump().

Read more. |

Manual creation of Google Sitemap in Magento

Posted by Tomislav Bilic under Magento @ 9th SEP 2008

Most of you probably know this, but let’s define what the sitemaps are. Sitemaps are a simple way for site creators to give search engines the information about pages on their site that are available for public. Basically, those are just 1 or more XML files that lists URLs for a site along with additional meta informatio about each URL (like last update, how often it changes, its importance relevant to other pages). With this in mind, search engines can be more clever while crawling the site. Click here see how sitemap of this site looks like.

Read more. |

Website Launch Flowchart

Posted by Tomislav Bilic under Tools @ 4th SEP 2008

Did you ever wonder what does it take to build a successful website? Bob Misita from Virante helps us visualize the process. He made a flowchart of 40 steps that need to be completed before actual website launch. Although the list is quite comprehensive, this steps really occur even in medium sized projects.

I hope this will help all of you who want to build a self-money-generation sites with the deadline of 3 weeks. Look at the flowchart, analyze it and don’t start the development until you planned at least 80% of this boxes.

Read more. |

Wordpress: advantages and disadvantages?

Posted by Tomislav Bilic under Wordpress @ 1st SEP 2008

Couple of days ago I posted a question to LinkedIn Q&A. It was for those individuals/companies who use Wordpress to run their main site. I was interested to know why do they find Wordpress to be their chosen one CMS. The users were supposed to name top 3 key elements in WP that they find most important for your site.  That was the easy part to most of them. Harder part was to name top 3 key elements they miss in WP, but have a feeling it would be important for their site.

There were some really interesting replies.

Read more. |