Sean,
I meant the "if_ancestor_or_self" tag.
tag "if_ancestor_or_self" do |tag|
tag.expand if (tag.globals.actual_page.ancestors +
[tag.globals.actual_page]).include?(tag.locals.page)
saji
* Sean Cribbs <[EMAIL PROTECTED]> [2007-05-21 08:11:04 -0700]:
> You mean the sitemapper? Either way, you're welcome; pay it forward.
>
> Sean
>
> On 5/21/07, Saji Hameed <[EMAIL PROTECTED]> wrote:
> > Keith, David:
> >
> > Thank you very much. I am happily able to extend the tags now.
> > Thanks to Sean Cribbs for the dynamic navigation tags (dug up from
> > the mailing list archive) which was the one I wanted to implement.
> >
> > saji
> > On May 20, 2007, at 6:54 PM, Keith Bingman wrote:
> >
> > > This is an old tutorial. The use of plugins for global tags has been
> > > deprecated and replaced with extensions. You will want to run "ruby
> > > scipt/generate extension my_extension_name" instead. Essentially, you
> > > will need to put the new tags in the lib folder (or model folder) of
> > > the extension, which is essentially a mini rails app.
> > >
> > > Take a look at the example extensions in the repository for hints on
> > > how to make global tags. John is working on a tutorial and posted a
> > > draft of it a few days back. It isn't done yet, but has lots of great
> > > information. Dig through the archives, it wasn't more than a week ago.
> > >
> > > Keith Bingman
> > > [EMAIL PROTECTED]
> > > Tel: +49-7731-7983830
> > >
> > >
> > >
> > > On May 20, 2007, at 9:02 AM, Saji Hameed wrote:
> > >
> > >> Hello,
> > >>
> > >> I am trying out the "How To" by Sean Cribbs on how to create global
> > >> tags in a plugin.
> > >> When I try to run the command:
> > >>
> > >> ruby script/generate plugin 00_mytags
> > >>
> > >> I get the message :
> > >>
> > >> Couldn't find 'plugin' generator
> > >>
> > >> What could be wrong?
> > >>
> > >> Thanks,
> > >> saji
> > >>
> > >>
> > >> _______________________________________________
> > >> Radiant mailing list
> > >> Post: [email protected]
> > >> Search: http://radiantcms.org/mailing-list/search/
> > >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
> > >
> > > _______________________________________________
> > > Radiant mailing list
> > > Post: [email protected]
> > > Search: http://radiantcms.org/mailing-list/search/
> > > Site: http://lists.radiantcms.org/mailman/listinfo/radiant
> >
> > _______________________________________________
> > Radiant mailing list
> > Post: [email protected]
> > Search: http://radiantcms.org/mailing-list/search/
> > Site: http://lists.radiantcms.org/mailman/listinfo/radiant
> >
> _______________________________________________
> Radiant mailing list
> Post: [email protected]
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
--
Saji N. Hameed
APEC Climate Center +82 51 668 7470
National Pension Corporation Busan Building 12F
Yeonsan 2-dong, Yeonje-gu, BUSAN 611705 [EMAIL PROTECTED]
KOREA
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant