spree-contrib / spree_blue_theme

Original Spree Blue theme (0.60.x)
BSD 3-Clause "New" or "Revised" License
64 stars 65 forks source link

Blue theme fails with spree 1.2.2 #10

Open rubyfreak opened 11 years ago

rubyfreak commented 11 years ago

Ubuntu 12.04 ruby 1.9.3. 327 rails 3.2.9

Steps to reproduce add to gem file (at bottom) gem 'spree_blue_theme', :git => 'git://github.com/spree/spree_blue_theme.git' run bundle rails s go to localhost:3000 F5

get this (I have done this about 5 times, same result):

ActionView::MissingTemplate in Spree/home#index

Showing /home/tw/.rvm/gems/ruby-1.9.3-p327/gems/spree_core-1.2.2/app/views/spree/shared/_header.html.erb where line #3 raised:

Missing partial spree/shared/store_menu with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :coffee, :rabl]}. Searched in:

1:

Trace of template inclusion: /home/tw/.rvm/gems/ruby-1.9.3-p327/gems/spree_core-1.2.2/app/views/spree/layouts/spree_application.html.erb

Rails.root: /home/tw/Ruby_Rails/Rails_3_projects/spree_store3

Application Trace | Framework Trace | Full Trace

Showtimes commented 11 years ago

Yea I got a similar issue. I tried putting: *= require store/screen in the store/all.css manifest and that didnt work. I tried to precompile the assets and that didnt work. Any ideas?

rubyfreak commented 11 years ago

Yeah, Spend about a week rewriting all the CSS for Spree. Spree is beautiful out of the box, but ANY customization is really difficult. I would think there would be an admin area that has some editable properties like: Background color, background image, theme, etc.

TylerRick commented 11 years ago

I ran into this problem as well when I upgraded to Spree 1.x.

It looks like this override in spree_blue_theme:

app/overrides/add_store_menu_to_top_header.rb
Deface::Override.new(:virtual_path => 'spree/shared/_nav_bar',
                     :name => 'add_store_menu_to_top_header',
                     :insert_after => 'li#search-bar',
                     :partial => 'spree/shared/store_menu')

Is breaking due to that partial being removed from core in this commit:

Author: Kurtis Rainbolt-Greene <kurtis.rainboltgreene@susco.net>
Date:   Fri Apr 6 11:22:23 2012 -0500

    Refactor layout templates

    Merges #1361
---
 core/app/views/spree/shared/_store_menu.html.erb |    2 --
 1 file changed, 2 deletions(-)

diff --git core/app/views/spree/shared/_store_menu.html.erb core/app/views/spree/shared/_store_menu.html.erb
deleted file mode 100644
index 2150de7..0000000
--- core/app/views/spree/shared/_store_menu.html.erb
+++ /dev/null
@@ -1,2 +0,0 @@
-<li id="home-link" data-hook><%= link_to t(:home), root_path %></li>
-<li id="link-to-cart" data-hook><%= link_to_cart %></li>

I wish the people who maintained core would also maintain spree_blue_theme/spree_blue_sass_theme to keep them working together...

TylerRick commented 11 years ago

Duplicate of #7

silversurfer888 commented 10 years ago

So now that Spree is at 2.1.5 -- how do I get this blue theme working? I just can't it seems

JDutil commented 10 years ago

This theme is no longer maintained I would not recommend using it.