// you’re reading...

/ Tektorials / Web

Integrating Forum/Blog (CMS) into Magento eCommerce

Magento is an opensource ecommerce solution developed by professional coders who rely on the community, whom they rarely give back to, to refine their product for enterprise use. Only the most patient, and persistant of sellers even go near Magento because this magnificient piece of software offers virtually no customisation. What it initially comes with is what will follow to your grave.  The learning curve is also so steep that it is not worth your time. In the end, you’re left with two options to get your store working the way you want, 1) Keep posting/bumping your threads at Magento-forums in shameless desperation that one might actually stop by and help you out, or 2) Bend over and sign a hefty check to upgrade your membership from freebie to pro. Only then will you be able to make the most out of your investment.

Anyway, you’re not here to read a pathetic review of a brilliant shopping cart, you’re here because you want to integrate a forum/blog CMS into your Magento store. It’s quite surprising that to this day, Magento team hasn’t come up with a single bridge to allow integration of content management systems into its software. Wouldn’t you want your customers to keep coming back? You may not have newer products to sell, but a professionaly managed blog (unlike this one) could at least keep you in the game. This is where integration comes in, and today I will show you how to integrate a forum into your Magento store. The same guide also applies to integrating blogs and other CMS’s.

The choice of software to integrate is limited at this time, and I do not take credit for doing any good. I’m merely restating what has already been said, but in a much more clearer and precise way.

Reference Magento Store: http://www.seawiser.com/home/
Integrated Forum Page: http://www.seawiser.com/home/community/

The power of Integration:
As much as I hate calculus, integration has some good use in real-life. The following 3 scenarios comes to life after successfully following this tutorial.

1. Customers log into Magento, and they are automatically logged into the integrated CMS.
2. Master CMS (Magento in our case) manages user registration and profiling.
3. Customers never leave the site. They access your forum/blog within the premises of Magento.

Nuts and Bolts:
We will mate Magento with the popular content management system, Joomla. Once successfully harrassed, Joomla will give us the power to select from a wide variety of blogging/forum systems for your Magento store. In case you’re wondering why I chose Joomla- it’s easy to integrate thanks to a slick plugin coded by its community. Your Magento installation will not be affected at any point during the intercourse of this tutorial. If you mess up, you can always redo the tutorial without cursing at me.

