[pmwiki-users] discussion backlink

Hans design at softflow.co.uk
Fri Mar 24 18:44:39 CST 2006

Friday, March 24, 2006, 11:50:55 AM, noskule wrote:
> but how it works if I want to replace

> Group.Name-Discussion -> Group.Name

link to discussion page:
    [[Discussion -> {$Group}.{$Name}-Discussion]]

link back from discussion page:
    [[back to page -> {$Group}.{$BaseName}]]

add in config.php:
    $name = PageVar($pagename, '$Name');
    $FmtPV['$BaseName'] = 'substr($name,0,-11)';

(name less 11 characters from the end)


More information about the pmwiki-users mailing list