[pmwiki-users] quirk with nested-if

2008-06-30 Thread adam overton
hi i'm running into an odd issue with the nested-if recipe, and wondering if there's a fix... here's the deal: let's say i have a page called Main.TestInclude with the following set of nestedIfs: (:if0 true:) (:ifA true:) (:if1 true:) if0,ifA,if1 true

Re: [pmwiki-users] GuiEdit GuiButtons combo

2008-06-30 Thread Hans
Monday, June 30, 2008, 12:56:58 AM, adam overton wrote: I've just combined the GuiEdit recipe with the GuiButtons recipe. - GuiEdit allows for more better-looking buttons to be added to your 'edit' pages... - GuiButtons allows for the (:guibuttons:) markup, so that you can add buttons

Re: [pmwiki-users] quirk with nested-if

2008-06-30 Thread Peter Melodye Bowers
however, if i then stick (:include UDP.TestInclude:) into Site.SiteFooter, and then load any page on the site, it malfunctions and spits out onto the page part of the conditional (i.e. it doesn't execute it all): When PM decided to put the (:if0 ...:) as a div-like feature into core I stopped

Re: [pmwiki-users] quirk with nested-if

2008-06-30 Thread Peter Melodye Bowers
however, if i then stick (:include UDP.TestInclude:) into Site.SiteFooter, and then load any page on the site, it malfunctions and spits out onto the page part of the conditional (i.e. it doesn't execute it all): OK, a different answer now that I've tested it. I put nested-if in my

Re: [pmwiki-users] quirk with nested-if

2008-06-30 Thread Hans
Monday, June 30, 2008, 10:44:39 AM, Peter Melodye Bowers wrote: This seems to suggest that perhaps conditionals are evaluated before headers and footers are brought in? yes. GroupHeader and GroupFooter pages are included with standard (:include ..:) markup, and (:include ..:) directives are

Re: [pmwiki-users] quirk with nested-if

2008-06-30 Thread Hans
Monday, June 30, 2008, 10:44:39 AM, Peter Melodye Bowers wrote: Perhaps if you change the 2nd argument of the nested-if to something later like 'directives' or something like that it might work? if using nested if markup try in config.php Markup('include', 'nestedif',

Re: [pmwiki-users] quirk with nested-if

2008-06-30 Thread Peter Bowers
yes. GroupHeader and GroupFooter pages are included with standard (:include ..:) markup, and (:include ..:) directives are rendered after (:if..:) directives (Markup('include', 'if', ... in stdmarkup.php). Conditional (:if ...:) markup does work in GroupHeader and GroupFooter pages, BTW.

Re: [pmwiki-users] quirk with nested-if

2008-06-30 Thread Patrick R. Michaud
On Mon, Jun 30, 2008 at 12:48:23AM -0700, adam overton wrote: hi i'm running into an odd issue with the nested-if recipe, and wondering if there's a fix... here's the deal: let's say i have a page called Main.TestInclude with the following set of nestedIfs: (:if0 true:)

[pmwiki-users] Universal Edit Button -- can we implement?

2008-06-30 Thread Tegan Dowling
Lookit: http://universaleditbutton.org/Universal_Edit_Button ___ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Re: [pmwiki-users] Universal Edit Button -- can we implement?

2008-06-30 Thread Hans
Monday, June 30, 2008, 2:07:11 PM, Tegan Dowling wrote: Lookit: http://universaleditbutton.org/Universal_Edit_Button see http://www.pmwiki.org/wiki/Cookbook/UniversalEditButton ~Hans ___ pmwiki-users mailing list pmwiki-users@pmichaud.com

Re: [pmwiki-users] quirk with nested-if

2008-06-30 Thread Patrick R. Michaud
On Mon, Jun 30, 2008 at 01:44:41PM +0200, Peter Bowers wrote: yes. GroupHeader and GroupFooter pages are included with standard (:include ..:) markup, and (:include ..:) directives are rendered after (:if..:) directives (Markup('include', 'if', ... in stdmarkup.php). Conditional (:if

Re: [pmwiki-users] Universal Edit Button -- can we implement?

2008-06-30 Thread Tegan Dowling
On Mon, Jun 30, 2008 at 7:33 AM, Hans [EMAIL PROTECTED] wrote: Monday, June 30, 2008, 2:07:11 PM, Tegan Dowling wrote: Lookit: http://universaleditbutton.org/Universal_Edit_Button see http://www.pmwiki.org/wiki/Cookbook/UniversalEditButton Oh! Shoot -- sorry Hans; I should have looked

Re: [pmwiki-users] fox comment box and mail

2008-06-30 Thread Hans
Sunday, June 29, 2008, 6:14:34 AM, Maria McKinley wrote: Darn. So the problem is not the order they are called, unfortunately. I am leary about upgrading Fox, because I am using foxblog, and last time I tried to do anything with updating fox, it was a bit of a mess. I think maybe I will try

[pmwiki-users] Conditional markup with multi-line page variables

2008-06-30 Thread Andrew Thompson
Perhaps I'm doing something stupid, but I've tried lots of variations, so this is possibly a bug. My aim is to display the contents of a variable, with appropriate headings, only when the variable is set. If the variable has a single-line value, everything works perfectly, eg: CODE: (:ShopList:

[pmwiki-users] Conditional markup with multi-line page variables

2008-06-30 Thread Andrew Thompson
Subject: Conditional markup with multi-line page variables Perhaps I'm doing something stupid, but I've tried lots of variations, so this is possibly a bug. My aim is to display the contents of a variable, with appropriate headings, only when the variable is set. If the variable has a single-line

[pmwiki-users] deleting fox-comments from include pages

2008-06-30 Thread michael paulukonis
I've been using fox-comments for... about a day, so I've got a lot to learn I'm trying placing the comments on a separate page, to make things cleaner on the main-page for editing, and then including (in a show-hide toggle section) them. The display works fine, but delete does not. Here is my

Re: [pmwiki-users] Conditional markup with multi-line page variables

2008-06-30 Thread Peter Melodye Bowers
That works exactly as it should, but, if ShopList has a multi-line value, I still get the correct output for my shopping list, but it is preceded on the screen by the if statement, with ShopList expanded, The (:if ...:) regex includes a [^\n]* when it is matching the condition which excludes

Re: [pmwiki-users] Conditional markup with multi-line page variables

2008-06-30 Thread Andrew Thompson
That works perfectly, Peter. Thanks very much. Andrew 2008/6/30 Peter Melodye Bowers [EMAIL PROTECTED]: The (:if ...:) regex includes a [^\n]* when it is matching the condition which excludes any newlines being part of your condition. I messed around with how that regex might be changed

Re: [pmwiki-users] quirk with nested-if

2008-06-30 Thread adam overton
hey there i just added the code to the page you listed to try out the scenario that was giving me problems, you would then need to add an include to the Site.SiteFooter page (which is password protected): (:include Main.HomePage:) thanks! adam Could you try it at

Re: [pmwiki-users] quirk with nested-if

2008-06-30 Thread adam overton
Hi guys thanks for the suggestions. unfortunately none of them are solving my problem yet -- - adding directives or directives in the markup for nestedif just makes the problem worse - the entire nestedif chain fails to load, and just prints all of it as text on the screen, whereas in my

Re: [pmwiki-users] quirk with nested-if

2008-06-30 Thread adam overton
aha i've just found the culprits -- i have my own versions of both 'filelist_sortable.php' and 'attachtable.php' enabled when both are commented out, nestedif works as expected, even when included from one page onto the Site.SiteFooter... if either one of them is left enabled by