Peter Stibrany
2008-Sep-03 18:55 UTC
[webgen-users] conditional inclusion of block in FAQ broken
Hello, I''d like to include block into resulting page only if it exists. There is example in FAQ for this [1], but it is missing code which should go to template. Would it be possible to fix that? Thank you, -Peter Stibrany [1] http://webgen.rubyforge.org/documentation/0.5.x/faq.html#_add_page_specific_sidebar_content
Thomas Leitner
2008-Sep-04 05:38 UTC
[webgen-users] conditional inclusion of block in FAQ broken
Am Wed, 3 Sep 2008 20:55:01 +0200 schrieb "Peter Stibrany" <pstibrany at gmail.com>:> Hello, > > I''d like to include block into resulting page only if it exists. There > is example in FAQ for this [1], but it is missing code which should go > to template. Would it be possible to fix that?Sorry, this is my mistake. I have fixed that in the devel docs. Have a look at http://webgen.rubyforge.org/documentation/faq.html#_add_page_specific_sidebar_content -- Thomas