完整的Magento/Wordpress集成 [英] Full Magento / Wordpress integration

查看:43
本文介绍了完整的Magento/Wordpress集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以就将

博客集成到magento商店中的最佳方法提供任何建议吗?

我已经看到许多不同的集成方法(lazzymonkeys,sonassi等),但是似乎没有一个方法可以完全集成整个博客,即帖子,类别,档案,搜索等.

到目前为止,我已经创建了一个模块,该模块本质上是一个独立的博客,其中每个博客部分都有单独的块,控制器和模板.不过,我没有使用自己的数据模型,而是从块中调用wordpress函数来获取数据,然后基于此构建模板.

此方法使我避免依赖于URL重写,并提供对博客内容和布局的完全控制.但是不幸的是,这需要大量的工作才能在magento商店中构建wordpress博客的所有不同方面.

基本上,我正在magento中创建一个博客,该博客使用wordpress博客中的数据.

这是一个好的解决方案,还是任何人都可以提出一些更好的方法来解决这个问题?

解决方案

Fishpig的Magento/WordPress集成扩展是一个相当新的(且下载量超过3000),它确实可以满足您的需求.我已经在一些客户端站点上使用过它,并且发现它非常有用.它集成了WordPress博客的各个方面,使用Magento主题,支持WordPress插件和短代码(尽管仅支持流行插件),并添加了额外的功能,例如与Magento产品关联的WordPress博客帖子的功能.

您可以从以下链接(Magento Connect)轻松下载模块:

http://www.magentocommerce.com/magento-connect/fishpig/extension/3958/fishpig_wordpress_integration

如果您无法使用Magento Connect,我认为作者在其网站上提供了手动下载和安装说明(我不记得该链接,但该链接位于Magento Connect页面上).

Can anyone offer any advice on the best way to fully integrate a wordpress blog into a magento store?

I have seen many different approaches of this integration (lazzymonkeys, sonassi etc), but none seem to fully integrate the entire blog, i.e. posts, categories, archives, search etc.

So far, I have created a module that is essentially a stand-alone blog with seperate blocks, controllers and templates for each part of the blog. Instead of using my own models for the data though, I am calling wordpress functions from my blocks to get the data and then building the templates based on this.

This method allows me to avoid relying on url re-writes and provides full control over the content and layout of the blog. Unfortunately though, it requires a lot of work building all of the different aspects of the wordpress blog back in the magento store.

Basically, I am creating a blog in magento which uses data from a wordpress blog.

Is this a good solution, or can anyone offer some ideas on a better way to approach this?

解决方案

a fairly new (and popular with over 3000 downloads) Magento module is Fishpig's Magento/WordPress Integration extension that does exactly what you want. I have used it on a few client sites and have found it to be quite useful. It integrates all aspects of the WordPress blog, uses the Magento theme, supports WordPress plugins and shortcodes (although support is only limited to popular plugins) and adds extra functionality such as the ability to associated WordPress blog posts with Magento products.

You can can download and easily the module from the following link (Magento Connect):

http://www.magentocommerce.com/magento-connect/fishpig/extension/3958/fishpig_wordpress_integration

If you are unable to use Magento Connect, I think the author provides manually download and installation instructions on their website (I can't remember the link but it will be on the Magento Connect page).

这篇关于完整的Magento/Wordpress集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