[Radiant] Just a small question about behaviors

John W. Long ng at johnwlong.com
Mon Sep 4 12:14:30 CDT 2006


Raine Virta wrote:
> http://radiantcms.org/blog/2006/05/02/behaviors/
> 
> Is it necessary to register the behavior? I mean, it makes no sense if 
> you have add that behavior and select it in the drop down box if you 
> want to use one tag you just created.
> What is the whole point?

Behaviors aren't just for adding tags to a page. If you only want to add 
one tag, you might consider making it global:

   Behavior::Base.define_tags do
     # tag definitions here
   end

--
John Long
http://wiseheartdesign.com



More information about the Radiant mailing list