If your theme contains views/article/_article.rhtml you will want to make the change there.  Should be a simple <%=h article.permalink -%> and <%=h article.title -%> to get the data you need then.  I am not sure if your theme will have the _article partial or not, if not you can add one in and try it out (model it after app/views/articles/_article.rhtml).

Typically it is called from the theme/views/article/index.rhtml as <%= render_partial "article", article %>.

-Steve


On 3/13/06, arvind s grover <[EMAIL PROTECTED]> wrote:
I found this helpful page that tells you how to add little links at
the bottom of your posts for readers to bookmark in del.icio.us,
digg.com and other bookmarking sites: http://www.exploding-boy.com/
2006/01/09/add-links-for-delicious-digg-and-more-to-blog-posts/

i am trying to figure out where to put these so they show up at the
end of my posts on: http://www.21apples.org

I am using the Good as Gold theme, not sure if that matters. Should I
be looking in /app/models or in the themes folder or somewhere else?
Any help would be appreciated. Obviously I need to change the
Wordpress specific parts of the code to Ruby specific, and could use
help on that too. If people reply, I will write it up for the Typo wiki.

here is an example of the del.icio.us and digg codes:
del.icio.us: Typo-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/typo-list

_______________________________________________
Typo-list mailing list
Typo-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/typo-list

Reply via email to