[pmwiki-users] Back Link to referring page doesn't work for all pages.

Hans design5 at softflow.co.uk
Tue Mar 10 17:47:02 CDT 2009

Tuesday, March 10, 2009, 9:40:24 PM, Sridhar A Malkaram wrote:

> Hi PmWiki users,

> In my Site.PageFootMenu, I have made Links to special pages.,  'Comments'
> and 'ToDo'  pages.

> I wanted to have a back link from Comments pages to the referring page.
> As suggested in the PmWiki site, I used the following line in config.php
> to get a backlink for referring page.

> $FmtPV['$BaseName'] = 'str_replace("-", ".", $name)';

>>From the Comments page itself I used the following  to get back to the 
> referring page.

> * %item class=discuss%[[{*$BaseName}?action=view | $[Back to Article] ]]

> However, this back link is not working for ToDo pages and rather points to
> current page itself!
> Anything I am missing in the link?

what is the syntax for the ToDo page names? In what way is it
different from the Comments page names?

i.e for $BaseName to work as defined above:
a page: SomeGroup.Name
its comments page: CommentsGroup.SomeGroup-Name
its ToDo page: ToDoGroup.SomeGroup-Name


More information about the pmwiki-users mailing list