Spree 和 Rails 3 - 如何添加博客?
我有一个简单的 Rails 3 网站,由博客、静态页面和画廊组成。我想添加一个商店来使用 spree 出售照片。我已经阅读了指南并查看了源代码,但我仍然不确定 spree 如何与现有网站集成。
我是否必须生成博客模型作为扩展? (所以我使用狂欢的管理功能)并为我的其他两个模型做同样的事情?
有没有涵盖此类内容的教程?
I have a simple rails 3 site consisting of blog,static pages and a gallery. I want to add a store to sell photos using spree. I have read through the guides and had a look at the source code but I'm still unsure of how spree integrates with an existing site.
Do I have to generate my blog model as an extension? (so I use the admin functionality of spree) and do the same for my other two models?
Are there any tutorials that cover this sort of thing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
现在有一个博客扩展,也许它可以帮助您 http://www.spreecommerce.com/extensions/100-blogging-spree-spree-0-30-rails-3-compat。
不过 0.40 有一些问题......
Right now there's a blog extension, maybe it helps you http://www.spreecommerce.com/extensions/100-blogging-spree-spree-0-30-rails-3-compat.
There are some problems with 0.40, though...
上面的链接已损坏。这是两个疯狂的商务扩展。
The above link is broken. Here are two spree commerce extensions.