Displaying 2 results from an estimated 2 matches for "contentbox".
Did you mean:
contentbg
2009 Mar 04
6
render yield?!
...update_content
end
since I don''t want the page to be reloaded completely, I update each div
box that needs to be updated:
def update_content
render :update do |page|
page.replace ''loginBox'', :partial => ''shared/login''
page.replace ''contentBox'', :partial => ''shared/content''
page.replace ''navigation'', :partial => ''shared/navigation''
page.replace ''menuBox'', :partial => ''shared/menu''
end
end
My problem nos is that the parti...
2006 Apr 30
2
Rss feed items disappear using feedtools?
...and @feed.build_xml(''rss'', 2.0) in the userrss.rxml file
the generated rss can be read by any desktop rss reader correctedly
Following is the code for rss read:
controller:
@feed = FeedTools::Feed.open("http://127.0.0.1:3000/feeds/userrss/1")
view:
<div class="contentBox">
<h4><a href="<%= h @feed.link %>">
<%= @feed.title %></a></h4>
<p><%= @feed.description %></p>
<% for feed_item in @feed.items %>
<div class="feedItemBox">
<h5><a href="<%...