[Radiant] Snippet hierarchy
Kyle Heon
kyleheon at gmail.com
Sat Jul 8 11:29:12 CDT 2006
And reference them in a way similar to this:
<r:snippet path="en" name="header" />
On 7/8/06, Nathan Wright <nathan.e.wright at gmail.com> wrote:
>
> I agree, I've got a site with about 30 snippets (on an English only
> site) and some way to organize them would be greatly appreciated.
>
> On 7/8/06, Maurizio Balestrieri <maurizio at gmail.com> wrote:
> > Working on mostly multi-lingual web sites, I'm finding it would be
> > very useful to be able to organize snippets in a hierarchical way as
> > we do for pages. For example every time I need a navigation menu
> > snippet, I need to have it separated for the English language and the
> > Italian one. The same goes for footers, headers, etc. At the time
> > being I'm simply naming them like: "header_it", "header_en", etc. But
> > when you have more languages, and/or several design layouts for the
> > same site (which therefore requires to maintain multiple headers,
> > footers, etc.: e.g. "header_reboot_it", "header_reboot_en", where
> > "reboot" is a different layout which requires a different snippet
> > content) it could quickly become difficult to deal with a fairly long
> > sequential list of snippets. --M
> > _______________________________________________
> > Radiant mailing list
> > Radiant at lists.radiantcms.org
> > http://lists.radiantcms.org/mailman/listinfo/radiant
> >
>
>
> --
> Nathan
> _______________________________________________
> Radiant mailing list
> Radiant at lists.radiantcms.org
> http://lists.radiantcms.org/mailman/listinfo/radiant
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20060708/2eec291d/attachment.html
More information about the Radiant
mailing list