search for: _footer

Displaying 10 results from an estimated 10 matches for "_footer".

Did you mean: footer
2009 Aug 13
5
First hit on app takes a long time
...lication Rendering wiki_pages/show User Columns (1.3ms) SHOW FIELDS FROM `users` User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 4) LIMIT 1 Repopulating the stop words Rendered common/_header (16.7ms) Rendered common/_nav (4.4ms) Rendered common/_search (2.4ms) Rendered common/_footer (0.6ms) Completed in 2422ms (View: 134, DB: 2) | 200 OK [http://myserver.com/ wiki_pages/MainPage] Processing WikiPagesController#show (for 98.218.223.189 at 2009-08-12 20:17:04) [GET] Parameters: {"id"=>"MainPage"} Rendering template within layouts/application Rendering...
2007 Nov 23
4
How to pin down location of views/shared directory ?
My app has a header & footer I want common to each section. They live in app/views/shared/_header.rhtml & _footer.rhtml. They are referenced by app/views/layouts/application.rhtml as one would expect: <div id="header"> <%= render :partial => ''shared/header'' %> </div> They contain many lines like this: <a href="/classifies/categories/vehicles&qu...
2006 Nov 04
1
Partials shared between multiple controllers
...But this leaves a bunch of files at the root of /views/. It''s early in the project, and looking forward to more like this, I''d like to clean up, by putting them in /views/common/. Doesn''t seem to work. Nothing is rendered, and the last log line says: Rendered ./common/_footer Is it true that you can relative-path partials, but only up the directory tree, not back down? Is there some other approach that''s more natural to rails? Thanks much, Dave Merrill
2006 May 21
2
Nooby partials / component problems
...little more "foolproof", and somewhat based on the mention in AWDR v2 that components are not as favored. So I added: <% render :partial => ''shared/footer'' %> to my application level template and just added some plain ole hard- coded HTML in views/shared/_footer.rhtml Weirdly, nothing comes out in my template. It seems that the file _footer.rhtml is being referenced, because I get the dreaded white screen if the file isn''t there, and if I put a Ruby error into the partial, I get that error when I reference the page. However, just like the...
2008 Sep 17
2
Layouts and content_for
when i studied the tutorial about layouts & content_for from railscast.I need a clarification as per their tutorial. url:http://railscasts.com/episodes/8-layouts-and-content-for <!- projects/index.rhtml -> <% content_for :head do %> <= stylesheet_link_tag ‘projects’ %> < end %> <!- layouts/application.rhtml -> <head> <title>Todo List</title>
2006 Apr 15
0
respond_to issue
...iews.. the rjs template (login.rjs) and login.rhtml It seem''s as if login.rhtml is rendering on all requests: Rendering within layouts/application Rendering account/login Rendered account/_login (0.00124) Rendered account/_login (0.00089) Rendered shared/_header (0.00070) Rendered shared/_footer (0.00070) Completed in 0.01152 (86 reqs/sec) Any ideas? Thanks, Raja
2011 Sep 14
0
Overload assets/views of a mountable engine?
...o overload some the files. Example: Let''s consider a mountable blogging engine, which would be mounted in whatever application to get a blog but the engine should look exactly like the website so I would like to overload some asset files as well as some of the views (like the _header and _footer partials rendered in the layout) Is that possible with mountable engines ? Regards, Wael Nasreddine -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Waêl Nasreddine TechnoGate <http://www.technogate.fr/>www.technogate.fr mobile : 06.41.68.38.35 agence : 09.70.444.236 ~~~~~~~~~~~~~~~~~~~~~~~~~...
2012 Jul 19
6
Rendering Partial
I am a bit confused when coming from layout and partials. To start of I have a file called application.html.erb which has my layout such has follow <html> <head> <body> <%= render ''layouts/footer'' %> </body </html> This call a new file _footer.html.erb This file his has follow <footer class="footer"> <nav> <%= render "pages/link" %> <ol class="footer_pages"> </ol> </nav> </footer> Which calls a partial in the folder Pages which his a resources and ha...
2012 Jul 17
24
Static Pages from Railcast
Hi everyone, I need several pages to be static but also modify when requested. I try following the railcast from Ryan at http://railscasts.com/episodes/117-semi-static-pages?view=comments Here what I have done!! rails g scaffold Pages name:string permanentlink:string title:string author:string access_level:string is_published:boolean meta_description:string meta_keyword:string
2006 Jan 31
11
ez_where plugin updated features.
Friends- I wanted to let people know that there is a new experimental release of this plugin. I would love feedback on syntax and features. There is now a full test suite with fixtures that covers all the available syntax. Look at the test suite for more syntax possibilities. There have been many additions since my last release. Fabien Atelier has been working on this with me and has