[pmwiki-users] translations in skin.tmpl

H. Fox haganfox at users.sourceforge.net
Thu Jul 13 12:32:41 CDT 2006


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-->

Hagan




More information about the pmwiki-users mailing list