Nate,
Glad you like it.
You are my frickin' hero!
:-)
Andrea is the hero. I just took a hatchet to his code!
can I add additional columns in extension migrations or will it
somehow break the extension?
Give it a go. I don't think it should break anything. If you want the
extra fields to be added to the CSV export, then you should modify the
export action in the SubscribersController as follows:
def export
@list = Page.find(params[:id])
subscribers =
Subscriber.find_active_subscribers_by_subscriber_list(@list)
stream_csv do |csv|
csv << ["email","name","your additional column name]
subscribers.each do |subscriber|
csv <<
[subscriber.email,subscriber.name,subscriber.additional_column]
end
end
end
Cheers,
Drew
_______________________________________________
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant