spree_blue_theme icon indicating copy to clipboard operation
spree_blue_theme copied to clipboard

Blue theme fails with spree 1.2.2

Open rubyfreak opened this issue 12 years ago • 6 comments

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:

  • "/home/tw/Ruby_Rails/Rails_3_projects/spree_store3/app/views"
  • "/home/tw/.rvm/gems/ruby-1.9.3-p327/bundler/gems/spree_auth_devise-c7e4705f0f4d/app/views"
  • "/home/tw/.rvm/gems/ruby-1.9.3-p327/gems/devise-2.0.4/app/views"
  • "/home/tw/.rvm/gems/ruby-1.9.3-p327/gems/spree_skrill-1.0.2/app/views"
  • "/home/tw/.rvm/gems/ruby-1.9.3-p327/gems/spree_promo-1.2.2/app/views"
  • "/home/tw/.rvm/gems/ruby-1.9.3-p327/gems/spree_dash-1.2.2/app/views"
  • "/home/tw/.rvm/gems/ruby-1.9.3-p327/gems/spree_api-1.2.2/app/views"
  • "/home/tw/.rvm/gems/ruby-1.9.3-p327/gems/spree_core-1.2.2/app/views"
  • "/home/tw/.rvm/gems/ruby-1.9.3-p327/gems/kaminari-0.13.0/app/views" Extracted source (around line #3):

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

rubyfreak avatar Dec 03 '12 18:12 rubyfreak

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?

Showtimes avatar Jan 04 '13 16:01 Showtimes

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.

rubyfreak avatar Jan 04 '13 20:01 rubyfreak

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 <[email protected]>
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 avatar Jan 30 '13 23:01 TylerRick

Duplicate of #7

TylerRick avatar Jan 31 '13 00:01 TylerRick

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

silversurfer888 avatar Mar 02 '14 06:03 silversurfer888

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

JDutil avatar Mar 02 '14 11:03 JDutil