Wolfgang Wopperer wrote:
> If I understand you correctly, I have to override the initialize method 
> and call define_tags from there?

Something like this would probably work:

   require 'page_context'

   class PageContext < Radius::Context
     def initialize(page)
       super

       define_tag "hello" do
         "hello world!"
       end

       . . .

     end
   end

--
John Long
http://wiseheartdesign.com
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to