How to fix the ‘The plugin does not have a valid header’ error when activating a WordPress plugin

You want to extend WordPress’ functionality and decided to download some plugins found in the Official WordPress Plugin repository. After searching the repo, you’ve found two plugins that accomplishes the tasks you needed to implement in your blog. Downloading the plugins gives you two ZIP files that when double-clicked, shows you the contents in the following format:

---- plugin-a-main-file.php
---- plugin-a-readme.txt

---- plugin-b-subfolder
-------- plugin-b-main-file.php
-------- plugin-b-readme.txt

Continue reading

WordCamp Philippines on October 2010!

I’m sooo excited about this! For those who don’t know what WordCamp is, here is an excerpt from their site:

WordCamp is a conference that focuses on everything WordPress.

WordCamps are informal, community-organized events that are put together by WordPress users like you. Everyone from casual users to core developers participate, share ideas, and get to know each other. WordCamps are open to and users alike.

It is scheduled on October 2 this year and they haven’t publish any details yet, but what the heck! I’m still going! So fellow WordPress bloggers, hop on to our mothership!

How to use Magento’s session within WordPress

Update (May 11, 2010): I created a WordPress plugin for this one. Check it out here.

You have a free WordPress blog that has been online for sometime. You love its simple yet powerful way of managing your content so you’ve decided to have it hosted to a different provider in order to have a more granular control to its code and functionality. Eventually, you needed cash to support the hosting expenses so you decided to utilize your blog for e-commerce use. That’s when Magento comes in to the scene. You want to find a way to use Magento as your backend while pulling your catalog and customer information to be posted to WordPress site. This is what my article is for.

Continue reading

How to add a product into Magento shopping cart from an external site?

Yes, I know. This topic has already been discussed here. But it seems the article isn’t really helpful for those people who would integrate Magento into a custom website because it will redirect the page to Magento’s default web store provided in the installation. The technique I’ll discuss here assumes that you know HTML and ofcourse familiar with Object Oriented Programming (OOP) in PHP.

Continue reading