[pmwiki-users] Modifying Recent Changes pages
Roman
romat2 at gmail.com
Tue Apr 18 08:36:51 CDT 2006
Does anyone know how to set AllRecentChanges pagelink with title in
order to contain also group name? Original link is
[[{$Group}.{$Name}]] - it does not show title but shows group name.
Link suggested by Hans [[{$Group}.{$Name}|+]] uses "|+" syntax to
display page title but it surpressess group name. I have not found a
way how to define link that would show group name and title. I tried
this:
1. [[$Group.$Title->$Group.$Name]] - it works but this brings another
unwanted behaviour - every change of page title creates new entry in
AllRecentChanges. I want to update page "record" regardless of its
title, so title has to be "dynamic" as with "|+" syntax.
2. page variable syntax [[{{$Group}.{$Name}$Title}]] does not work at all.
Thanks
Roman
On 4/3/06, Hans <design at softflow.co.uk> wrote:
> Monday, April 3, 2006, 8:44:57 AM, Anke wrote:
> > Is there a way to display the title that's specified on the wiki page
> > in the list on the RecentChanges pages, instead of its name?
>
> add to config.php:
>
> $RecentChangesFmt = array(
> '$SiteGroup.AllRecentChanges' =>
> '* [[{$Group}.{$Name}|+]] . . . $CurrentTime $[by] $AuthorLink: [=$ChangeSummary=]',
> '$Group.RecentChanges' =>
> '* [[{$Group}/{$Name}|+]] . . . $CurrentTime $[by] $AuthorLink: [=$ChangeSummary=]');
More information about the pmwiki-users
mailing list