Displaying 20 results from an estimated 700 matches similar to: "render :partial => :url - is it possible?"
2009 Jan 03
2
Some questions from a new webgen user
Hi everyone. Sorry if it is not the place to post questions about
webgen. I use webgen5, i know it is not the stable version but i
couldn''t understand how webgen4 worked, it''s easier with webgen5, and
i won''t have to change my pages when it becomes mainstream ;)
I try to build my homepage using webgen, and there are some things i
don''t know how to do (i am sure
2006 Mar 28
1
Simple Sidebar Solutions: How does yours work?
I''m working on a simple photo gallery app for personal use and I want to
generalize the sidebar such that in any page (controller or view, I''m
not sure which) I can dynamically add either
1. links to a given sidebar
2. or an entire sidebar.
I know that typo does this, and I''ve looked the code. I think it''s too
complex a solution for my simple site.
2006 Feb 19
2
instance variables in components not read by component view?
Hi,
I''m trying to write a sidebar menu with dynamic menus, and to do so I
would like to define a list of menus to display within my sidebar
component controller code and pass that list to the component display
view, like so:
# menu_controller.rb
class Sidebar::MenuController < ActionController::Base
uses_component_template_root
@menus = %w{admin user help}
def display
2007 May 23
4
content_for
Any ideas how I would go about writing specs for views which make use
of content_for?
I''d like, for example, to be able to specify that ABC view places XYZ
in the sidebar, which I do using content_for(:sidebar).
Am I missing something obvious?
Kyle
2013 Jul 24
2
[OT] Tidy of Wiki Sidebar
I have been tidying up bits of the Wiki. This
one is not clear cut, so I decided to seek
advice. Also, I wasn't sure where to post this
question, so defaulted to ogg-dev.
Should Speex and CMML be removed from
the Wiki Sidebar at:
https://wiki.xiph.org/MediaWiki:Sidebar ?
Many thanks,
Martin
--
Martin J Leese
E-mail: martin.leese stanfordalumni.org
Web:
2006 Mar 08
1
Components calling components...
Hi,
I''m relatively new to ruby and rails. I would like to have a sidebar
component call one of several other constituent components.
I''ve run into some problems, and so I''ve pruned things back to a
relatively simple case.
I have a sidebar component. Renders great. In it''s layout, I call
render_component for another component I would like in the sidebar.
2006 Feb 27
1
@content_for_sidebar?
Okay, I see this instance variable places, but I can not determine if it is real
or where the content comes from. I''ve tried views/<controller>/sidebar.rhtml,
_sidebar.rhtml, views/layouts/sidebar.rhtml and views/layouts/_sidebar.rhtml.
Does this actually exist? What''s the Rails Way to make a good sidebar?
http://www.google.com/search?q=content_for_sidebar
Thanks,
2010 Aug 18
2
RSpec 2/Rails 3 - content_for in view specs
My main layout includes separate content_for/yield sections for my header,
sidebar, footer, and content. However, when running a view spec, the
`rendered` variable seems to only contain a string of just the primary
content and ignores the header/footer/sidebar as well as the rest of my
layout file (the "render" call just returns my primary content wrapped in
generic <html> and
2006 Mar 24
3
Changing sidebar in layout per controller
I am currently using 2 layouts in my site. One is for the admin area. I
am trying to get content in my sidebar to change depending upon the
current controller.
Example:
Within admin I have a users controller and a articles controller. When
in the users view I want the sidebar to display options (like add user
delete user etc).
What is the best actionview way to do this. I don''t
2005 Dec 12
7
Calling absolute links
I have a primary layout that I''m using in several controllers. On my
sidebar I have a link that I set up as follows:
<div id="sidebar">
<%= link_to("Items", :action => "list") %>
</div>
Everything is ok when I call it from my primary controller, but since I
am also calling the layout from a second controller that does
2013 Apr 30
3
[LLVMdev] Improving the usability of LNT
Hi Daniel,
I made some changes to the LNT perf reporting tool to make it more user friendly by adding some features:
1. Make the sidebar and the navigation bar stationary, so that it is easy to navigate the site
2. Have the pop-down menu for the items in the navigation bar, activate upon hovering the mouse, rather than clicking the item
3. Add a nav-link in the sidebar for the
2012 Aug 30
2
The FLAC website
Sorry, for the late repsonse Martijn. I've been crazy busy.
Martijn van Beurden wrote:
> On 28-08-12 10:46, Erik de Castro Lopo wrote:
> > I think thats a great idea. WOuld be happy to have someone pick
> > this up and run with it.
>
> So I got busy but stumbled upon several things. I'm not sure why there
> are two boxes displaying the same news on the homepage
2013 Aug 09
1
[OT] Tidy of Wiki Sidebar
On August 9, 2013, Silvia Pfeiffer wrote:
> On Thu, Jul 25, 2013 at 6:36 AM, Martin Leese wrote:
...
>> Should Speex and CMML be removed from
>> the Wiki Sidebar
> Don't remove Speex - it's still very much in use.
>
> We probably want to add Daala to the list of video codecs:
> https://wiki.xiph.org/Daala
>
> We probably want to remove CCML from the
2006 Jun 29
2
? concerning ActiveRecord, Action and template
Much appreciate any help here. I''m just getting started learning RoR and
setting up my first form is throwing me - I''m not getting the concepts
formalized in my mind.
Situation:
- Controller is: Donation
- Action is: donation_entry
- Template is: donation_entry.rhtml
This form will be displayed when selected from sidebar menu (which will
always be present for all
2013 May 02
0
[LLVMdev] Improving the usability of LNT
Wow, that sounds great! Thanks for working on this, and yes, please, send
the patches!
--renato
On 30 April 2013 16:23, Murali, Sriram <sriram.murali at intel.com> wrote:
> Hi Daniel,****
>
> I made some changes to the LNT perf reporting tool to make it more user
> friendly by adding some features:****
>
> **1. **Make the sidebar and the navigation bar stationary,
2007 Dec 07
4
TextMate Sidebar
Hey David,
I just watched the RubyConf recording of your RSpec session and noticed that
you''re using a modified version of TextMate that uses a sidebar instead of a
project drawer. Where did you find that mod?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20071207/c900e1bc/attachment.html
2011 Sep 01
2
Partial Page update and related combobox
hello,
I am doing a rails project and i am new to rails, am stuck
with some problems.
1) I have a div container at the left side of the page just like
a sidebar which contains different links. And the right side of the page
is meant to display the content, which is also a div container . When i
click any of the links in the sidebar respective pages must be displayed
in the right
2009 Dec 05
2
Announcing a new R news site: R-bloggers.com
Hello everyone.
After some good time of work, I am proud to present: www.r-bloggers.com
What is R-Bloggers.com?
R-Bloggers.com hopes to serve the R community by presenting (in one place)
all the new articles (posts) written (in English) about R in the "R
blogosphere".
How does R-Bloggers operate?
This site aggregates feeds (only with permission!) from participating R
blogs. The
2019 Oct 15
3
Google Season of Docs: Requesting feedback on LLVM docs site updates
Hey everyone,
I've made several updates to the LLVM docs site over the last few weeks.
I'd like to get some feedback before I make any additional changes. As of
right now, here are the updates I've made:
a.) Added a static sidebar with links to the docs, community pages, etc.
b.) Moved the Community/Getting Involved info to a separate page.
c.) Consolidate the docs into three
2007 May 30
2
Depot - empty_cart with ajax
First of all id like to say hi to everyone from Argentina, im yet
another Depot first-timer.
Going through the example, i got to the point where my cart finally
runs Ajax-based. And there is a line where Dave says, after all the
job is done "You should see the cart in the sidebar update. And you
shouldn''t see your browser show any indication of reloading the page.
You''ve