[pmwiki-users] translations in skin.tmpl

noskule noskule at gmx.net
Mon Jul 17 03:56:47 CDT 2006


Am Donnerstag, 13. Juli 2006 19:32 schrieb H. Fox:
> On 7/13/06, noskule <noskule at gmx.net> wrote:
> > hi list hi pm
> > I try to do a translation of templatepages in skin.tmpl:
> >
> > this works:
> > <!--wiki:$[{$Group}.SubjectDirectory] {$Group}.SubjectDirectory-->
> >
> >
> > this not:
> > <!--wiki: $[{$Group}.SubjectDirectory] {$Group}.SubjectDirectory
> > $[{$SiteGroup}.SubjectDirectory] {$SiteGroup}.SubjectDirectory-->
> >
> > It seams that pmwiki only processes 2 items, is this correct or do I
> > somthing wrong. Could this be changed somehow?
> > thanks for any hints
>
> Your second example is similar to
>
> <!--wiki:{$Group}.SideBar {$SiteGroup}.SideBar-->
>
> which means if there's a group sidebar page display it, otherwise
> display the site-wide sidebar page.
>
> Try
>
> <!--wiki:$[{$Group}.SubjectDirectory] {$Group}.SubjectDirectory-->
> <!--wiki:$[{$SiteGroup}.SubjectDirectory] {$SiteGroup}.SubjectDirectory-->
>
yep, this works, thanks

> Hagan




More information about the pmwiki-users mailing list