[pmwiki-users] Issues with (:include:)
adam overton
a at plus1plus1plus.org
Sat Mar 22 17:00:16 CDT 2008
hi Benoit
i think this might work:
in Lokhim.GroupHeader put
(:include Blog-{*$Group}.{*$Name}:)
i believe that in this case:
{$Group} -> group name of Lokhim.GroupHeader
{$Name} -> gives the page name of Lokhim.GroupHeader
whereas:
{*$Group} -> gives the group name of current group (same as
before - this is more important if you're including onto different
groups, like from Site.SiteHeader)
{*$Name} -> gives the page name of current page, not GroupHeader
hope this works,
adam
> ------------------------------
>
> Message: 2
> Date: Fri, 21 Mar 2008 19:41:25 +0100
> From: "Benoit Dutilleul" <benoit.dutilleul at googlemail.com>
> Subject: [pmwiki-users] Issues with (:include:)
> To: pmwiki-users <pmwiki-users at pmichaud.com>
> Message-ID:
> <a05691ec0803211141v1bb52d98wd4d88644d4c592bc at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello!
>
> I am trying to include the page [a] in [b]:
> [a]
> http://wico.web-farm.org/index.php/Blog-Lokhim/Blog-20080321T134544?
> action=browse
> [b]
> http://wico.web-farm.org/index.php/Lokhim/Blog-20080321T134544?
> action=browse
> To do that, I have the command: (:include Blog-{$Group}.{$Name}:) in
> Lokhim.GroupHeader
>
> I have the following issue: there is a (:title:) entry in [a] that
> has no
> effect in [b]. It may be important to note that Lokhim/
> Blog-20080321T134544
> is a "non-existent" page (hence, the ?action=browse).
>
> Thank you in advance for your help!
>
> Benoit
>
> --
> Wanderer, your footsteps are the road, and nothing more; wanderer,
> there is
> no road, the road is made by walking. By walking one makes the
> road, and
> upon glancing behind one sees the path that never will be trod again.
> Wanderer, there is no road-- Only wakes upon the sea. -- Antonio
> Machado
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/
> 20080321/a4652ccc/attachment-0001.html
>
> ------------------------------
>
>
More information about the pmwiki-users
mailing list