Subscribe To RSS Feed


Mike D's SharpBlog

Just another Sharpdot weblog

Archive for August, 2010

Magento: Blank Configuration Tab for a Custom Module

- Monday, August 30th, 2010 -

This should be an easy one. Double check that you have a proper < acl>  node in your modules config.xml file. Then clear the cache and refresh the page.

Tags: , ,
Posted in PHP, magento | 1 Comment »

Magento: Setting Up A Multi-Website Installation

- Wednesday, August 18th, 2010 -

In this article I plan to cover how to setup a Magento Multi-Website E-Commerce Installation.

Please Note: This article was written using Magento Version 1.4.1.1. This article may not work on older versions.
Basic Installation:

After going through the installation screens you should have a fully functional Magento e commerce site.  We wanted a Multi-Website Installation so we have a few more things to cover.

Multi-Website Install: Additional Tasks:

  • For each website you plan on having you need to create it in Magento.
  • Log In to the admin panel. Go To System > Manage Stores. This brings you to the Manage Stores Page. Here you need to add a new Website, Store, and Store View. Be sure to correctly relate each Website/Store/Store View. We will use the information entered here in the next step.
  • Now you need to set things up with the web server to notify Magento what site needs to be rendered. This is a decent tutorial on how to configure things Tutorial. I ended up having to add the settings in my .htaccess file.
  • Now you can create a root category for each website. You will need to set each root category to each websites Store. Do this in System > Manage Stores.
  • Now when you are doing things in the admin, remember, on most configuration/edit screens , there is a Scope switcher (switches between Sites). This will affect how the config setting are applied to the sites.

Tags: , ,
Posted in PHP, magento | 4 Comments »

Zend Framework: Maintain Password values on form errors

- Wednesday, August 18th, 2010 -

If you want password fields to maintain there entered values when a form is submitted, but is not valid your need to call “setRenderPassoword(true)” on the password element.

Posted in Uncategorized | No Comments »