I see the problem.
It would be nice to allow parametrization of snippets, but right
now that it's not possible. This behavior can be implemented with a
custom extension though.
/AITOR
On 9/18/07, Andrea Otto <[EMAIL PROTECTED]> wrote:
> Hi,
> I'd like to know how can I use radiant at the best...
>
> For example: I have a Homepage with a lot of boxes with same graphic.
> How can I deploy this?
>
> My first thought was creating something like this in the body:
>
> <r:snippet name="box">text to fill</r:snippet>
> <r:snippet name="box">second text to fill</r:snippet>
>
> and create a snippet like this:
> <div class="foo">....
> <r:content>
> </div>
>
> I know that it can't be done... but it is my first use logic...
>
> So... How can I do it?
>
> My only working solution is to create a lot of childs page, all with a
> "mytext" part, put <r:snippet name="box"> in each body, create a snippet
> like this:
> <div class="foo">....
> <r:content part="mytext">
> </div>
>
> and include all of my childs_box in the homepage with <r:child:each>
>
> Is it the right solution? Or there's a more pratic and fast modus
> operandi, like the first I exposed?
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> 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