Re: [pmwiki-users] HTML cache

2007-06-10 Thread Christophe David
> To create a set of list items consisting solely of $:MyPageTextVariable: > > foreach($matches as $m) { > $ptv = PVSE(PageVar($m, '$:MyPageTextVariable')); > $out .= "$ptv\n"; > } This works great and much faster than templates. It is indeed the right way to produce large complex pag

[pmwiki-users] Alternate authorization levels for $EnableDiag actions

2007-06-10 Thread H. Fox
I would like to enable the diagnostic actions, but only for edit-authorized visitors to the site. I tried ## Enable remote diagnostics (?action=diag and ?action=phpinfo). $EnableDiag = 1; $HandleAuth['diag'] = 'edit'; $HandleAuth['phpinfo'] = 'edit'; in a configuration file, but the

[pmwiki-users] DataQuery & DataPlates improvements

2007-06-10 Thread Ben Stallings
Earlier this evening I posted updates to the DataQuery and DataPlates recipes, and the demo sites for the two recipes have been updated to document and demonstrate the new features. In brief: * You can now add auto-generated drop-down menus, sets of radio buttons, and sets of checkboxes to a d

Re: [pmwiki-users] pagelist problem with 2.2beta54

2007-06-10 Thread Kathryn Andersen
On Sun, Jun 10, 2007 at 05:30:01PM -0500, Patrick R. Michaud wrote: > On Mon, Jun 11, 2007 at 12:14:38AM +0200, Knut Alboldt wrote: > > I've got also problems with pagelist since beta54. I've got the > > following problem: > > > > If I use more that one format defined at the end of the same page

Re: [pmwiki-users] How to show only the first 100 words of content of a wikipage?

2007-06-10 Thread Martin Spindler
Hey Eugene, thanks a lot for your remarks. The "(:include ...:)" statement is all I needed and I didn't know about before. So thanks a lot again, Martin. Eugene Van den Bulke wrote: > Martin Spindler wrote: > >> Hi list, >> >> for the startpage of my blogsimple2 wiki I would like to show a s

[pmwiki-users] PresenceAwareness issues

