Install Magento on Mac with XAMPP

Development, Installation, Magento Kommentare deaktiviert für Install Magento on Mac with XAMPP

There are some steps you need to be aware of.

First requirement is that you have a working installation of XAMPP on your Mac.

  1. Download and place magento files as referenced in installation instructions
  2. Setup Database using phpmyadmin (goto: http://localhost , there will be a link on the left to goto phpmyadmin)
  3. Open the (start typing Terminal on the Spotlight, or by going into Applications -> Utilities -> Terminal.)
  4. Open the hosts file (by typing on the Terminal that you have just opened):
    sudo vi /private/etc/hosts

    Type your user password when prompted.

  5. Add the following entry in a new line (or extend the existing entry):

    Save the file with :wq command.

  6. Make sure that Apache loads all required extensions. Edit the file xamppfiles/etc/php.ini and search for:

    If there is a ; in front of the lines above, please remove it and save the file.

  7. Edit xamppfiles/etc/httpd.conf file and check if mod_rewrite is enabled:
    LoadModule rewrite_module modules/

    If there is a # in front of the line above, please remove it and save the file.

  8. Restart XAMPP with the control panel
  9. Goto: http://www.localhostcom/magento/(replace the above “magento” with where your installation was extracted to)
  10. Continue with install, all should be good!

Maybe you will get a message with permission error on some directories.
Then open your and type in the following commands:

cd <path to your installation>
chmod -R 777 app/etc
chmod -R 777 var
chmod -R 777 media

Monthly view for events with EventList

Development, Joomla 7 Comments »

Today I had a problem for a customer project. I can’t show you a demo or something else at the moment, but I will do this later… At the moment I can show you only a screenshot:

EventList with a view for monthly events

I have to show the event in a Joomla with the great component EventList. The problem is that the component can’t show all events within a month, e.g. all events in April 2011.

So I started to take a look on the things EventList can do and saw that it can show events today and the next x days. Great 🙂

Next step was that I copied the view files and changed a little the information within it, so that I have the possibility to add a new menu entry with a start and end date.

Then I saw that I need to add some information in the router.php in the root of the component for „month“.

At least I need to create a model for month data.

Finished 🙂

The result is a set of files which were changed and tested on my development environment.I uploaded the files to our company server:

Please backup your existing installation before you uplaod the files. Best way for upload is via FTP.

Let me know if you find something to do better or know something similar (I havn’t found anything 🙂 )

UPDATE: Please note, that an event must have a start and an end date otherwise the view is not working.

Magento eCommerce – display all products in a category, split by subcategories

Development, Magento 1 Comment »

I posted a new site on, where we describe the above mentioned problem, discussed in the magento forum.

Also we published the file for downloading.

Cool Piwik plugin

conlabzREPORT, Piwik Kommentare deaktiviert für Cool Piwik plugin

Today I found a very cool Piwik plugin and tried it out at our installation. It’s called Click Heatmap and as the name says: you can see in an overlay of the website where on the page the visitors clicked.

Very nice feature!

Piwik Plugin updated

elgg, Piwik Kommentare deaktiviert für Piwik Plugin updated

Today I updated my elgg Piwik plugin.

The new feature I add is that the administrator can see the number of page visits on the last 30 days in a graph below the settings.

I hope you’ll enjoy this plugin 🙂

Backgroud opacity with jQuery.imageZoom

Development, jQuery 1 Comment »

I tried to find a solution for having a background opacity with jQuery.imageZoom by Andreas Lagerkvist

Because I found no solution I asked the developer and here is the working answer:

I think the easiest way would be to give the body-element a class when an image is zoomed out and then simply darken the background when body has that class.

If you want a proper overlay then add a div to the body-element and show/hide that based on the class.

Something like:

… other code…
<div class=“overlay“></div>

div.overlay {
background: #000;
opacity: .3;

position: fixed;
left: 0;
top: 0;

display: none;
width: 100%;
height: 100%;

body.image-zoom-active div.overlay {
display: block;

And then you have to modify the jquery.imageZoom.js-file a little.

One function is called when the image to be zoomed is loaded and ready to be displayed. In this function you should give body the class. Another function is called when then image is zoomed back in, this is where you want to remove the class from body.

Look for:

// This function is run once the displayImgSrc-img has loaded (below)
var preloadOnload = function () {

And add this directly inside the function:

And then to remove it look for:
// This function closes the imgzoom
var hideImgzoom = function () {

And add this directly inside the function:

That should do the trick.

Thank you very much for the fast support Andreas!

Desktop Web Analytics – For Piwik

Piwik Kommentare deaktiviert für Desktop Web Analytics – For Piwik

As you all may have read before in my blog posts, we are making heavy use of Piwik, as our reporting tool. Some days ago I found (thanks to Timo) a fascinating application: Desktop Web Analytics – For Piwik (

I use it on my Mac, even if it is an alpha release it works very fine for me! Give it a try…

Elgg Piwik Plugin

conlabzREPORT, Development, elgg, Piwik Kommentare deaktiviert für Elgg Piwik Plugin

Sometime ago that I posted something in my blog, but it was a busy time over the last three months. Now, I’m here to talk about one thing that I’ve done in this period.

One of our customers is using elgg and we are tracking this project with an installation of piwik (conlabzREPORT). I searched a long time to found out that there is no plugin for this type of problem, so I’ve changed it and wrote the Piwik – Open Source Analytics (0.1) elgg plugin.

Have fun!

New BackendPro version released

BackendPro, CodeIgniter, Development, Updates Kommentare deaktiviert für New BackendPro version released

Last week I saw that there was a new version of BackendPro. Not it is 0.6.

On one of our projects I started to update the version, but after some time I saw that there a lot of changes which make the software really good. At all it costs me two days to update the single project (three are waiting for an update 🙂 )

Yesterday I want to bring the new version on the LiveSystem, but here I got some further problem, which are not there on my MacBookPro with MAMP:

I had a problem with the installation on my webserver (Debian Etch with Apache 2). I guess that this is a known CodeIgniter problem, so I want to please Adam for the next release to change the things… For all other interested people read the following solutions:

1) CamelCase doesn’t really working good with CodeIgniter.
I got an error on my webserver which told me „Unable to load the requested class: bep_site“.

Solution: Change all filenames in modules/site/libraries to


2) File changes
In the file modules/site/libraries/Bep_assets.php I had to change the following line:

– include_once(‚Bep_AssetFile.php‘);
+ include_once(‚Bep_assetfile.php‘);

– $this->CI->load->library(‚Bep_Browser‘);
+ $this->CI->load->library(‚bep_browser‘);

The reason is located in 1)

For all other: If you have any further question, please the comments of this post…

Joomla Component Creator

Development, Joomla Kommentare deaktiviert für Joomla Component Creator

There are a lot of good and useful things out in the world wide web. But some are very useful.

In the last days I created a lot of components for Joomla 1.5 and always I copied files and had to code a lot of stuff. So I took a look around and tried to find if there was some supporting tool for this. And… I don’t believe, but it’s true. I found a Joomla Component Creator, published by Not Web Design.

Here you have to provide some basic information and what you get back is a whole component with the basic files. Ok… You have to code some things, but it fasten your development.

Thank you very much for this generator….

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Anmelden