[pmwiki-users] Problem with SearchPatterns
Firefly
stealth at fireflyuk.net
Thu Mar 30 04:11:24 CST 2006
If its what I think when you order up the pagelist.. to ignore pages do like
so (:PageList -pageyoudontwanttoshow:) that stops the various pages from
being listed.
-----Original Message-----
From: pmwiki-users-bounces at pmichaud.com
[mailto:pmwiki-users-bounces at pmichaud.com] On Behalf Of Ian Barton
Sent: 30 March 2006 10:40
To: PmWiki-Users
Subject: [pmwiki-users] Problem with SearchPatterns
I am doing some hacking with blogsimple.php so I can use it with my
daily journal. I have got things working OK except for excluding pages
in PageList.
My main page consists of:
(:PageList group=Journal fmt=#include list=journal order=-name count=10 :)
In blogsimple.php I have:
$SearchPatterns['journal'][] = '!\\.(All)?Recent(Changes|Uploads|Pages)$!';
$SearchPatterns['journal'][] = '!\.RecentChanges$!';
$SearchPatterns['journal'][] = '!\.GroupHeader$!';
$SearchPatterns['journal'][] = '!\.GroupFooter$!';
$SearchPatterns['journal'][] = '!\.GroupAttributes$!';
$SearchPatterns['journal'][] = '!\.SideBar$!';
$SearchPatterns['journal'][] = '!\.RightBar$!';
$SearchPatterns['journal'][] = '!\.PageTopMenu$!';
$SearchPatterns['journal'][] = '!\.PageFootMenu$!';
$SearchPatterns['journal'][] = '!\.HomePage$!';
$SearchPatterns['journal'][] = '!\.JournalPages$!';
$SearchPatterns['journal'][] = '!\.JournalArchive$!';
$SearchPatterns['journal'][] = '!\.JournalCategories$!';
$SearchPatterns['journal'][] = '!\.JournalComments$!';
$SearchPatterns['journal'][] = '!\.JournalArchiveTemplate$!';
$SearchPatterns['journal'][] = '!\.JournalCategoriesTemplate$!';
$SearchPatterns['journal'][] = '!\.JournalListTemplate$!';
The problem is that all the items that should be excluded in
SearchPatterns are appearing in my PageList.
I am sure that I am missing something obvious, but I can't see what!
Ian.
_______________________________________________
pmwiki-users mailing list
pmwiki-users at pmichaud.com
http://host.pmichaud.com/mailman/listinfo/pmwiki-users
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/296 - Release Date: 29/03/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/296 - Release Date: 29/03/2006
More information about the pmwiki-users
mailing list