spree_essential_blog
spree_essential_blog copied to clipboard
List of blog posts not showing up on home page
Anyone getting this to work? I see the code for it in essential_cms but I can't get mine to show up. I noticed 'spree/blog/shared/preview' needed to be changed to 'spree/blogs/shared/preview' but that didn't really help because Spree::SpreeEssentialBlog wasn't defined. Is this something that was abandoned? Is there another way to get a list of blog posts to show up on the homepage that I haven't discovered? Please enlighten me.
<% if defined?(Spree::SpreeEssentialBlog) && [email protected]? %>
<%= t('blog.home.title') %>
<%= render :partial => 'spree/blogs/shared/preview', :collection => @posts, :as => :post %>
I'd really like to include a list of blog posts in my footer that could be accessible on all pages. Is there a way to request that with how the blog extension is written currently? It's no problem to access the list on the /blog page but all other pages I get missing method errors. Any help would be appreciated.