[pmwiki-users] RecipeCheck question

2010-05-21 Thread Ingersoll, Nelson
Hi, 

   I cannot use the online recipe checker because my Wiki is behind a company 
firewall.  So I downloaded and installed CookBook::RecipeCheck.  After running 
it I updated various recipes which were way out of date.  However, two recipes 
show no datestamp on PmWiki.org.  They are Cookbook:ZAP and 
Cookbook:CommentBoxPlus.

   I picked up these recipes on PmWiki.org and am wondering what the lack of a 
pmwiki.prg datestamp means.  Are the recipes deprecated or unsupported?  I am 
running PmWiki 2.2.16 at this time.

   Thank you for your help.

Regards, 
Nelson

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Unit testing pmwiki markup code

2008-04-25 Thread Ingersoll, Nelson
Camila, 
 
   I do not speak Portuguese.  Forgive me.  I hope you can use this email in 
English.
 
   To unsubscribe from the PmWiki mailing list go to:
 
  http://pmichaud.com/mailman/listinfo/pmwiki-users
 
   Go to the bottom of the page and find the Unsubscribe or edit options 
button.
 
   Put your email address in the text box and click the Unsubscribe... button.
 
Hope this helps.
 
- Nelson
 




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Camila
Sent: Friday, April 25, 2008 2:33 PM
To: marc; Randy Brown
Cc: pmwiki-users@pmichaud.com
Subject: Re: [pmwiki-users] Unit testing pmwiki markup code


 Como eu faço para não receber mais estes emails??? Por favor! []'s 
Camila


- Mensagem Original - 
De: Randy Brown mailto:[EMAIL PROTECTED]  
Para: marc mailto:[EMAIL PROTECTED] 
Cc: pmwiki-users@pmichaud.com
Data: Sexta, 25 De Abril De 2008 15:59
Assunto: Re: [pmwiki-users] Unit testing pmwiki markup code

Marc,

I agree, test-driven development rules!

I didn't realize that php was truly object oriented. It sounds 
like  
you are using phpunit to assert the correctness of php 
functions.  
That's great for recipe developers.

But I don't know php - I write pmwiki markup. I want to assert 
that my  
pages look and behave the way that I expect whenever I make 
changes to  
my config.php, install new recipes, change my pmwiki markup, 
etc.

Are you using phpunit to test the correctness of served pages, 
or just  
the correctness of output from php functions?

Randy

On Apr 25, 2008, at 3:51 AM, marc wrote:

 phpunit isn't that good, but if you write object oriented 
code, then
 it's not hard to write a small reflection object that will do 
the  
 basic
 asserts for you.

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] Indenting an entire table to line up with text.

2008-04-24 Thread Ingersoll, Nelson
Roman,

   First, thank you!  I use a slightly modified version of the monobook theme.  
I added the line .indent2 { margin-left:80px; } to the end of the 
monobook.css, actually renamed mononei.css.  Thereafter I put the 
class=indent2 into the table declaration, e.g.

(:table class=indent2 border=1 cellpadding=5 cellspacing=0:)

and it works beautifully.

   Secondly, apparently when I initially replied I sent email only to your 
email which initially prevented this exchange from being posted to this august 
list.  I have corrected that.  Your help and wisdom will be shared.  8-)

   Again, thank you!

- Nelson

Failure is the most attentive teacher.  Too bad Microsoft isn't paying 
attention.



