You may try this: # use {$FullTitle} in page;list templates
etc$FmtPV['$FullTitle'] = $FmtPV['$Title']; # {$Title} is now for exclusive
use in pagelist, leading A & The stripped$FmtPV['$Title'] =
"preg_replace('^(A|The) ','',".$FmtPV['$Title'].")";What it does is substitute
{$Title} with a version that strips leading A & The. Pagelists will use this
value and therefore sort correctly. The original {$Title} is still available as
{$FullTitle}. Use this in pagelist templates and page text. Hope this
helps,/jmOn 4/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:I'm putting
together a couple of sites. One involves titles of books andthey both involve
peoples names. For the titles I need to ignore a leading'A' or 'The' when
sorting and for the names I'd like to sort on surname(last 'word' in title).Are
these possible?
_________________________________________________________________
Take a break and play crossword puzzles - FREE!
http://games.msn.com/en/flexicon/default.htm?icid=flexicon_
wlmemailtaglinemarch07_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users