Next Webinar: Maximizing Magento - Get the Most out of Promotions. Register Today!

Magento

Open Source eCommerce Evolved

Lazzymonks Wordpress Integration 2.61

Click here to view full size Discuss this Extension Request New Feature Report a Bug

Please note that this extension is provided as is. It is recommended to always backup your installation prior to usage.

Created   lazzymonk
Last Updated Fri, September 5, 2008
Version 0.6.0
Compatibility 1.1
Stability beta
Locales available in this package N/A
Downloads 1310
Community Rating
  • Currently 4.89/5

· 9 votes | 17 reviews

Categories Interfaces
License Type Open Software License (OSL)
Tags wordpressadmin
Need help? Find a Magento Professional »


Overview

Adds the ability to integrate wordpress into magento.

WORDPRESS AND MAGENTO MUST BE INSTALLED IN THE SAME DATABASE. FAILURE TO DO SO MAY CAUSE UNEXPLAINED THINGS TO HAPPEN



0.5.2 - Changes
Fixes missing directory containing wordpress theme and pre changed files.

0.5.1 - Changes
removed junk files from module folder.

0.5.1 - Added Features
compatibility with Magento 1.1 added (alpha only although may work in final)
Option to hide the blog, the menu or both to no logged in users added.

0.4.5 - Changes
fixed html markup.
minor changes to wordpress theme
when login required to post comment and user not logged in all the comment boxes are now no visible.

0.4.5 - Added Features
widgetized sidebar - you can control sidebar elements from within wordpress.
older and newer post links add.
archive descriptions added to menu. (enabled in admin)
rss links at bottom of menu can be turned of in admin menu.

0.4.1 - Changes
Fixed compatablity with Modern Theme.
Removed Store Name from blog page title.

0.4.1 - Added Features
Ability to require login (using store logins) to post comments.
If user is logged in, name and email automatically entered when posting comment.

0.4.1 - Issues
/blog will display a blank page when viewed until settings are saved in the admin config. This is due to no default page layout being set, resulting in a totally blank page until there is a value saved.
Permalinks must be disabled in wordpress. Enabling permalinks will cause problems.
Translate Inline being enabled will generate an error on pages showing blog content (including the menu).


This extension adds the ability to integrate wordpress into magento.

It has adjustable page layout from with in the admin menu.

Wordpress menu can be set to show in the left column, right column, both or neither.

A link in the footer can be enabled or disabled.

And the page title can also be set.

Below are instructions on changes that need making to wordpress and magento to enable this extension to work. Copies of these files with the changes already applied are included in the extension. These however should be used with caution. They can be found in the magento base, in a folder called wordpress_module_files.

-----------------------------------------------

1. find index.php in the root of your magento installation and find the following line of code

require_once $mageFilename;

and add the following after it


define('WP_USE_THEMES', true);
require('./wordpress/wp-blog-header.php');


you will need to be sure that the second line points to the location of your wordpress installation, as it is, it assumes wordpress in installed in the magento directory.

2. in wordpress/wp-settings.php find the following lines of code and remove the & symbol


Line 399

$wp_the_query =& new WP_Query();

Line 414

$wp_rewrite =& new WP_Rewrite();

Line 421

$wp =& new WP();

Line 456

$wp_locale =& new WP_Locale();


also in wordpress/wp-settings.php remove or comment out the following lines

Line 386

// Escape with wpdb.
$_GET = add_magic_quotes($_GET );
$_POST = add_magic_quotes($_POST );
$_COOKIE = add_magic_quotes($_COOKIE);
$_SERVER = add_magic_quotes($_SERVER);

3. In wordpress/wp-includes/l10n.php at line 116

change

function __($text, $domain = 'default') {
return translate($text, $domain);
}

to

if (!function_exists('__')) {
function __($text, $domain = 'default') {
return translate($text, $domain);
}
}

4. now to the wordpress part. copy the theme in wordpress_module_files/wordpress-theme into wordpress\wp-content\themes

5. log into the admin panel of wordpress and click settings. then change the “Blog address (URL)” to http://yoursite.com/magento/blog change to fit your site, but leave the blog part. Save settings then Click permalinks. Ensure permalinks are set to default. Finaly goto design and select the magento theme installed in step 4.

6. now go to http://yoursite.com/magento/blog to access the blog.

RSS: New Extensions

Explore Magento Connect

Browse extensions by| View all

Popular Tags| View all Tags

Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
39896 users|708 users currently online|85884 forum posts