thanks for href :) bad(good actually) of me, just learning radius tags and
lovin 'em

i took a look at sitemapper, but that is not what i want

because my design dont let me list all of subpages recursively

but instead i wished something that i would pass a param/arg to snippet just
like calling a func

but no problem, i can live w/o it :)

just though it can be a good idea...
On 5/20/08, Sean Cribbs <[EMAIL PROTECTED]> wrote:
>
> You can use snippets recursively, just be careful how you do it.  Also
> you're complicating the href on that <a> tag: use <r:url />.
>
> You can find info about the "sitemapper" snippet that recursively calls
> itself on the wiki.
>
> Sean
>
> nurilized wrote:
>
>> yes, i use breadcrumbs and slugs in many snippets and that makes it
>> flexible
>> thats nice
>>
>> but in my case, i list sub pages of a subpage and need to repeat the same
>> process 8 or more times
>>
>> i just change the url thingy thats it:
>>
>> <r:find url="/subpage/subsubpage1/">
>> <r:children:each>
>> <li><a href="/<r:parent><r:parent:slug /></r:parent>/<r:parent:slug
>> />/<r:slug />"><r:title /></a></li>
>> </r:children:each>
>> </r:find>
>>
>>
>> On 5/20/08, Sean Cribbs <[EMAIL PROTECTED]> wrote:
>>
>>
>>> There's a patch on the dev site for "yielding" snippets.  I'm not sure
>>> how
>>> I feel about it yet.  Snippets are already sensitive to local context in
>>> the
>>> sense that they inherit it from the spot where they are rendered.  It
>>> could
>>> be powerful, but it could also be a can of worms.  Do you have a
>>> compelling
>>> use case?
>>>
>>> Sean
>>>
>>> nurilized wrote:
>>>
>>>
>>>
>>>> hey, do you think it is a bad idea?
>>>>
>>>> creating a snippets that could take params could be good and will help
>>>> dry,
>>>> imho
>>>>
>>>> (actually thats what i need atm :D)
>>>>
>>>> what do you think?
>>>> _______________________________________________
>>>> 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

Reply via email to