similar to: Add partial view to Spree

Displaying 20 results from an estimated 30000 matches similar to: "Add partial view to Spree"

2009 May 04
2
Spree 0.8.0 Released (Rails eCommerce Project)
Spree is an open source ecommerce solution for Ruby on Rails. http://spreecommerce.com/articles/2009/05/04/spree-0-8-0-released/ I''ll also be leading a BOF at RailsConf where we will be chatting about Rails commerce so hopefully I''ll see you there! Sean Schofield Twitter: @railsdog
2012 Nov 11
0
Spree commerce and styling menu CSS
Hi. I making a shop on spree e-commerce, and I have problem with style menu CSS. http://ns383595.ovh.net/test/menu.png . How can I edit CSS file on spree to have manu like in My template like this http://rafal-serwer.gogler.eu/intimiti/index.html -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2012 Mar 07
0
Making API call for users(SPREE)
Hi All, Spree supports 7 API Calls: => Orders => LineItems => Shipments => InventoryUnits => Products => Countries => States I want to make an API which can create users in Get Method and Respond me back when the user is signed in. & The same when I post the user name and password it should signup and give me the API key through which I can access the
2008 Apr 03
0
Spree - Full commerce solution for Ruby on Rails
Just wanted to quickly plug our Spree project (http://spreehq.org) Sorry no porn or get rich schemes on this site. Just a comprehensive commerce platform built with Ruby on Rails. ;-) We''re also looking for volunteers if you''re interested in helping out on the project. FYI - the project was formerly named RailsCart but it has since changed names in order to avoid a possible
2002 Apr 05
0
[Fwd: [Netjuke-users] getid3 dev on a coding spree...]
Just in case any enterprising souls out there feel up to the challenge of determining play time and bitrate average for Ogg Vorbis files via PHP, I send along this message from the programmer of the NetJuke project. (http://netjuke.sourceforge.net) -- Karel P Kerezman, IS Admin Entercom Portland http://greyduck.net [ A diplomat thinks twice before saying nothing. ] <strong>attached
2009 Nov 14
4
how to login in spree
any one cn tell me how i cn login in spree when i click on login button it redirects t0 https://localhost/login -- Posted via http://www.ruby-forum.com/.
2012 Jan 24
4
:locals does not pass var in rails 3.1.0 partial view
Here is code in form.html.erb for partial view. Local var :sid was defined as the id of the record and it should be passed into the partial view standards.html.erb as a local var. <% @rfq.standards.each do |r| %> <p><%= render :partial => ''standards'', :locals => { :f => f, :sid => r.id } %></p> <% end %> Here is the
2012 May 21
4
Rendering partial views with ajax calls in rails 3.1
I''m starting now with rails, and i have simply question i think. I need to render two partials in one ajax call: I have the following controller: # GET /hosts/1 # GET /hosts/1.json def show @host = Host.find(params[:id]) respond_to do |format| format.html #show.html format.js format.json { render :json => @host } end
2008 Sep 06
1
Problem with UTF-8 text in the Rcmdr package
Dear list members, I've attached some email correspondence with Jaro Lajovic (with his permission), detailing a problem with the Slovenian translation file for the Rcmdr package. In brief, while certain UTF-8 characters used in Slovenian used to appear properly in older versions of R, some characters do not display properly in the Rcmdr menus and output window under R 2.7.x. I've
2007 Dec 19
2
Nested partials losing the view context ?
Hi all ! I can''t seem to make a simple thing work... The code is here: http://pastie.caboo.se/130660 Essentially, that''s a form with a couple of partials. The backtrace is included in the pastie. It looks like the context for the current view is lost when a partial is rendered. In _series.html.erb:2, I use "series" to get the name. This is the parameter I
2008 Jul 12
6
Create db row in my partial template
Hi, When I use script/generate scaffold for my db it automatically creates that page where I can select to add a new item to the database. In the controller, the create method looks like this: def create @user = User.new(params[:user]) respond_to do |format| if @user.save flash[:notice] = ''User was successfully created.'' format.html {
2010 Oct 27
0
"Missing partial layouts/application" error on render :partial => "index", :layout => "application" - Rails3
This is the second time I have seen this error, and been googling around and cant find an explanation. This error is happening with Rails 3/1.9.2 and was not with Rails 2.3.8/1.8.7: *Template is missing Missing partial layouts/application with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:html], :locale=>[:en, :en]} in view paths
2008 May 29
2
Render partial yields "dynamic constant assignment"
I''m getting a syntax error when rendering a partial. This is a simple html partial with one instance variable inside it. Rendering as a "template" instead of as a partial works just fine. The error occurs 3 lines after the last line of HTML code in the partial. There is no line 72! Here is the error: SyntaxError in Building_blocks#preview Showing
2008 Mar 21
0
Info: _flash.html.erb partial a bad idea
I guess a partial creates a variable by the same name. I wrote a simple partial called _flash.html.erb in which I display the flash errors and warnings. But, inside that partial, flash was defined but set to nil. Renaming the partial to _display_flash.html.erb resolved the issue. HTH pedz -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You
2010 May 19
0
render html partial from atom builder
So I have an action that results in atom: def index ... respond_to do |format| ... format.atom { render :layout => false} end end Then I have a builder template to render the atom, called index.atom.builder. Inside this builder template, I''d like to render one of my existing html partials, to put in the atom:content element, perfectly normal atom thing to do.
2009 Aug 25
0
Spree custom css not working
I followed "2.2 Add the stylesheet to the default layout" at http://spreecommerce.com/documentation/customization_tutorial.html#createthecustomstylesheet Doesn''t work. The file gets copied over but not the <link ... /> -- Posted via http://www.ruby-forum.com/.
2010 May 27
1
How to pass an Variable to an Partial?!?
Hello, I''m new in Rails and I''m Trying to implement a plattform were authorized people can apply Profiles to a special topic. The profil can be identified by the ID and the title in the data base. So in the view/profil/show_profil.html.erb the infomation of one Profil are perfektly shown. My problem: I have an data base table called : "comment" in which I save comments
2012 Jun 21
0
How to access an engine's method from main application?
Hi, I''m not sure if this is the right place to post this, but please redirect me if I''m posting this in the wrong place. I''m trying to use a method defined in an engine''s library, specifically it is the current_order method from the Spree::Core engine: https://github.com/spree/spree/blob/master/core/lib/spree/core/current_order.rb In my view,
2013 Mar 06
2
Refresh a partial onClick using ajax call in rails 3.x
Hi All, I want to refresh a partial onClick, onClick i am making ajax call and getting the data but i am unable to refresh the partial. here is the code IN views: home.html.erb $(document).ready(function() { var currentCellText; $(".inline").click(function() { currentCellText = $(this).text(); $.ajax({ type: ''GET'', dataType: "json",
2011 Dec 13
1
continuous jquery partial update
Rails 3.1.x - jquery drag_drop.js $(function() { $( "[id^=moveable]" ).draggable(); $( "#droppable2" ).droppable({ drop: function( event, ui ) { $( this ) .addClass( "ui-state-highlight" ) $.post( "groups/add_member/", { "add": ui.draggable.text() }, function(data) {