Displaying 4 results from an estimated 4 matches for "tag_cloud".
Did you mean:
3a__cloud
2006 Apr 04
5
How to implement tag clouds using plugin?
The code on
http://blog.craz8.com/articles/2005/10/28/acts_as_taggable-is-a-cool-piece-of-code
is based on the acts_as_taggable gem,anybody has done that using the
acts_as_taggable plugin?thanks!
btw:the code above uses the tag_count method,which is defined in the
gem:
def tags_count(options = {})
options = {:order => ''count DESC''}.merge(options)
2010 Nov 16
15
acts_as_taggable, undefined method 'empty?'
I''ve tried out ''acts_as_taggable'', ''acts_as_taggable_on'' and
''acts_as_taggable_on_steroids'' and all of them output "undefined
method ''empty?''" with the tag_cloud action.
I am following the guides precisely. Yet I can find no references to
this error anywhere, so I must be doing something wrong...
I am on rails 2.3.5, and my current attempt is with
acts_as_taggable_on
I''ve generated the migration and ran it, I can add tags through my
edit view,...
2008 Dec 11
1
help needed regaring Acts As Taggable On Steroids
...to(@book) }
format.xml { render :xml => @book, :status => :created,
:location => @book }
else
format.html { render :action => "new" }
format.xml { render :xml => @book.errors, :status =>
:unprocessable_entity }
end
end
end
def tag_cloud
@tags = Books.tag_counts
end
In the new.html.erb I have added these lines :
<% tag_cloud @tags, %w(css1 css2 css3 css4) do |tag, css_class| %>
<%= link_to tag.name, { :action => :tag, :id => tag.name }, :class
=> css_class %>
<% end %>
After I restarting...
2009 Jun 07
2
graphically representing frequency of words in a speech?
Dear all,
I recently saw a graph on television that displayed selected
words/phrases in a speech scaled in size according to their frequency.
So words/phrases that were often used appeared large and words that were
rarely used appeared small. The closest thing I can find on the web to
approximate what I saw can be found here:
http://stateoftheunion.onetwothree.net/ The example at that website