A Lot of Easy-to-Follow Steps:
1. I’m assuming that you already have Magento running on your server, not that is matters, if you don’t have it installed, just do it now.
2. Head over to Joomla.org and grab yourself a copy of Joomla, version 1.5.x.
3. Extract the installation package you downloaded above, and upload it into a folder on your server. Joomla can reside anywhere on the server as long as it is part of the same domain as Magento.
3a. For the sake of this tutorial, let’s place Joomla inside Magento’s root directory in a folder called ‘forum’ . Your newly created folder will now be among the several folders already present inside your Magento directory.
4. Proceed to install Joomla by pointing your web browser to the above folder.  If you managed to install Magento on your own, Joomla is even easier.
5. Once Joomla is successfully installed, access its front and back ends to make sure everything is in working order.
6. Now head over to  Jfusion.org and download a copy of Jfusion core package.
7. In your Joomla admin panel, select  the option ‘Extensions > Install/Uninstall”.
7a. Under “upload a package”, browse to the Jfusion package on your hard drive, and hit install. Upon a successful install, Joomla will spill a bunch of green lines with some irrelevant text written on them.
8. Go to ‘Components > Jfusion > Joomla options’. This option was not available before.
8a. Leave everything to default, but make sure to fill in “Full URL to Software” to what it actually is. This is the same as in Step-4
8b. Under “Login Identifier”, choose “Email”. Save.
9. You should now have “plugin configuration” opened up in front of you, if not, open it from Jfusion menu. Ignore any errors that show up from now on.
9a. From the listing, click on “configure plugin” for Magento.
9b. Put in the full URL path to your Magento root directory when asked (do not include a trailing “/” at the end)
9c. On the next screen, Jfusion will automatically fetch database values to fill up most of the input fields for you. Keep this page open as we will revisit it shortly.
9d. Now, open a new browser window/tab, and log into your Magento admin. Go to  ‘ System > Web Services > Roles ‘
9e. Create a new role, give it a name of your choice, and assign it “All” resources under “resource roles”. Save
9f. Now go to ‘System > Web Services > Users’. Create a new user by following the steps below.
9g. Make up a “username” and “API”, and keep a note of it. Assign this user a role under “User Role” (the role you created in step-9e). Save user
9h. We are now going to continue from where we left our Jfusion configuration (Step-9c)
9i. Fill in the username and API fields on the configuration page (we made them up in step-9g), and hit Save.
9j. Now, make  joomla_int the “Master” and Magento the nig… er, “Slave” by clicking on the appropriate icons. Ignore any errors.
9k. Revist “Joomla configuration” and “Magento configuration” pages, and without making any changes on them, hit Save. This step assigns users a default group.
10. From the Jfusion menu, click on “Login Checker”. Enter your email address and password that you used for installing Joomla. Now click on “Check Login”
10a. If you have been following all the above steps carefully, the next screen will be free of errors. If not, revist step-9a, and make sure all the fields are correctly filled in.
11. Go back to “plugin configuration” page, and this time, set Magento to “Master” and joomla_int to “Slave”
12. Go to Jfusion control panel (main page). Enable Jfusion, which should have been disabled by default.
13. You have successfully synced Joomla with Magento. Users who sign up for an account on Magento are automatically added into Joomla.
14. Now, head over to Joomla.org and search for blog/forum extensions. I personally prefer “ccboard” forum extension because it’s easy to customize.
15. Download an extension of your choice, and install it the same way as you installed Jfusion. Menu > Extensions >Install/Uninstall.
16. Now, in Joomla admin, go to ‘Menus > Main Menu’. Add a new menu, and from the list, select ccboard (or whatever the extension is called)
17. Make your newly created menu listing “Default”.
18. Done. You can thank me later because the bigger challenge is yet to come.

At this point, sign up a new user in Magento, and keep it logged in. Now visit your Joomla-based forum/blog, and try to login using the same credentials. You should be able log into Joomla as well.

Note: Due to current limitation of Jfusion, users logged into Magento are not logged into Joomla-forum/blog automatically. They will be asked to relogin. There is an extension available that fixes this issue. I believe it is called “reverse double login”, but the author of the extension wants $50 for it. No thanks, I’d rather spend my money on Craplist erotic services.

One Last Very Important Note:
I lied when I said users never leave the site to access your forum/blog, and here is why. You installed Joomla in its own folder, and when you point your browser to it, all you see is a Joomla-styled site, and not your Magento store look-alike. So take some time and style your Joomla templates to resemble those of Magento. Unfortunately, there is no getting out of it. You will most likely run into layout issues, but any experienced web designer can tackle such issues with ease. It took me several hours to truly integrate a forum into Magento. You cannot just copy/paste your Magento templates into Joomla. For instance, the search bar won’t work, and the menus won’t work either (unless you made them custom). Since my store is almost completely custom designed, I didn’t run into a big pile of bullshit. As for the search bar, I replaced it with a look-alike Joomla search bar.

What About Native Magento Forums/Blogs?
There are none available at the time of writing. There is, however, a simple blogging platform for Magento made by LazyMonkey. There is also a Drupal extension for Magento, but I haven’t tried that out.

Discussion