From: Roman [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 24, 2008 11:11 AM
To: Ingersoll, Nelson
Subject: Re: [pmwiki-users] Indenting an entire table to line up with 
text.


Nelson,
Class indent is built-in and it is defined as wiki style with 
indentation value 40px. You can add new class (style):

1. as a wikistyle - put $WikiStyle['indent2']['margin-left'] = '80px'; 
to your config.php

or

2. as a CSS style - put .indent2 { margin-left:80px; } to your CSS 
(pmwiki.css or other file depending on your skin)

I prefer second option.

Roman


On Thu, Apr 24, 2008 at 6:24 PM, Ingersoll, Nelson [EMAIL PROTECTED] 
wrote:


Roman,

   Thank you.  The ... class=indent ... worked and helps!  However, I have no 
clue how to add a class and a 15 minute effort searching the PmWiki mail 
archives and PmWiki documentation rendered zero useful information.  I suspect 
it has something to do with wiki styles and skins/themes which are areas I've 
only scratched so far.   However, you planted the seed of a thought in my mind 
which may yet grow.  Thanks again.

- Nelson




   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
Behalf Of Roman
   Sent: Thursday, April 24, 2008 4:05 AM
   To: pmwiki-users@pmichaud.com
   Subject: Re: [pmwiki-users] Indenting an entire table to 
line up with text.



   You can use class in table:

   (:table class=indent border=1 cellpadding=5 
cellspacing=0:)

   In your case you should add new class for second level

   .indent2 { margin-left:80px; }

   and then use

   (:table class=indent2 border=1 cellpadding=5 
cellspacing=0:)

   Roman


   On Thu, Apr 24, 2008 at 12:49 AM, Ingersoll, Nelson 
[EMAIL PROTECTED] wrote:



 I am trying to figure out how to indent a 
table.  The indentation requirement is simple enough.  I want the table to 
align with an existing indent.  Take this example PmWiki snippet:

   **(:toggle div=aaa init=hide lshow='' 
lhide='':)
   (:div1 id=aaa:)
   (:table border=1 cellpadding=5 cellspacing=0:)
   (:cell:) '''System'''
   (:cell:) '''Contact'''
   (:cell:) '''Email'''
   (:cell:) '''Phone'''
   (:cellnr:) BLEH
   (:cell:) John Doe
   (:cell:) [EMAIL PROTECTED]
   (:cell:)
   (:cellnr:) HELB
   (:cell:) Nelson Niceguy
   (:cell:) nelson's not here anymore
   (:cell:) 111-222-
   (:cellnr:) REALLY
   (:cell:) Mr. Splashy Pants
   (:cell:) splashy.pants@ whales.xxx
   (:cell:) 112-123-4567
   (:tableend:)
   (:div1end:)


   The table is hidden under the '' 
toggle-link.  When I toggle the entry open I would like for the table to align 
with the '**' indentation.  Ideally the indentation might follow along the same 
rules as a '*', '**', '***' indentation.  Is there a way to do this?  Thank you 
for your help.

   - Nelson  -- banged head as a young

[pmwiki-users] Indenting an entire table to line up with text.

2008-04-23 Thread Ingersoll, Nelson

   I am trying to figure out how to indent a table.  The indentation 
requirement is simple enough.  I want the table to align with an existing 
indent.  Take this example PmWiki snippet:

**(:toggle div=aaa init=hide lshow='' lhide='':)
(:div1 id=aaa:)
(:table border=1 cellpadding=5 cellspacing=0:)
(:cell:) '''System'''
(:cell:) '''Contact'''
(:cell:) '''Email'''
(:cell:) '''Phone'''
(:cellnr:) BLEH
(:cell:) John Doe
(:cell:) [EMAIL PROTECTED]
(:cell:)
(:cellnr:) HELB
(:cell:) Nelson Niceguy
(:cell:) nelson's not here anymore
(:cell:) 111-222-
(:cellnr:) REALLY
(:cell:) Mr. Splashy Pants
(:cell:) splashy.pants@ whales.xxx
(:cell:) 112-123-4567
(:tableend:)
(:div1end:)


The table is hidden under the '' toggle-link.  When I toggle the entry open 
I would like for the table to align with the '**' indentation.  Ideally the 
indentation might follow along the same rules as a '*', '**', '***' 
indentation.  Is there a way to do this?  Thank you for your help.

- Nelson  -- banged head as a young programmer.

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] putenv() error in config.php

2007-12-06 Thread Ingersoll, Nelson
Hi, 

   I am using the exact same PmWiki in two servers.  One is served under 
Slackware and the other on my WinXP PC.  The Slackware system is a LAMP system. 
 I'm running UniformServer on my PC.  When I visit the wiki on Slackware I see 
no errors.  When visiting the wiki on my PC I see this error message.  
Warning: putenv() [function.putenv]: Safe Mode warning: Cannot set environment 
variable 'TZ' - it's not in the allowed list in C:\home\PmWiki\local\config.php 
on line 26.  It is displayed at the top of the page and each subsequent page.  

   The line(s), shown below, causing the problem are recommended in default 
config.php.  I'm guessing something is amiss in my UniformServer setup.   Does 
anyone have any experience which might help me figure out what I might change 
to correct this error?

putenv(TZ=MST5MDT);
$TimeFmt = '%B %d, %Y, at %I:%M %p %Z';

- Nelson

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] ZAPdoc site working?

2007-12-05 Thread Ingersoll, Nelson
FYI - 

   While I still cannot see any snippet source of the ZAP pages at 
http://zapdoc.web-farm.org/ I figured out how to get it.  8-)  Just go to 
http://www.pmwiki.org/wiki/Cookbook/ZAP?from=Cookbook.Acme and download 
zapdocsnew.zip.  Put the files in the archive into your wiki.d directory.  
They're all prefixed with ZAP which should really help identifying them 
should you decide to remove them.

   Then add the line [[ZAPSupport.HomePage]] to any PmWiki page and you'll have 
access to the snippets and many other useful ZAP information.

- Nelson

PS - May seem trivially easy to some; and it is.  The rest of us, 
 overwhelmed with jargon, can use all the help in the world 
 learning how to get around in PmWiki and its recipes.

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


[pmwiki-users] ZAPdoc site working?

2007-11-27 Thread Ingersoll, Nelson
Hi, 

   I'm am trying to learn how to use ZAP.  The recommendation is to look at the 
snippet code on the pages at 
http://zapdoc.web-farm.org/index.php/Snippets/HomePage however, every time I 
try to look at source I get a login screen.  I've tried guest/test and 
guest/guest; however, those don't work.  Is this a good place to get 
information about using ZAP?

Confused, 

Nelson

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users