Le 8 mars 09 à 09:52, Darius a écrit :

Hi,

I try load related_posts plugin from http://github.com/fdv/typo_related_posts/trunk , install successful. But get error:

|undefined local variable or method `render_related_posts' for #<ActionView::Base:0xb63fa104>

it seems like plugin aren't load, but how load it ?
|



Hello,

This plugin was coded very quickly, without a real release purpose (for my own use)...

The readme is wrong, to install it you need to

./script/plugin install git://github.com/fdv/typo_related_posts.git

or

git clone git://github.com/fdv/typo_related_posts.git
and move the typo_related_posts directory into you Typo vendor/plugins

Then, you need to call it in the read.html.erb of your theme:

<%= render_related_posts %>

Oh, and I fear you'll have to translate it because it has 99.9% of chances to be in french.

Regards,
Frédéric
--
Frédéric de Villamil
"What's mine is mine. What's yours is still unsetteled" – Go player proverb
frede...@de-villamil.com                        tel: +33 (0)6 62 19 1337
http://t37.net                                          Typo : 
http://typosphere.org



--
Frédéric de Villamil
"What's mine is mine. What's yours is still unsetteled" – Go player proverb
frede...@de-villamil.com                        tel: +33 (0)6 62 19 1337
http://t37.net                                          Typo : 
http://typosphere.org

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

Reply via email to