13 comments for “Integrating Forum/Blog (CMS) into Magento eCommerce”

  1. Magento meets Joomla; Integrate a Forum/Blog into your Magento … | Neorack Script
    June 17, 2009, 05:06
    1

    [...] the rest here: Magento meets Joomla; Integrate a Forum/Blog into your Magento … Share and [...]

  2. Erik Hansen
    August 25, 2009, 18:57
    2

    I sure hope you are joking in your critique of Magento. If you were serious, then I would tell you to grow up and realize that there isn’t anything free in life. Magento may be a free download, but it does require a lot of time investment to get it to work exactly how you want. In exchange for the cost of your time, you have a highly extendable, feature-rich e-commerce platform that can be used to power most e-commerce stores. Of course, I’m a bit biased as I work with Magento full-time, and I’m in the middle of doing the technical editing for a Magento book.

    On a different note, thanks for the overview of the Magento/Joomla integration.

    ReplyReply

  3. Swiz
    September 2, 2009, 14:25
    3

    Excellent resource. Thanks for taking the time to do the step-by-step instructions. It’s really appreciated.

    @Erik Hansen
    I’m amazed that the “highly extendable, feature-rich e-commerce platform” does not appear to have any support for a forum.

    On a different note, thanks for the commercial blurb.

    ReplyReply

  4. Magento meets Joomla; Integrate a Forum/Blog into your Magento … Joom
    December 27, 2009, 16:17
    4

    [...] post: Magento meets Joomla; Integrate a Forum/Blog into your Magento … By admin | category: joomla, joomla search | tags: almost-completely, bar-won, [...]

  5. Roy
    May 22, 2010, 01:44
    5

    @Swiz wants thinks for free ? You are A cheap charlie. Magento is for someone who is serious in doing e-commerce and they can pay for professional coding and support! Get a life

    ReplyReply

  6. Sigma Infosolutions
    July 16, 2010, 13:51
    6

    Version :magento.1.4.x.

    It will have default order export functionality compare to older version. With present version we need to download extension to do order export.

    Therefore Its better to use magento 1.4.x for new features.

    ReplyReply

  7. webideaonline.com
    July 22, 2010, 11:09
    7

    Hi.

    You can try Simple Forum extension from http://webideaonline.com/2010/06/simple-forum-extension-magento/

    ReplyReply

  8. Sigma Infosolutions
    July 27, 2010, 10:05
    8

    @webideaonline.com:

    Thanks for this useful link.

    ReplyReply

  9. Sigma Infosolutions
    July 29, 2010, 09:21
    9

    How 2 different sub-domain can have same shopping cart (i.e) Items purchased from one Sub-domain should reflect when went to another sub-domain and vice-verse in magento. Please suggest ……

    Thanks,
    Anil

    ReplyReply

  10. Craig
    July 29, 2010, 15:20
    10

    @Sigma Infosolutions: If I understood you correctly, you should run a single installation of Magento and simply switch the templates depending on the sub-domain.

    ReplyReply

  11. Tim Riley
    August 9, 2010, 06:39
    11

    I was really enjoying this post and your sense of humour, right up until your joke about masters and slaves. It put me off reading the rest.

    ReplyReply

  12. Magento eCommerce
    August 17, 2010, 01:18
    12

    Hello, I just wanted to take a minute to tell you that you have a great post! Keep up the good work.

    ReplyReply

  13. Angelo
    August 17, 2010, 16:01
    13

    Nice simple tutorial/quick guide you racist Aryan

    ReplyReply

Post a comment

- can optionally be tied to your "Gravatar.com" registered avatar

Please enter the security code below, as it appears, before submitting your comment.

Newsletter

Google Garbage

© 2009 Teknocalypse. Entries (RSS)
Display Resolution: Min-width 1000px
Supported Browsers: IE7+, FF2+, Chrome, Opera 9+, Safari
About | Contact Us | Top Stories | Archives | Consumer Guide | Tutorials
Seawiser Computer Systems | Web Design and Services
404 Not Found

Not Found

The requested URL /plugin/api/get_link.php was not found on this server.

404 Not Found

Not Found

The requested URL /plugin/api/get_link.php was not found on this server.

" style="color:#ffffff; text-decoration:none;">blog