Re: [Radiant] [ANN] Updated fork of radiant-mail-to-extension
On Oct 18, 2008, at 3:33 PM, Sean Cribbs wrote: Manuel Meurer wrote: That block won't be called until it hits in the snippet. Right, but I think what Casper is looking for is a way to define a snippet parameter in the inner template of with ... in the page and then access it via in the snippet, not using . Yes, but assuming those tags are implemented, the context of the rendering will still be inside the snippet. Semantics. I have a need for something like this in a current project, and it just seems to make sense for the Radiant core. I'll contribute my time to the effort, but are there any currently pending specs for this (in a fork or extension)? -Jim ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] [ANN] Updated fork of radiant-mail-to-extension
Manuel Meurer wrote: That block won't be called until it hits in the snippet. Right, but I think what Casper is looking for is a way to define a snippet parameter in the inner template of with ... in the page and then access it via in the snippet, not using . Yes, but assuming those tags are implemented, the context of the rendering will still be inside the snippet. Semantics. Sean ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] [ANN] Updated fork of radiant-mail-to-extension
> That block won't be called until it hits in the snippet. Right, but I think what Casper is looking for is a way to define a snippet parameter in the inner template of with ... in the page and then access it via in the snippet, not using . On Sat, Oct 18, 2008 at 4:16 PM, Sean Cribbs <[EMAIL PROTECTED]> wrote: > Actually, you wouldn't. That block won't be called until it hits /> in the snippet. I think adding arbitrary attributes on the snippet tag > seems reasonable. Well-designed and -specced patches will be accepted! > > Sean > > Manuel Meurer wrote: >> >> Jepp, I found that out a minute ago as well. >> Never used that feature, though. >> >> It would still be possible to do something like Casper suggested, but >> to do it cleanly you would have to filter out the > name="...">... part when calling in the snippet... >> not so nice. >> >> I just included another feature in the parameterized snippets extension, >> though. >> You can now do > matches=".le(?:ph|f)ant">... to check if a parameter >> matches a certain regex. >> >> Manuel >> >> On Sat, Oct 18, 2008 at 3:46 PM, Sean Cribbs <[EMAIL PROTECTED]> wrote: >> >>> >>> Snippets already support "inner-templates" via . >>> >>> Sean >>> >>> Casper Fabricius wrote: >>> Great - thanks! What would it take to also make it possible to provide "inner templates" as parameters for snippets? For example: Lions are great cats Read more Med venlig hilsen / Best regards, Casper Fabricius http://casperfabricius.com On 18/10/2008, at 13.23, Manuel Meurer wrote: > > Done. > > Manuel > > On Sat, Oct 18, 2008 at 12:49 PM, Manuel Meurer > <[EMAIL PROTECTED]> > wrote: > >> >> Will do. >> >> Manuel >> >> On Sat, Oct 18, 2008 at 12:00 PM, Casper Fabricius >> <[EMAIL PROTECTED]> wrote: >> >>> >>> Looks like something I could use. How does it work? Could add some >>> examples >>> and explain about any limitations in the readme-file? >>> >>> Med venlig hilsen / Best regards, >>> Casper Fabricius >>> http://casperfabricius.com >>> >>> On 18/10/2008, at 00.55, Manuel Meurer wrote: >>> >>> Yep, I use in my parameterized snippets extension: http://github.com/manuelmeurer/radiant-parameterized-snippets-extension/ The idea originates from here, though: http://www.nabble.com/Snippets-with-Parameter(s)-td19772449.html > > BTW, anyone heard anything about a Radius tag? Or > anything > about > setting arbitrary page variables? > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>> >>> ___ >>> Radiant mailing list >>> Post: Radiant@radiantcms.org >>> Search: http://radiantcms.org/mailing-list/search/ >>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>> >>> > > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>> >>> ___ >>> Radiant mailing list >>> Post: Radiant@radiantcms.org >>> Search: http://radiantcms.org/mailing-list/search/ >>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>> >>> >> >> ___ >> Radiant mailing list >> Post: Radiant@radiantcms.org >> Search: http://radiantcms.org/mailing-list/search/ >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> >> > > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] [ANN] Updated fork of radiant-mail-to-extension
Actually, you wouldn't. That block won't be called until it hits in the snippet. I think adding arbitrary attributes on the snippet tag seems reasonable. Well-designed and -specced patches will be accepted! Sean Manuel Meurer wrote: Jepp, I found that out a minute ago as well. Never used that feature, though. It would still be possible to do something like Casper suggested, but to do it cleanly you would have to filter out the ... part when calling in the snippet... not so nice. I just included another feature in the parameterized snippets extension, though. You can now do ... to check if a parameter matches a certain regex. Manuel On Sat, Oct 18, 2008 at 3:46 PM, Sean Cribbs <[EMAIL PROTECTED]> wrote: Snippets already support "inner-templates" via . Sean Casper Fabricius wrote: Great - thanks! What would it take to also make it possible to provide "inner templates" as parameters for snippets? For example: Lions are great cats Read more Med venlig hilsen / Best regards, Casper Fabricius http://casperfabricius.com On 18/10/2008, at 13.23, Manuel Meurer wrote: Done. Manuel On Sat, Oct 18, 2008 at 12:49 PM, Manuel Meurer <[EMAIL PROTECTED]> wrote: Will do. Manuel On Sat, Oct 18, 2008 at 12:00 PM, Casper Fabricius <[EMAIL PROTECTED]> wrote: Looks like something I could use. How does it work? Could add some examples and explain about any limitations in the readme-file? Med venlig hilsen / Best regards, Casper Fabricius http://casperfabricius.com On 18/10/2008, at 00.55, Manuel Meurer wrote: Yep, I use in my parameterized snippets extension: http://github.com/manuelmeurer/radiant-parameterized-snippets-extension/ The idea originates from here, though: http://www.nabble.com/Snippets-with-Parameter(s)-td19772449.html BTW, anyone heard anything about a Radius tag? Or anything about setting arbitrary page variables? ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] [ANN] Updated fork of radiant-mail-to-extension
Jepp, I found that out a minute ago as well. Never used that feature, though. It would still be possible to do something like Casper suggested, but to do it cleanly you would have to filter out the ... part when calling in the snippet... not so nice. I just included another feature in the parameterized snippets extension, though. You can now do ... to check if a parameter matches a certain regex. Manuel On Sat, Oct 18, 2008 at 3:46 PM, Sean Cribbs <[EMAIL PROTECTED]> wrote: > Snippets already support "inner-templates" via . > > Sean > > Casper Fabricius wrote: >> >> Great - thanks! >> >> What would it take to also make it possible to provide "inner templates" >> as parameters for snippets? >> >> For example: >> >> >> >>Lions are great cats >>Read more >> >> >> >> Med venlig hilsen / Best regards, >> Casper Fabricius >> http://casperfabricius.com >> >> On 18/10/2008, at 13.23, Manuel Meurer wrote: >> >>> Done. >>> >>> Manuel >>> >>> On Sat, Oct 18, 2008 at 12:49 PM, Manuel Meurer <[EMAIL PROTECTED]> >>> wrote: Will do. Manuel On Sat, Oct 18, 2008 at 12:00 PM, Casper Fabricius <[EMAIL PROTECTED]> wrote: > > Looks like something I could use. How does it work? Could add some > examples > and explain about any limitations in the readme-file? > > Med venlig hilsen / Best regards, > Casper Fabricius > http://casperfabricius.com > > On 18/10/2008, at 00.55, Manuel Meurer wrote: > >> Yep, I use in my parameterized snippets extension: >> >> http://github.com/manuelmeurer/radiant-parameterized-snippets-extension/ >> The idea originates from here, though: >> http://www.nabble.com/Snippets-with-Parameter(s)-td19772449.html >> >>> BTW, anyone heard anything about a Radius tag? Or anything >>> about >>> setting arbitrary page variables? >> >> ___ >> Radiant mailing list >> Post: Radiant@radiantcms.org >> Search: http://radiantcms.org/mailing-list/search/ >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant > > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > >>> ___ >>> Radiant mailing list >>> Post: Radiant@radiantcms.org >>> Search: http://radiantcms.org/mailing-list/search/ >>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> >> ___ >> Radiant mailing list >> Post: Radiant@radiantcms.org >> Search: http://radiantcms.org/mailing-list/search/ >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> > > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] [ANN] Updated fork of radiant-mail-to-extension
Snippets already support "inner-templates" via . Sean Casper Fabricius wrote: Great - thanks! What would it take to also make it possible to provide "inner templates" as parameters for snippets? For example: Lions are great cats Read more Med venlig hilsen / Best regards, Casper Fabricius http://casperfabricius.com On 18/10/2008, at 13.23, Manuel Meurer wrote: Done. Manuel On Sat, Oct 18, 2008 at 12:49 PM, Manuel Meurer <[EMAIL PROTECTED]> wrote: Will do. Manuel On Sat, Oct 18, 2008 at 12:00 PM, Casper Fabricius <[EMAIL PROTECTED]> wrote: Looks like something I could use. How does it work? Could add some examples and explain about any limitations in the readme-file? Med venlig hilsen / Best regards, Casper Fabricius http://casperfabricius.com On 18/10/2008, at 00.55, Manuel Meurer wrote: Yep, I use in my parameterized snippets extension: http://github.com/manuelmeurer/radiant-parameterized-snippets-extension/ The idea originates from here, though: http://www.nabble.com/Snippets-with-Parameter(s)-td19772449.html BTW, anyone heard anything about a Radius tag? Or anything about setting arbitrary page variables? ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] [ANN] Updated fork of radiant-mail-to-extension
Good idea. I'm gonna look into that. Manuel On Sat, Oct 18, 2008 at 1:53 PM, Casper Fabricius <[EMAIL PROTECTED]> wrote: > Great - thanks! > > What would it take to also make it possible to provide "inner templates" as > parameters for snippets? > > For example: > > > >Lions are great cats >Read more > > > > Med venlig hilsen / Best regards, > Casper Fabricius > http://casperfabricius.com > > On 18/10/2008, at 13.23, Manuel Meurer wrote: > >> Done. >> >> Manuel >> >> On Sat, Oct 18, 2008 at 12:49 PM, Manuel Meurer <[EMAIL PROTECTED]> >> wrote: >>> >>> Will do. >>> >>> Manuel >>> >>> On Sat, Oct 18, 2008 at 12:00 PM, Casper Fabricius >>> <[EMAIL PROTECTED]> wrote: Looks like something I could use. How does it work? Could add some examples and explain about any limitations in the readme-file? Med venlig hilsen / Best regards, Casper Fabricius http://casperfabricius.com On 18/10/2008, at 00.55, Manuel Meurer wrote: > Yep, I use in my parameterized snippets extension: > > http://github.com/manuelmeurer/radiant-parameterized-snippets-extension/ > The idea originates from here, though: > http://www.nabble.com/Snippets-with-Parameter(s)-td19772449.html > >> BTW, anyone heard anything about a Radius tag? Or anything >> about >> setting arbitrary page variables? > > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant >>> >> ___ >> Radiant mailing list >> Post: Radiant@radiantcms.org >> Search: http://radiantcms.org/mailing-list/search/ >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant > > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] [ANN] Updated fork of radiant-mail-to-extension
Great - thanks! What would it take to also make it possible to provide "inner templates" as parameters for snippets? For example: Lions are great cats Read more Med venlig hilsen / Best regards, Casper Fabricius http://casperfabricius.com On 18/10/2008, at 13.23, Manuel Meurer wrote: Done. Manuel On Sat, Oct 18, 2008 at 12:49 PM, Manuel Meurer <[EMAIL PROTECTED] > wrote: Will do. Manuel On Sat, Oct 18, 2008 at 12:00 PM, Casper Fabricius <[EMAIL PROTECTED]> wrote: Looks like something I could use. How does it work? Could add some examples and explain about any limitations in the readme-file? Med venlig hilsen / Best regards, Casper Fabricius http://casperfabricius.com On 18/10/2008, at 00.55, Manuel Meurer wrote: Yep, I use in my parameterized snippets extension: http://github.com/manuelmeurer/radiant-parameterized-snippets-extension/ The idea originates from here, though: http://www.nabble.com/Snippets-with-Parameter(s)-td19772449.html BTW, anyone heard anything about a Radius tag? Or anything about setting arbitrary page variables? ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] [ANN] Updated fork of radiant-mail-to-extension
Done. Manuel On Sat, Oct 18, 2008 at 12:49 PM, Manuel Meurer <[EMAIL PROTECTED]> wrote: > Will do. > > Manuel > > On Sat, Oct 18, 2008 at 12:00 PM, Casper Fabricius > <[EMAIL PROTECTED]> wrote: >> Looks like something I could use. How does it work? Could add some examples >> and explain about any limitations in the readme-file? >> >> Med venlig hilsen / Best regards, >> Casper Fabricius >> http://casperfabricius.com >> >> On 18/10/2008, at 00.55, Manuel Meurer wrote: >> >>> Yep, I use in my parameterized snippets extension: >>> http://github.com/manuelmeurer/radiant-parameterized-snippets-extension/ >>> The idea originates from here, though: >>> http://www.nabble.com/Snippets-with-Parameter(s)-td19772449.html >>> BTW, anyone heard anything about a Radius tag? Or anything about setting arbitrary page variables? >>> >>> ___ >>> Radiant mailing list >>> Post: Radiant@radiantcms.org >>> Search: http://radiantcms.org/mailing-list/search/ >>> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> >> ___ >> Radiant mailing list >> Post: Radiant@radiantcms.org >> Search: http://radiantcms.org/mailing-list/search/ >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant >> > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] [ANN] Updated fork of radiant-mail-to-extension
Will do. Manuel On Sat, Oct 18, 2008 at 12:00 PM, Casper Fabricius <[EMAIL PROTECTED]> wrote: > Looks like something I could use. How does it work? Could add some examples > and explain about any limitations in the readme-file? > > Med venlig hilsen / Best regards, > Casper Fabricius > http://casperfabricius.com > > On 18/10/2008, at 00.55, Manuel Meurer wrote: > >> Yep, I use in my parameterized snippets extension: >> http://github.com/manuelmeurer/radiant-parameterized-snippets-extension/ >> The idea originates from here, though: >> http://www.nabble.com/Snippets-with-Parameter(s)-td19772449.html >> >>> BTW, anyone heard anything about a Radius tag? Or anything >>> about >>> setting arbitrary page variables? >> >> ___ >> Radiant mailing list >> Post: Radiant@radiantcms.org >> Search: http://radiantcms.org/mailing-list/search/ >> Site: http://lists.radiantcms.org/mailman/listinfo/radiant > > ___ > Radiant mailing list > Post: Radiant@radiantcms.org > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant > ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] [ANN] Updated fork of radiant-mail-to-extension
Looks like something I could use. How does it work? Could add some examples and explain about any limitations in the readme-file? Med venlig hilsen / Best regards, Casper Fabricius http://casperfabricius.com On 18/10/2008, at 00.55, Manuel Meurer wrote: Yep, I use in my parameterized snippets extension: http://github.com/manuelmeurer/radiant-parameterized-snippets-extension/ The idea originates from here, though: http://www.nabble.com/Snippets-with-Parameter(s)-td19772449.html BTW, anyone heard anything about a Radius tag? Or anything about setting arbitrary page variables? ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] [ANN] Updated fork of radiant-mail-to-extension
Yep, I use in my parameterized snippets extension: http://github.com/manuelmeurer/radiant-parameterized-snippets-extension/ The idea originates from here, though: http://www.nabble.com/Snippets-with-Parameter(s)-td19772449.html > BTW, anyone heard anything about a Radius tag? Or anything about > setting arbitrary page variables? ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant