Re: [Radiant] extension progress - solved

2007-01-11 Thread Todd McGrath
Got it nad it makes sense. Thank you! Quoting Sean Cribbs <[EMAIL PROTECTED]>: > Todd: I'd make a few tweaks so you don't have problems: > > (Answerbookpage.content_columns.dup).each do |column| > tag "faq:#{column.name}" do |tag| > tag.locals.answer.send(column.name).to_s if tag.lo

Re: [Radiant] extension progress - solved

2007-01-10 Thread Sean Cribbs
Todd: I'd make a few tweaks so you don't have problems: (Answerbookpage.content_columns.dup).each do |column| tag "faq:#{column.name}" do |tag| tag.locals.answer.send(column.name).to_s if tag.locals.answer end end [snip] tag "faq:each" do |tag| result = "" Answerbookpag

Re: [Radiant] extension progress - solved

2007-01-10 Thread Todd McGrath
Well, that is exactly what I needed. Thanks again, Jamie! I can't say if the following code is the best, most efficient way, but here it is for posterity sake- module FaqTag include Radiant::Taggable class TagError < StandardError; end # # # etc... # (Answerbookpage.column_na