You may have found a bug that happened to me too! I used <r:parent> tags (from somebody's plugin) on some of my pages (that had the Commentable behavior), and now they are broken, but somehow the code_behavior plugin isn't. Maybe there's a subtle difference in the code that I'm missing?
Sean Cribbs
seancribbs.com
On 9/6/06, Sean Santry <[EMAIL PROTECTED]
> wrote:
I'm seeing some interesting behavior (so to speak) with global tags
(please correct me if that's the wrong term). If I have the following
in app/behaviors/hello_behavior.rb:
class Behavior::Base
define_tags do
tag "hello" do |tag|
"Hello World!"
end
end
end
I would expect to be able to write <r:hello/> in any page to render
the text "Hello World!".
This seems to work fine on pages that do not have a behavior
specified ( i.e., the "Behavior" drop down is left at "<none>").
However, if I select the Archive behavior, instead of "Hello World!"
I get:
<div><strong>undefined tag `hello'</strong></div>
Any thoughts? If it's a bug I'm happy to look into the cause. I just
thought I'd ask on the list before I started spelunking.
- Sean
PS I'm running on trunk revision 114
_______________________________________________
Radiant mailing list
Post: Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant