Call-back icon  Enterprise Sales: +1.310.775.2674 (N. America)   +44 20.3286.4137 (UK)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Page 1 of 4
Magento & Wordpress
 
Garrone
Sr. Member
 
Avatar
Total Posts:  139
Joined:  2007-11-03
Lauria - Italy
 

After a lot of days I add Wordpress to Magento.
Go to http: //www. compagniadelcavatappi.it/magtest/blog/ to see the result. In the next days I’ll publish a blog post to tell you how I do.

 Signature 

La Compagnia del Cavatappi, Enoteca specializzata in Vini.
Se cerchi un Agriturismo in Italia visita Vacanze in Agriturismo.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Crucial Web Host
Sr. Member
 
Avatar
Total Posts:  264
Joined:  2007-11-08
Phoenix, AZ
 

Interesting.

::subscribes::

 Signature 

Crucial Web Hosting
Magento hosting in shared, semi-dedicated, and dedicated configurations.
See our demo store. The latest Crucial information - Follow us on Twitter!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Garrone
Sr. Member
 
Avatar
Total Posts:  139
Joined:  2007-11-03
Lauria - Italy
 

I have to improve something yet!

 Signature 

La Compagnia del Cavatappi, Enoteca specializzata in Vini.
Se cerchi un Agriturismo in Italia visita Vacanze in Agriturismo.

 
Magento Community Magento Community
Magento Community
Magento Community
 
CougarNetworks
Jr. Member
 
Avatar
Total Posts:  5
Joined:  2008-01-09
Kent
 

Looks good so far. Would like to see how you done it.

 Signature 

Cougar Networks
http://www.cougarnetworks.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
JLHC
Enthusiast
 
Avatar
Total Posts:  968
Joined:  2008-05-09
MY - US
 

Wow… Can’t wait to know how you integrate it. :D

Please update us on this. wink

 Signature 

Aspiration Hosting - LiteSpeed + Apache Powered
Magento One-Click-Installer & Flash Video Tutorials Now Available!
Now powering over 800 websites worldwide! Read our Reviews!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
srinigenie
Guru
 
Avatar
Total Posts:  476
Joined:  2008-02-04
 

Here is one more forum post on WP integration with Magento ...
http://www.magentocommerce.com/boards/viewthread/6365/#When:20:55:41Z

Hope you get some clues from that. And Garrone, please do publish on how you achieved the integration ...am interested in that smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
vengy
Jr. Member
 
Total Posts:  7
Joined:  2008-04-27
 

My integration is probably similar to Garrone, and as of right now I have hardcoded top navbar in blog side, so as soon as I update to be dynamic and finish off, I’ll document and try to post details as well.

http://www.lanpartystore.com/blog/

 
Magento Community Magento Community
Magento Community
Magento Community
 
Garrone
Sr. Member
 
Avatar
Total Posts:  139
Joined:  2007-11-03
Lauria - Italy
 

My integration is different. I’m going to write a post on my blog. I hope than other people could improve the integration.
Stay tuned.

 Signature 

La Compagnia del Cavatappi, Enoteca specializzata in Vini.
Se cerchi un Agriturismo in Italia visita Vacanze in Agriturismo.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Garrone
Sr. Member
 
Avatar
Total Posts:  139
Joined:  2007-11-03
Lauria - Italy
 

This is the link: Magento & Wordpress.
The post is in italian, I’ll translate it in english sooner.
You can post both in the blog and in the forum.

 Signature 

La Compagnia del Cavatappi, Enoteca specializzata in Vini.
Se cerchi un Agriturismo in Italia visita Vacanze in Agriturismo.

 
Magento Community Magento Community
Magento Community
Magento Community
 
srinigenie
Guru
 
Avatar
Total Posts:  476
Joined:  2008-02-04
 

thanks a lot!! ...never mind the English translation ...google helped wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
redb
Jr. Member
 
Avatar
Total Posts:  23
Joined:  2008-02-15
Savoie, France
 

cool how do you made it ??
regards

 Signature 

prends ton temps, dépêches-toi !
http://www.denaska.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
Joachim
Sr. Member
 
Avatar
Total Posts:  129
Joined:  2008-01-23
Netherlands
 

Great post, thanks a lot.

The only thing, I had to change at wp-settings.php line 456

$wp_locale =& new WP_Locale();
to
$wp_locale = new WP_Locale();

 
Magento Community Magento Community
Magento Community
Magento Community
 
Joachim
Sr. Member
 
Avatar
Total Posts:  129
Joined:  2008-01-23
Netherlands
 

Just a short note. Some WP plugins will break the Magento install e.g. Google analytics for Wordpress

 
Magento Community Magento Community
Magento Community
Magento Community
 
Garrone
Sr. Member
 
Avatar
Total Posts:  139
Joined:  2007-11-03
Lauria - Italy
 

Yes, the integration is not perfect. Need some improvements.

 Signature 

La Compagnia del Cavatappi, Enoteca specializzata in Vini.
Se cerchi un Agriturismo in Italia visita Vacanze in Agriturismo.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Joachim
Sr. Member
 
Avatar
Total Posts:  129
Joined:  2008-01-23
Netherlands
 

Two things. One problem, fixed now, and a tip

A stupid mistake. I had problems with magic_quotes, see this post I didn’t change wordpress config at wp-settings.php To fix Magento I deleted, around 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);

to add the wordpress page title and other meta-tags you could load a part of the wordpress header. E.g. add to blog.phml

<head>
    <
title><?php if (function_exists('seo_title_tag')) { seo_title_tag(); else { bloginfo('name'); wp_title();} ?></title>
<
meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>"/>

<
link rel="icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon"/>
<
link rel="shortcut icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon"/>

<?php echo $this->getCssJsHtml() ?>
<?php 
echo $this->getChildHtml('head'?>
    
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <
link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    <
link rel="alternate" type="application/atom+xml" title="Atom 1.0" href="<?php bloginfo('atom_url'); ?>" />

    <
link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
<?php wp_get_archives('type=monthly&format;=link'); ?>
    <?php 
//comments_popup_script(); // off by default ?>
    
<?php wp_head(); ?>

</head>

One other issues as mentioned at the original (Italian) post permalinks doesn’t work. Does have anyone a idea how to solve this issue? With mod_rewrite? Or change magento rewrite files?

 
Magento Community Magento Community
Magento Community
Magento Community
 
chiaraweb
Guru
 
Avatar
Total Posts:  686
Joined:  2008-03-21
Aviano ~ Italy
 

Geat Job Garrone!! wink

Thanks a lot

 Signature 

Non criticare cio’ che non puoi capire.
Bob Dylan

My Live Magento Shops
http://www.ecobaby.it
http://www.pesicampione.it

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
Page 1 of 4
 
© Copyright 2009 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
108777 users|304 users currently online|199882 forum posts