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 r:var / in my
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
Great - thanks!
What would it take to also make it possible to provide inner
templates as parameters for snippets?
For example:
r:snippet name=animal_info animal=lion
r:var: name=description
pLions are great cats/p
r:find url=/lionsr:linkRead more/r:link/r:find
/r:var
/r:snippet
Actually, you wouldn't. That block won't be called until it hits
r:yield / 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.
That block won't be called until it hits r:yield / 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 r:snippet with r:var
name=foo.../r:var in the page and then access it via r:var
name=foo / in the snippet, not using
Yep, I use r:var / 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 r:var / Radius tag? Or