spree_essential_blog icon indicating copy to clipboard operation
spree_essential_blog copied to clipboard

List of blog posts not showing up on home page

Open stevensouthard opened this issue 12 years ago • 1 comments

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 %>
<% end %>

stevensouthard avatar Aug 10 '12 18:08 stevensouthard

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.

stevensouthard avatar Aug 13 '12 16:08 stevensouthard