similar to: Layouts

Displaying 20 results from an estimated 6000 matches similar to: "Layouts"

2006 Jun 06
2
Toggle css for display on page load?
In my layout I have a navigation bar with a few elements in it. The elements can be toggled on or off and thereby reveal or conceal some subtopics. I store the state of the toggle for the navigation elements in the session. When the page is reloaded, the navigation items are collapsed because the css for display: none is set by default in the html for the navigation elements. Is there a
2006 Mar 31
5
Titles in URL ?
Hi! I have an article website and would like to have the title of the article in the URL. and not domain.com/show/id ie: http://domain.ck/articles/how-to-become-a-ror-master/ How to change a title with special caracters like: '', :, ?, !. to something that works in the URL. Thank you! -- Posted via http://www.ruby-forum.com/.
2006 Jun 06
15
error working through Agile !!!
Hi everyone, I''m working my way thru the ''Depot'' project from Agile Web Development with Rails. I got to the bit where I type: ruby script/generate scaffold Product admin And I get the following error: error Before updating scaffolding from new DB schema, try creating a table for your model (Product) ( on the last line ! ) Now I have followed everything as
2006 Aug 17
11
Can I get RubyOnRails to read and parse an html file off harddrive?
I do this in ASP to read a special html template that I use, then modify in code before spitting out the resulting webpage. Any ideas on how to script this in RUBY? Do I need a special GEM package? D. Bruce Moore -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060817/95cf5da6/attachment.html
2004 Sep 10
2
FLAC support hacked into rip
I hope I am not too far of topic. I have hacked FLAC support into rip, a command line (perl based) CD ripper/encoder/tagger. http://sourceforge.net/projects/rip/ The maintainer is checking over the patch and should get back to me next week. Shall I: 1. Go away and leave this list alone 2. Come back and tell you if/when the patch is approved 3. Explain what I am on about 4. Send the patch
2001 Jul 02
5
Nullsoft Vorbis Decoder v.1.11a Bug Report
Hi, there. While waiting for the encoder RC1, I will report some minor problems I experienced with Peter's Winamp decoder. First, I am using Nullsoft Vorbis Decoder v.1.11a with Winamp v.2.76 on Windows 98 SE. 1. When the buttons of Playlist Editor are extended, the part extended in playlist screen seems to be flickering when an Ogg file is being played. 2. I check the option of
2006 May 15
1
1 controller, 2 layouts
I am having an issue with a controller that needs to utilize two different layouts, depending on the action. The entire app makes use of the application layout, so I added this to my controller to use for all of our reports: class ReportsController < ApplicationController layout "reporter", :except => :index I was hoping that the layout would only be applied to all the
2006 Aug 12
2
Layouts: application.rhtml v. mycontroller.rhtml
I was trying to be all DRY and standardize my layouts to one file and made an application.rhtml. There was no application.rhtml at all before. So I renamed all my controller layouts to .txt and then tested. I got empty pages. I found some issues with Login/UserEngine and application.rhtml, but nothing that looked like this behavior. Is routing messing me up? It''s as if
2001 Jun 26
3
Wow...Wondered when this was going to happen.
Have a look: http://www.theregister.co.uk/content/4/19982.html Any predictions? Matt --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list
2006 Jan 04
7
variables in layouts
I have a layout that provides the basic outline of each page in my app. It has a title, footer and a navigation bar. In the title I want to put the name of the current user that is logged in. I could do something like @session[:username] but I would rather encapsulate that into a single variable so that I can change the key in the session map if I want without having to goto each page that
2006 Aug 09
2
layouts, stupid problem :P
hi! how can i put different layouts for the actions in the same controller? i was putting the layout always at the beginning of the controller, and i tought, if i put a layout in an action, it would be work, but nop. i mean: UserAdminController < ApplicationController layout ''admin'' ... def edit layout ''edit_2'' ... end end how can i resolve my
2011 Aug 28
3
rspec-rails render_views doesn't render layouts? / how to check flash isn't rendered
I''m trying to test that "static" pages (they''re ERB, but get cached), generated through rails, don''t render any stray flash notices left over by the authentication system (Devise) or wherever else. I''ve tried writing this controller spec, but it appears that response.body only renders the template, not its layouts? describe "so that static
2006 Feb 05
4
Another layout question - Layouts on a per method basis - Layouts with AJAX
I feel I am very close to understanding how layouts are used in Rails: Q1. I know one can specify a "default" layout for all methods in a controller by specifying layout ''my-default-layout'' How can this be overridden for individual methods so when those methods are called/executed, the overridden layout will be used. Is this possible? Q2. With no
2006 Feb 21
4
customizing layouts for functions
I want to be able to have different layouts in my rails program for different functions. For example, when a person first comes to the site the layout will have a link that says ''home'', ''login'', or register on the menu bar. Once the user logs in however, the layout will change. I want it to show the links ''account manager'',
2007 May 09
5
layouts + routes = confused
I''m new to RoR and the tutorials I''ve found on the web, while helpful, aren''t as "complete" as I''d like them. I understand the basics when it comes to layouts and routes, but I''m trying to get them to work together. MY first task was to implement a user authentication system (registration/login/logout/change_password). This works fine with
2006 Apr 20
8
2 layouts per .rb page
Hi, Is this possible ive got layout "loggedout_layout", :only => [:login, :logout] but I also want to do somthing like layout "loggedin_layout", :except => [:login, :logout] When the second one is introduced it seems to cancel out the first request, any suggestions how to get around this? Scott -- Posted via http://www.ruby-forum.com/.
2006 May 23
11
adding layouts within layouts
Hi, I want to be able to have several layouts within each other so that I don''t have to keep repeating the layout code for one, in another. An example would be having a layout for the title of your web page and then having an embedded layout for the body portion in which the HTML for whatever view gets displayed. Is this possible? Thanks. -------------- next part -------------- An
2001 Aug 15
3
RC2 artifacts
Hello -- I desperately want to start using Ogg compression on music I release on the internet, but I am encountering a fair amount of artifacts. I noticed some in beta4 and was hoping they would disappear with RC1. However, I've been playing with RC2 and I've still been banging my head into a number of problems. A majority of the music I make has long drones with a fair amount of spectral
2018 Oct 25
2
Proposal - Extended Channel Layouts in Opus
Rodger Combs wrote: > I've run into some issues using Opus with source files in channel layouts > other than the default 8. For instance, 2.1 isn't supported, so I have to > either downconvert to 2.0 or upconvert to 5.1 (which usually involves adding > empty channels, which prevents the playback device from upconverting to the > native layout). > To address this,
2018 Oct 26
1
Proposal - Extended Channel Layouts in Opus
On 10/25/18, Rodger Combs wrote: > >> On Oct 25, 2018, at 12:47, Martin Leese <martin.leese at stanfordalumni.org> >> wrote: ... >> An alternative approach is to only define >> popular layouts. For more obscure layouts, >> such as 2.1 and Mid/Side, assume that the >> person doing the encoding knew what they >> put in, and so knows what will come