[pmwiki-users] Truncate PageTitle
Hans Bracker
design at softflow.co.uk
Mon Aug 20 08:47:42 CDT 2012
Hi Brian,
Monday, August 20, 2012, 12:30:23 PM, you wrote:
> I need to truncate a page title for side bar presentation
> (:title Language - Full Page Title:)
> I need the text after " - ".
How is your title constructed (what kind of variables)?
How is it represented in the SideBar, as link, in a pagelist, or
other?
you could use two PTVs perhaps, like this in your page (example):
(:ta: language-part:)
(:tb: full title text part:)
(:title {$:ta} - {$:tb} :)
and in the SideBar as a link with text:
* [[Group/Pagename| {*$:tb} ]]
Best regards,
Hans
www.softflow.co.uk
More information about the pmwiki-users
mailing list