[Radiant] Behavior vs. Context
Sean Cribbs
seancribbs at gmail.com
Fri Jul 28 08:48:04 CDT 2006
>
> I've been doing this via a plugin, as follows:
>
> class Behavior::Base
> define_tags do
> tag "slicktabs" do |tag|
> slicktab = SlickTabs.new(tag)
> slicktab.output
> end
> ...other tags...
> end
> end
>
> class SlickTabs
> ...
> end
>
>
So essentially, Behavior::Base is available whether there's a behavior
assigned or not? Or am I misunderstanding?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20060728/9969fcfc/attachment.html
More information about the Radiant
mailing list