[pmwiki-users] $pagename minus the first 9 characters. is this possible?
Jean-Fabrice [gmail]
jeanfabrice at gmail.com
Sun Mar 25 14:41:24 CDT 2007
2007/3/25, The Editor <editor at fast.st>:
> On 3/25/07, Stealth <Stealth at fireflyuk.net> wrote:
> > Hello All.
> >
> > my pages are show as Group.yyyymmdd-title is there a markup i have
> > missed that will let me display this as just Title, by using a Page list.
Maybe you could try something like this in your config.php :
$FmtPV['$ReducedTitle'] = 'substr(FmtPageName(\'$Name\',$pagename),9)'
You should then be able to use {$ReducedTitle} in a pagelist fmt
JF
More information about the pmwiki-users
mailing list