Re: [pmwiki-users] 2 fox questions

2007-09-21 Thread Hans
Thursday, September 20, 2007, 10:12:44 PM, Jon Haupt wrote: So, what I'd like to know is if there's a way to do this: # add filter function $FoxFilterFunctions['FoxVerifyEmail'] = 'FoxVerifyEmailFilter'; function FoxVerifyEmailFilter($pagename, $fields) { if($fields['email']==) {

Re: [pmwiki-users] customizing attachlist

2007-09-21 Thread Hans
Thursday, September 20, 2007, 9:20:11 PM, noskule wrote: I'm looking for a way to customize the attachlist. I need a simple list without size and date. Is there a way similar to pagelist templates, or via config file? There seams not to be a Fmt variable where I could simple change the

Re: [pmwiki-users] Bulk import and categories

2007-09-21 Thread Michel
Le Fri, 21 Sep 2007 00:06:25 +0200, Knut Alboldt a écrit : Michel schrieb: I have inserted the 'target=' field in the files, without result. Perhaps because the wiki in which I imported pages was not empty ? Oh, I've to check this Deleting .pageindex solved my problem. But this sound

Re: [pmwiki-users] Bulk import and categories

2007-09-21 Thread Kathryn Andersen
On Fri, Sep 21, 2007 at 09:54:07AM +0200, Michel wrote: Le Fri, 21 Sep 2007 00:06:25 +0200, Knut Alboldt a ?crit?: Michel schrieb: I have inserted the 'target=' field in the files, without result. Perhaps because the wiki in which I imported pages was not empty ? Oh, I've to check this

Re: [pmwiki-users] Search

2007-09-21 Thread Kathryn Andersen
On Thu, Sep 20, 2007 at 06:38:48PM -0400, Sameer Kumar wrote: What I've done is to set up an external search engine (I'm using swish-e(1)) which indexes the whole server, and then alter the $SearchBoxFmt so that it creates a form which points to the external search rather than the PmWiki

Re: [pmwiki-users] Bulk import and categories

2007-09-21 Thread Patrick R. Michaud
On Thu, Sep 20, 2007 at 07:16:52PM +0200, Michel wrote: Hello, I wish to import in PmWiki over than 3,500 text files created by another tool. Then you probably want to use the ImportText recipe: http://www.pmwiki.org/wiki/Cookbook/ImportText This recipe makes it easy to import files,

Re: [pmwiki-users] Search

2007-09-21 Thread Patrick R. Michaud
On Fri, Sep 21, 2007 at 06:28:49PM +1000, Kathryn Andersen wrote: On Thu, Sep 20, 2007 at 06:38:48PM -0400, Sameer Kumar wrote: What I've done is to set up an external search engine (I'm using swish-e(1)) which indexes the whole server, and then alter the $SearchBoxFmt so that it creates a

Re: [pmwiki-users] Data section edits (page headers/footers)

2007-09-21 Thread Mike Shanley
Pico Ben-Amotz wrote: It would be nice to be able to place data -- such as hidden directive page text variables -- in a section or chunk of a page that would not appear when viewed using a (modified) editing template My EditMore recipe provides a 'Notes' box on edit pages that does just

[pmwiki-users] $AutoCreate q.

2007-09-21 Thread noskule
hi list Is $AutoCreate supost to work also in groupheader or only in the page itself? I try to autocreate Categories. As long as the category link is in the page it works, but it don't work if I put it in the groupheader as shown below. Anyone an idea what to do? example (simplyfied):

Re: [pmwiki-users] Bulk import and categories

2007-09-21 Thread Michel
Le Fri, 21 Sep 2007 18:08:14 +1000, Kathryn Andersen a écrit : You need both. The target= indicates which pages are linked to by the current page, and the way Categories are normally set up, they list pages that link to that Category page. The .pageindex needs to be removed because, since

[pmwiki-users] using PHP in TMPL

2007-09-21 Thread Mike Shanley
Hi all, The standard ?php ? doesn't work in the .tmpl file, I assume because of how it's processed. I was wondering if there was any way to break into PHP in the file that I'm not aware of. Barring that, is there any way to use the skin.php file to pass variables to the tmpl BEFORE it gets

Re: [pmwiki-users] Bulk import and categories

2007-09-21 Thread Michel
Le Fri, 21 Sep 2007 05:34:51 -0500, Patrick R. Michaud a écrit : On Thu, Sep 20, 2007 at 07:16:52PM +0200, Michel wrote: Hello, I wish to import in PmWiki over than 3,500 text files created by another tool. Then you probably want to use the ImportText recipe:

Re: [pmwiki-users] Search Box

2007-09-21 Thread H. Fox
On 9/20/07, Mike Shanley [EMAIL PROTECTED] wrote: H. Fox wrote: The reason to hard-code is efficiency, since PmWiki will process fewer wikipages per request. Others on the list would know better than I how much of a difference it makes, but without a doubt it's more efficient to put HTML

Re: [pmwiki-users] using PHP in TMPL

2007-09-21 Thread Dominique Faure
On 9/21/07, Mike Shanley [EMAIL PROTECTED] wrote: Hi all, The standard ?php ? doesn't work in the .tmpl file, I assume because of how it's processed. I was wondering if there was any way to break into PHP in the file that I'm not aware of. Barring that, is there any way to use the skin.php

Re: [pmwiki-users] using PHP in TMPL

2007-09-21 Thread Mike Shanley
Dominique Faure wrote: Feel free to do some reverse-engineering on Monobook or Grease Skins which both embed MarkupToHTML calls. Even better than an answer: an example! Thanks! -- ~Mike Shanley~ ~you are almost there~ ___

[pmwiki-users] problems with Captcha

2007-09-21 Thread Chris Carter
Hi, I seem to have posted during a slow time with the group so I want to try again. Can anyone help with this...? Thanks. Dear PmWiki users, I'm having problems with the Captcha recipe. Below I have pasted code from conifg.php and Site.EditForm. When I try to edit, all I get is Must enter

[pmwiki-users] Bizarre permission problems.

2007-09-21 Thread Stirling Westrup
As part of an ongoing experiment, I just backed up my PmWiki installation, renamed it main directory, and recovered it to the old location. Something went wrong somewhere, and although all the files were restored correctly, some of the permissions got mangled. Now though, I find that I can't log

Re: [pmwiki-users] Bizarre permission problems.

2007-09-21 Thread H. Fox
On 9/21/07, Stirling Westrup [EMAIL PROTECTED] wrote: As part of an ongoing experiment, I just backed up my PmWiki installation, renamed it main directory, and recovered it to the old location. Something went wrong somewhere, and although all the files were restored correctly, some of the