Re: [pmwiki-users] extract basename

2008-04-13 Thread noskule
Patrick R. Michaud schrieb: > On Sat, Apr 12, 2008 at 04:18:41PM +0200, noskule wrote: > >> hi list >> >> I try to build a pagevariable that get's me the basename of a related page: >> >> related page: Group.Name-Issue-# >> base page: Group.Name >> > > PmWiki has this built-in. Simply add

Re: [pmwiki-users] extract basename

2008-04-12 Thread Patrick R. Michaud
On Sat, Apr 12, 2008 at 04:18:41PM +0200, noskule wrote: > hi list > > I try to build a pagevariable that get's me the basename of a related page: > > related page: Group.Name-Issue-# > base page: Group.Name PmWiki has this built-in. Simply add $BaseNamePatterns['/-Issue-\d+$/'] = ''; and

Re: [pmwiki-users] extract basename

2008-04-12 Thread Petko Yotov
noskule wrote: > I try to build a pagevariable that get's me the basename of a related page: > > related page: Group.Name-Issue-# > base page: Group.Name > > this code works if I put it in the related page but NOT if i put it in a > pagelisttemplate. If I put it in a pagelist template You can j

Re: [pmwiki-users] extract basename

2008-04-12 Thread Dominique Faure
On Sat, Apr 12, 2008 at 4:18 PM, noskule <[EMAIL PROTECTED]> wrote: > hi list > > I try to build a pagevariable that get's me the basename of a related page: > > related page: Group.Name-Issue-# > base page: Group.Name > > > this code works if I put it in the related page but NOT if i put it in

[pmwiki-users] extract basename

2008-04-12 Thread noskule
hi list I try to build a pagevariable that get's me the basename of a related page: related page: Group.Name-Issue-# base page: Group.Name this code works if I put it in the related page but NOT if i put it in a pagelisttemplate. If I put it in a pagelist template "$IssueBaseName" shows the n