2007-06-10 Thread gary garcia
I installed PresenceAwareness as per the cookbook recipe and set it up so that users can self-register with edit rights to the group "Main" no problem. But three functions are not working correctly. First I edited the sidebar with * [[Main.HomePage ?action=login | Login]] * [[Main.HomePage ?acti

Re: [pmwiki-users] pagelist problem with 2.2beta54

2007-06-10 Thread Patrick R. Michaud
On Mon, Jun 11, 2007 at 12:14:38AM +0200, Knut Alboldt wrote: > Hi ! > > I've got also problems with pagelist since beta54. I've got the > following problem: > > If I use more that one format defined at the end of the same page on > which I reference both pagelisttemplates within a pagelist-mar

Re: [pmwiki-users] pagelist problem with 2.2beta54

2007-06-10 Thread Knut Alboldt
Hi ! I've got also problems with pagelist since beta54. I've got the following problem: If I use more that one format defined at the end of the same page on which I reference both pagelisttemplates within a pagelist-markup, at least one of them don't produce any output. When I put the formats

Re: [pmwiki-users] strange site behavior

2007-06-10 Thread jdd
Patrick R. Michaud wrote: > PmWiki uses $ScriptUrl whenever it issues a HTTP redirect, and to > generate the links to individual items in RSS feeds. (...) I understand. I simply don't know what was wrong before I set back the config right now for anybody be able to test http://claire.dodin.net

Re: [pmwiki-users] Display SkyPE status on a pmwiki page

2007-06-10 Thread Patrick R. Michaud
On Sun, Jun 10, 2007 at 09:21:27PM +0200, Benoit Dutilleul wrote: >The image showing the status of a SkyPE username is at the following >address: >http://mystatus.skype.com/smallicon/skypename [1] > >[a] How can I use such a link to display a status with pmwiki? Try http://my

Re: [pmwiki-users] HTML cache

2007-06-10 Thread Patrick R. Michaud
On Sun, Jun 10, 2007 at 09:15:39PM +0200, Christophe David wrote: > >Essentially, a custom formatting function will generally look like: > >Hope this helps -- let me know if you need any further hints. > > Thanks a lot. I just copied your example and it works great. > > Could you please show me

[pmwiki-users] Display SkyPE status on a pmwiki page

2007-06-10 Thread Benoit Dutilleul
The image showing the status of a SkyPE username is at the following address: http://mystatus.skype.com/smallicon/skypename [1] [a] How can I use such a link to display a status with pmwiki? [b] How can I combine it with a "call link" such as skype:username?call Cheers, Benoit [1] http://www.s

Re: [pmwiki-users] HTML cache

2007-06-10 Thread Christophe David
> Essentially, a custom formatting function will generally look like: > Hope this helps -- let me know if you need any further hints. Thanks a lot. I just copied your example and it works great. Could you please show me how to convert the following parts of a pagelist template {{=$Group}/{=$Nam

Re: [pmwiki-users] strange site behavior

2007-06-10 Thread Patrick R. Michaud
On Sun, Jun 10, 2007 at 08:07:32PM +0200, jdd wrote: > Patrick R. Michaud wrote: > > On Sun, Jun 10, 2007 at 04:30:45PM +0200, jdd wrote: > >> jdd wrote: > >> > >>> http://claire.dodin.net/claire.dodin.net/data/index.php > >> seems like using > >> > >> $ScriptUrl = '/data/'; > >> $PubDirUrl = '/dat

Re: [pmwiki-users] conditional markup 'else' issue

2007-06-10 Thread Patrick R. Michaud
On Sun, Jun 10, 2007 at 01:01:18PM -0500, Doug Johnson wrote: >How about > > (:if !(author user1 or author user2) :) > > or just more parens > > (:if ((! author user1) && (! author user2)) :) In order for complex conditionals to work, the word "expr" or an opening square bracket must app

Re: [pmwiki-users] HTML cache

2007-06-10 Thread Patrick R. Michaud
On Sun, Jun 10, 2007 at 08:17:13AM +0200, Christophe David wrote: > >For really fast processing and output of pagelists, one should > >really create a custom formatting function for pagelist and not > >rely solely on the markup rendering engine. Prior to pagelist > >templates, this is how we did a

Re: [pmwiki-users] strange site behavior

2007-06-10 Thread jdd
Patrick R. Michaud wrote: > On Sun, Jun 10, 2007 at 04:30:45PM +0200, jdd wrote: >> jdd wrote: >> >>> http://claire.dodin.net/claire.dodin.net/data/index.php >> seems like using >> >> $ScriptUrl = '/data/'; >> $PubDirUrl = '/data/pub'; >> >> fixes the problem. hope this don't add an other > > Norm

Re: [pmwiki-users] conditional markup 'else' issue

2007-06-10 Thread Doug Johnson
How about (:if !(author user1 or author user2) :) or just more parens (:if ((! author user1) && (! author user2)) :) [EMAIL PROTECTED] wrote: Hi all I use the following markup in a page. The last :if markup does not work, I need to do someting if user is not user1 and not user2. There i

Re: [pmwiki-users] strange site behavior

2007-06-10 Thread Patrick R. Michaud
On Sun, Jun 10, 2007 at 04:30:45PM +0200, jdd wrote: > jdd wrote: > > > http://claire.dodin.net/claire.dodin.net/data/index.php > > seems like using > > $ScriptUrl = '/data/'; > $PubDirUrl = '/data/pub'; > > fixes the problem. hope this don't add an other Normally $ScriptUrl should be set to a

[pmwiki-users] Full text RSS feeds?

2007-06-10 Thread Paul Giacherio
Is there a way to include the full text of a page, with markup digested, in an RSS feed? I see the undigested excerpt example on the Web Feeds page [http://www.pmwiki.org/wiki/PmWiki/WebFeeds ], and was wondering if a "digested excerpt" were possible. Thanks, Paul Giacherio --

Re: [pmwiki-users] strange site behavior

2007-06-10 Thread jdd
jdd wrote: > http://claire.dodin.net/claire.dodin.net/data/index.php seems like using $ScriptUrl = '/data/'; $PubDirUrl = '/data/pub'; fixes the problem. hope this don't add an other thanks jdd -- http://www.dodin.net http://gourmandises.orangeblog.fr/ _

Re: [pmwiki-users] pagelist problem with 2.2beta54

2007-06-10 Thread Patrick R. Michaud
On Thu, Jun 07, 2007 at 10:44:41PM +1000, Kathryn Andersen wrote: > I'm having a problem with pagelists in 2.2beta54; I've reverted back to > beta53 in the meantime. > > The problem is this: > There are *some* pagelist formats that produce no results whatsoever, > which used to work fine in beta53

[pmwiki-users] Re; $DefaultPasswords['edit'] = crypt('user88'); and nothing happens.

2007-06-10 Thread Patrick W
Hi at pmwiki, you can scratch my earlier request, I was uploading the config.php file to the wrong folder. A "pmwiki for dummies" is what I need.:) Thanks again, Patrick Walsh Hi at PMWiki, just new to PHP. I put $DefaultPasswords['edit'] = crypt('user88'); into the config.php,

Re: [pmwiki-users] conditional markup 'else' issue

2007-06-10 Thread Petko Yotov
On Sunday 10 June 2007, [EMAIL PROTECTED] wrote: > There is no :else markup therefore I used the not operator but it does > not work in conjunction with the && operator. > > Any idea how I can achieve that? > ... > (:if !author user1 && !author user2 :) > text for all other users, but not for user1

[pmwiki-users] conditional markup 'else' issue

2007-06-10 Thread info
Hi all I use the following markup in a page. The last :if markup does not work, I need to do someting if user is not user1 and not user2. There is no :else markup therefore I used the not operator but it does not work in conjunction with the && operator. Any idea how I can achieve that? (:if

Re: [pmwiki-users] strange site behavior

2007-06-10 Thread jdd
of course, without index?php the links don't works anymore - see here http://claire.dodin.net/data/ jdd -- http://www.dodin.net http://gourmandises.orangeblog.fr/ ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman

[pmwiki-users] strange site behavior

2007-06-10 Thread jdd
Hello, I try to setup a new PmWiki on the web site of one of my daugthers. I'm not admin of this server (professional hosting), so i works through ftp -in fact sitecopy) I had no install problem... unzip the archive (stable version) in the local folder, sitecopy -u to update the server, login

Re: [pmwiki-users] Adding to a page

2007-06-10 Thread Hans
Saturday, June 9, 2007, 11:04:32 PM, Patrick R. Michaud wrote: >> Hey, that does work! (I just tried it). That should probably be documented >> somewhere. I'd do it myself but I'm in a rush right now. > Well, it is documented on the PmWiki.WikiStyles page, albeit > perhaps not as clearly as it co

[pmwiki-users] préformated markup and top links

2007-06-10 Thread jdd
I did the translation (still to be reviewed) of the http://www.pmwiki.org/wiki/PmWikiFr/SampleConfigFile and noticed that the use of the [@ @] markup makes the top links desapear (view edit history...) (remove the first [@ and they are back) don't know why jdd -- http://www.dodin.net http://g