who needs social life when you have broadband?

Inventas vitam iuvat excoluisse per artes / Let us improve life through science and art.

Archive for February, 2008

London, here we go

I gave up moving to Canada. It is just too complicated to find an employer there and it takes too long to get a visa with work permit without it. So I decided to move to the lovely London to work on my English and try to find some part-time/contract jobs to improve my technical skills as well. If everything goes wrong, I can work as cleaner, as most of the brazilians do :(.

The visa should arrive by the end of march and I’m very excited about moving to a new place. If we have any visitors from London, drop me a line so we can meet for drinks and nerdy talking.

No comments

Magento and Joomla! - HowTo!

Here's a short text explaining how to get Magento and Joomla! user integration using a plugin I wrote for JFusion.

UPDATE 2: There is a brand new version of this plugin (much simplier and should work with magento 1.0), please fallow the development process here and help me testing!! FEEDBACK IS APPRECIATED!

UPDATE: Magento plugin is, now, packed with JFusion versions higher than 1.0.5. You just need to install JFusion and enable Magento plugin. Cheers :D

Before we start:
This is not a user synchronization method. It validades all users (except backend users) against your Magento database. That's how JFusion 1.0.4 works so if you want user synchronization between Joomla! and Magento you'll have to wait for next releases of JFusion (we are working on this feature!).

What you will need:
- Joomla! 1.5.0+ installed and configured (1.5.1 strongly recommended)
- JFusion 1.0.4 installed and configured! (jfusion has plenty of documentation on how to get it working. please use it!)
- Magento eCommerce 0.7.1548 installed and configured (I can't say if this works with the latest version!! I promise I will release an up to date plugin as soon as Magento 1.0 stable goes public)
- My Magento Plugin for JFusion! (yay!)
- cURL extension for PHP (check your phpinfo(); if its not enabled, I'm almost sure there is a php5-curl package for your favorite linux distro, or a commented dll in your php.ini)

Once Joomla!, JFusion and Magento are running smoothly, extract my plugin (magento.tar.gz) inside JFusion's admin folder (yousite/administrator/components/com_jfusion/). This will create a yousite/administrator/components/com_jfusion/magento/ folder with two files in it: admin_forum.php and jfusion.xml

Missing information (thanks unleash.it):

add the new files to the com_jfusion.xml:

HTML:
  1. <filename>magento/admin_forum.php</filename>
  2. <filename>magento/jfusion.xml</filename>

Then manually add a new row for Magento in the jfusion table of the Joomla DB. You can do this simply copying one of the existing (forum) rows and change the name to "magento".

Now login in your joomla backend (using the "admin" username), go to components -> jfusion and configure your "magento" plugin.. that's it.

you should be able to login in joomla with your Magento users (the username is a e-mail address) and link to your magento site without need to restart the session :P

Warning:
This is a pre-alpha public release (magento plugin hasn't been released with jfusion yet). Use for testing purposes only and let me know if it worked as expected :)

Submit your comments here, here or by mail: bigodines ~@ ~ joomla.com.br

15 comments

Magento and Joomla! integration - I need your help

Hello,

I forgot to blog about this here (posted only in my portuguese blog :/) but I've been working in a Magento+Joomla! integration using JFusion. I'm coding this in my free time, as a hobby. This morning I've managed to get login working and I would love if some of you could help me testing before releasing anything to public.

As this a pre-alpha version, there won't be a "one-click install" or anything. So, I expect that experience programmers could help me test and improve this plugin. Credits will be given, of course.

If you are interested in help, drop me a line: bigodines ~at~ joomla.com.br

No comments