I am trying to use the static pages to post to a directory outside of the pmwiki install:mysite/mydocs, while pmwiki is mysite/wiki. SInce the whole recipe depends on $ScriptUrl, I am not sure which lines to edit to get it to post (actually, would be best to be able to use both a url and a system path, as I work in win xp but post to apache on linux). If I alter the first lines of StaticPages.php, It appears that there are too many variables that will break in the other files. <br>($ApplicationPathUrl = dirname($ScriptUrl);<br>$ApplicationPathDir = realpath(dirname(__FILE__) . "/../.");<br><br><br>if (!isset($StaticPageDir)) {$StaticPageDir = "pub/web";})<br><br>Thanks, Seth<br><br><b><i>pmwiki-users-request@pmichaud.com</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Send pmwiki-users mailing list submissions to<br> pmwiki-users@pmichaud.com<br><br>To subscribe or unsubscribe
via the World Wide Web, visit<br> http://www.pmichaud.com/mailman/listinfo/pmwiki-users<br>or, via email, send a message with subject or body 'help' to<br> pmwiki-users-request@pmichaud.com<br><br>You can reach the person managing the list at<br> pmwiki-users-owner@pmichaud.com<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of pmwiki-users digest..."<br><br><br>Today's Topics:<br><br> 1. Re: RSPM--my first ZAP app... (J. Meijer)<br> 2. Re: Nested Tables (The Editor)<br> 3. Firefox 2 breaks Alt+E, Alt+S etc accesskeys (J. Meijer)<br> 4. pagelist sort by text vars (The Editor)<br> 5. Re: pagelist sort by text vars (The Editor)<br> 6. jsMath - scalable mathematics (Ben Woodruff)<br> 7. Re: RSPM--my first ZAP app... (The Editor)<br> 8. Re: I have a trouble about cleaning URL (H. Fox)<br> 9. page name variable (info)<br> 10. Re: page name variable (Patrick R. Michaud)<br> 11. Re: page name variable (info)<br>
12. Re: page name variable (Hans)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Mon, 25 Dec 2006 22:13:31 +0000<br>From: "J. Meijer" <commentgg@hotmail.com><br>Subject: Re: [pmwiki-users] RSPM--my first ZAP app...<br>To: <pmwiki-users@pmichaud.com><br>Message-ID: <BAY111-W3F65B877230E42072735BBCC20@phx.gbl><br>Content-Type: text/plain; charset="iso-8859-1"<br><br><br><br>Dan, I took a look at your site. <br><br>I'm writing just to say I'm impressed with your skills and the vision of your work. <br><br>There is a lot to like, its departure 'into a better world', complementing basic pmwiki qualities. <br><br>So there you have it. A bit of propaganda for ya :-) <br><br>/jm<br><br><br><br>ps Can't you give a public logon+password that's valid only for a couple of days? <br>Most will come to take a look the first day a message is posted. <br>I for one didn't bother with this, as it's typically a buggy ride.
<br><br><br><br><br>On 12/24/06, The Editor <editor@fast.st> wrote:<br>I've been working on my first ZAP app, a "really simple project<br>management" system, using some ideas from SKTS and David G.<br>Everything is password protected, you login, and it goes right to the<br>home page where all your current, personal tasks, calendar events,<br>daily schedule etc are right at your finger tips.<br><br>Anyway, I've been having good success so far. Here are some of the<br>features currently working:<br><br>* Built in Rolodex (Contacts)<br><br>* Weekly Schedule Maker (Items)<br><br>* Yearly Calendar (Events)<br>** Events can be one time or recurring<br><br>* Any number of Projects<br>** Projects let you build multiple (Documents)<br>** Each Document takes simple text imports<br><br>* Tasks<br>** Can be attached to any project, document, item, event, contact<br>** Tasks are assigned to/sortable by Project, Member, Status<br>(Priority), Deadline<br>** All fields are
editable<br><br><br>Still to do:<br><br>* Multiple Members<br>**Members can set up semi-private<br>projects,documents,schedules,calendars,contacts<br>** Members can send messages to other members (documents)<br><br>* Tasks Handling<br>** Reassign tasks to different pages<br>** Automatically delete tasks (multiple checkboxes)<br>** Tasks can be archived when complete<br><br>* Emailing<br>** Can schedule emails to Members / Contacts / Mail Lists<br><br><br>I've never really done anything quite like this before, and wonder if<br>anyone has any suggestions for making this more useful. You are<br>welcome to take a peak at http://www.fast.st/gtd/index.php, login<br>Guest/test. Feel free to test... It's not idiot proofed yet, and<br>it's still a work in progress, but you can get an idea of what I have<br>in mind. TIA for the input.<br><br>Cheers,<br>Dan<br><br>_________________________________________________________________<br>Fixing up the home? Live Search can
help.<br>http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=wlmemailtaglinenov06<br><br><br>------------------------------<br><br>Message: 2<br>Date: Mon, 25 Dec 2006 17:37:03 -0500<br>From: "The Editor" <editor@fast.st><br>Subject: Re: [pmwiki-users] Nested Tables<br>To: "pmwiki-users@pmichaud.com" <pmwiki-users@pmichaud.com><br>Message-ID:<br> <fec7cf150612251437v37da16fbjb49c3f8d287311ed@mail.gmail.com><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>On 12/25/06, Patrick R. Michaud <pmichaud@pobox.com> wrote:<br>> On Sat, Dec 23, 2006 at 09:16:30PM -0500, The Editor wrote:<br>> > I was reading up on the new nested divs markup, but it doesn't seem to<br>> > allow nested tables. Is that supported yet? If so what is the<br>> > syntax. Lots on nested divs, but not tables.<br>><br>> PmWiki doesn't support nested tables in its built-in markup (and I<br>> have no immediate plans
to add it). I've generally held the position<br>> that tables of such complexity really deserve their own markup.<br>><br>> Pm<br><br>Actually I've discovered you have some nesting already. You can put<br>simple tables in advanced tables and vice versa. I've used it in<br>several situations. As long as you don't need advanced formatting for<br>either the inner or outer table cells of course.<br><br>Anyway, in my situation I found a nice work around. I like your new<br>select input tags. They work nice. Thanks Pm...<br><br>Cheers,<br>Dan<br><br>PS. Looking forward to the textareas...<br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Mon, 25 Dec 2006 22:40:49 +0000<br>From: "J. Meijer" <commentgg@hotmail.com><br>Subject: [pmwiki-users] Firefox 2 breaks Alt+E, Alt+S etc accesskeys<br>To: <pmwiki-users@pmichaud.com><br>Message-ID: <BAY111-W2E70905EC24139323140BBCC20@phx.gbl><br>Content-Type: text/plain;
charset="iso-8859-1"<br><br><br>For those that upgrade to Firefox 2 and find their Alt+E, Alt+H, Alt+S and Alt+U accesskeys no longer work: you have to now press Shift *also*. <br><br>Since that's too much of a bother for me I instead took note of the suggestion below which instructs to <br><br>1. open url "about:config", <br><br>2. search for contentAccess and <br><br>3. change the value of the only entry returned to 4<br><br>Now accesskeys should work as in Firefox 1.5. <br><br>If anyone knows of a similar hack for use in Opera, please post it as I really prefer to use that browser. <br><br>/jm<br><br><br>The Solution (found on http://www.hannonhill.com/company/blog/2006/firefox-2.0-access-keys-bug.html):<br><br>Thankfully, the MozillaZine thread also provides the solution. According to "stonedyak", you just need to do "about:config" in Firefox and change "ui.key.contentAccess" to "4". That's it. I believe someone will come up with a quick Firefox extension to provide
more control over this. It'll be interesting to see how things play out.<br><br>_________________________________________________________________<br>Try amazing new 3D maps<br>http://maps.live.com/?wip=51<br><br><br>------------------------------<br><br>Message: 4<br>Date: Mon, 25 Dec 2006 19:16:56 -0500<br>From: "The Editor" <editor@fast.st><br>Subject: [pmwiki-users] pagelist sort by text vars<br>To: "pmwiki-users@pmichaud.com" <pmwiki-users@pmichaud.com><br>Message-ID:<br> <fec7cf150612251616v7da2252amf48788b4a3986947@mail.gmail.com><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>Is it possible to sort by text variables on a page? I was reading up<br>on a complicated thread between Crisses & Pm, back when zap was<br>storing data on separate data pages. But now they are on the same<br>page--as text variables. I understood, you could do something like:<br><br>(:pagelist heading="Urgent Tasks" group="Tasks*"
name=-RecentChanges<br>sort={$:deadline} fmt=#zaptasks:)<br><br>But it does not seem to be working... Any help anyone could give<br>would be appreciated...<br><br>Cheers,<br>Dan<br><br><br><br>------------------------------<br><br>Message: 5<br>Date: Mon, 25 Dec 2006 20:11:57 -0500<br>From: "The Editor" <editor@fast.st><br>Subject: Re: [pmwiki-users] pagelist sort by text vars<br>To: "pmwiki-users@pmichaud.com" <pmwiki-users@pmichaud.com><br>Message-ID:<br> <fec7cf150612251711w47785828sab7bc2f8ec561c4a@mail.gmail.com><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>On 12/25/06, The Editor <editor@fast.st> wrote:<br>> Is it possible to sort by text variables on a page? I was reading up<br>> on a complicated thread between Crisses & Pm, back when zap was<br>> storing data on separate data pages. But now they are on the same<br>> page--as text variables. I understood, you could do something like:<br>><br>> (:pagelist
heading="Urgent Tasks" group="Tasks*" name=-RecentChanges<br>> sort={$:deadline} fmt=#zaptasks:)<br>><br>> But it does not seem to be working... Any help anyone could give<br>> would be appreciated...<br>><br>> Cheers,<br>> Dan<br><br><br>Sorry, another dumb question... I just used the wrong syntax. Here's<br>how it's supposed to be in case anyone finds this thread...<br><br>> (:pagelist heading="Urgent Tasks" group="Tasks*" name=-RecentChanges<br>> order=$:deadline fmt=#zaptasks:)<br><br>I got my zap app working, beautiful, like a charm! But because I have<br>satellite, and my ftp program can't seem to cut through the clouds,<br>will have to upload the (more) finished project later. Will let you<br>know when it is up and running...<br><br>Cheers,<br>Dan<br><br><br><br>------------------------------<br><br>Message: 6<br>Date: Tue, 26 Dec 2006 01:25:10 -0700<br>From: "Ben Woodruff" <bmwoodruff+pmwiki@gmail.com><br>Subject: [pmwiki-users]
jsMath - scalable mathematics<br>To: pmwiki-users@pmichaud.com<br>Message-ID:<br> <32af4fec0612260025p5762cb2dk1cec5b63ebea47da@mail.gmail.com><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>Has anyone adopted using jsMath to embed mathematics in their wiki?<br><br>I have been using MimeTeX for the last 6 months, and am trying to update<br>the mathematics to jsMath because it allows for on the fly resizing and<br>a larger portion of mathematics commands. The most crucial to me is the<br>ability to automatically resize math graphics, as I use PMWiki for class<br>presenations and I need larger math graphics.<br><br>Since jsMath is just a javascript, I figure it could be enabled using<br>the details from the javascript cookbook entry, by having a<br>(:mathenable:) command to tell the computer that math needs be enabled,<br>and then a (:mathcompile:) to execute jsMath. These could be added<br>automatically to every header and footer so that they
never need to be<br>called again. However, I was hoping there might be an easier way, such<br>as having a cookbook recipe which uses the same markup as MimeTeX for<br>processing mathematics, just makes appropriate changes to the html body<br>so that the jsMath script is called when needed.<br><br>If anyone has adopted jsMath in their wiki, I could use your help. I<br>would like to make a recipe for using jsMath.<br><br>The jsMath home page is http://www.math.union.edu/~dpvc/jsMath/.<br><br>Ben Woodruff<br>BYU-Idaho<br>Mathematics Department<br><br><br><br>------------------------------<br><br>Message: 7<br>Date: Tue, 26 Dec 2006 05:23:08 -0500<br>From: "The Editor" <editor@fast.st><br>Subject: Re: [pmwiki-users] RSPM--my first ZAP app...<br>To: "pmwiki-users@pmichaud.com" <pmwiki-users@pmichaud.com><br>Message-ID:<br> <fec7cf150612260223g6bb166c8rf002f2474e8d4c70@mail.gmail.com><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>I think I finally got
the functionality I want for version 1.0 of ZAP<br>GTD (getting things done).. It's quite cool actually! But it's still<br>giving session errors on the live server, so I'll have to wait to<br>debug until after I get back. Anyway, I'll be out of town till New<br>Years, but hope to have a live working demo up for folks to discuss<br>early next year.<br><br>When I get back, I'm also hoping to try and add capabilities for<br>multiple users, namely private projects/docs, schedule items, and<br>calendar events. I also want to split schedule to weekly and monthly,<br>so can include those once a month things. And finally, I want to add<br>email capabilities, plus an update the ZAPnews module so I can<br>schedule outgoing emails to individuals and mail lists in advance, one<br>time events, or weekly/monthly/annually.<br><br>Thanks to everyone who helped to inspire the ideas behind this<br>project. (esp SKTS & DaveG). Maybe now I can get caught up on all the<br>things I got
behind in trying to develop ZAP!<br><br>Cheers,<br>Dan<br><br>.<br><br><br><br>------------------------------<br><br>Message: 8<br>Date: Tue, 26 Dec 2006 04:23:57 -0700<br>From: "H. Fox" <haganfox@users.sourceforge.net><br>Subject: Re: [pmwiki-users] I have a trouble about cleaning URL<br>To: "PmWiki-Users List" <pmwiki-users@pmichaud.com><br>Message-ID:<br> <2966e8a50612260323i44715cf4td6f2233991a49378@mail.gmail.com><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>Shigeru Kobayashi <kotobuki><at> gmail.com> writes:<br>><br>> Dear all,<br>><br>> I have been trying to clean URL as described in the following web<br>> page, but I have a problem.<br>> http://www.pmwiki.org/wiki/Cookbook/CleanUrls#docroot<br>[...]<br>> The URL of the wiki is:<br>> http://gainer.cc/pmwiki/index.php<br>> (/gainer.cc/html/pmwiki/index.php)<br>><br>> And I'd like to change the URL as follows:<br>> http://gainer.cc/index.php<br>>
(/gainer.cc/html/)<br>><br>> I created .htaccess file as follows:<br>> RewriteEngine On<br>> RewriteBase /<br>> RewriteRule ^$ pmwiki/pmwiki.php [L]<br>> RewriteRule ^index\\.php$ pmwiki/pmwiki.php [L]<br>> RewriteRule ^([^/a-z].*) pmwiki/pmwiki.php?n=$1 [QSA,L]<br>><br>> But it seems that the rewriting does not work. Just to make sure, I<br>> also tried again by replacing "pmwiki/pmwiki.php" with<br>> "/gainer.cc/html/pmwiki/pmwiki.php", but got no luck.<br>><br>> * Currently, for some reason, http://gainer.cc/index.php exists<br><br>Try removing one of the backslashes from the fourth line to get<br><br> RewriteRule ^index\.php$ pmwiki/pmwiki.php [L]<br><br>> to<br>> redirect from http://gainer.cc/ to old MediaWiki based wiki. When I<br>> confirmed, I renamed the index.php as _index.php.<br><br>If the above rule exists in your /gainer.cc/html/.htaccess file then<br>/gainer.cc/html/index.php should be ignored.
If it's not ignored then the<br>server is not rewriting URLs as advertised.<br><br>Hagan<br><br><br><br>------------------------------<br><br>Message: 9<br>Date: Tue, 26 Dec 2006 13:10:05 +0100<br>From: info <info@hassanein.ch><br>Subject: [pmwiki-users] page name variable<br>To: pmwiki-users@pmichaud.com<br>Message-ID: <200612261310.05703.info@hassanein.ch><br>Content-Type: text/plain; charset="us-ascii"<br><br>Hi<br><br>By editing a pmwiki page I can use $Group to get the current group name.<br>Which variable gives me the current page name?<br><br>--<br>Thanks for any help.<br>Regards,<br>Mike<br><br><br><br>------------------------------<br><br>Message: 10<br>Date: Tue, 26 Dec 2006 09:00:20 -0600<br>From: "Patrick R. Michaud" <pmichaud@pobox.com><br>Subject: Re: [pmwiki-users] page name variable<br>To: info <info@hassanein.ch><br>Cc: pmwiki-users@pmichaud.com<br>Message-ID: <20061226150020.GA21700@host.pmichaud.com><br>Content-Type: text/plain;
charset=us-ascii<br><br>On Tue, Dec 26, 2006 at 01:10:05PM +0100, info wrote:<br>> Hi<br>> <br>> By editing a pmwiki page I can use $Group to get the current group name.<br>> Which variable gives me the current page name?<br><br> {$Name} - name of the page<br> {$FullName} - group+name<br><br>See http://www.pmwiki.org/wiki/PmWiki/PageVariables .<br><br>Pm<br><br><br><br>------------------------------<br><br>Message: 11<br>Date: Tue, 26 Dec 2006 16:16:02 +0100<br>From: info <info@hassanein.ch><br>Subject: Re: [pmwiki-users] page name variable<br>To: pmwiki-users@pmichaud.com<br>Message-ID: <200612261616.02416.info@hassanein.ch><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>On Tuesday 26 December 2006 16:00, Patrick R. Michaud wrote:<br>> On Tue, Dec 26, 2006 at 01:10:05PM +0100, info wrote:<br>> > By editing a pmwiki page I can use $Group to get the current group name.<br>> > Which variable gives me the current page
name?<br>><br>> {$Name} - name of the page<br>> {$FullName} - group+name<br>Excuse me I expressed myself inacurate.<br><br>I am editing the SideBar and within this I want to reference to content page <br>name - is that possible at all?<br><br>The following line refers to the the SideBar:<br>%right% [-[[{$Group}.SideBar?action=edit | edit SideBar]]-]<br><br>I would like to have the equivalent which refers to the respective content <br>page.<br>%right% [-[[{$Group}.{$<refer to="" content="" page="">}?action=edit | edit Content]]-]<br><br>--<br>Thanks for any tipp.<br>Regards,<br>Mike<br><br><br><br>------------------------------<br><br>Message: 12<br>Date: Tue, 26 Dec 2006 15:31:34 +0000<br>From: Hans <design5@softflow.co.uk><br>Subject: Re: [pmwiki-users] page name variable<br>To: info <info@hassanein.ch><br>Cc: pmwiki-users@pmichaud.com<br>Message-ID: <219676332.20061226153134@softflow.co.uk><br>Content-Type: text/plain;
charset=us-ascii<br><br>Tuesday, December 26, 2006, 3:16:02 PM, info wrote:<br><br>> I am editing the SideBar and within this I want to reference to content page<br>> name - is that possible at all?<br><br>> The following line refers to the the SideBar:<br>> %right% [-[[{$Group}.SideBar?action=edit | edit SideBar]]-]<br><br>> I would like to have the equivalent which refers to the respective content<br>> page.<br>> %right% [-[[{$Group}.{$<refer to="" content="" page="">}?action=edit | edit Content]]-]<br><br>with pmwiki 2.2.0 betas you need to make the pagevariable absolute by<br>using *, in order it to apply to the containing page. Otherwise it<br>applies to the secondary or included page (like SideBar).<br><br>so you may use<br>%right% [-[[{*$Group}.SideBar?action=edit | edit SideBar]]-]<br>and<br>%right% [-[[{*$FullName}?action=edit | edit Content]]-]<br><br>The latter without the * works for pmwiki pre
2.2.0<br><br><br>Hans<br><br><br><br><br>------------------------------<br><br>_______________________________________________<br>pmwiki-users mailing list<br>pmwiki-users@pmichaud.com<br>http://www.pmichaud.com/mailman/listinfo/pmwiki-users<br><br><br>End of pmwiki-users Digest, Vol 18, Issue
94<br>********************************************<br></refer></info@hassanein.ch></design5@softflow.co.uk></refer></info@hassanein.ch></info@hassanein.ch></pmichaud@pobox.com></info@hassanein.ch></at></kotobuki></pmwiki-users@pmichaud.com></haganfox@users.sourceforge.net></fec7cf150612260223g6bb166c8rf002f2474e8d4c70@mail.gmail.com></pmwiki-users@pmichaud.com></editor@fast.st></bmwoodruff+pmwiki@gmail.com></editor@fast.st></fec7cf150612251711w47785828sab7bc2f8ec561c4a@mail.gmail.com></pmwiki-users@pmichaud.com></editor@fast.st></fec7cf150612251616v7da2252amf48788b4a3986947@mail.gmail.com></pmwiki-users@pmichaud.com></editor@fast.st></BAY111-W2E70905EC24139323140BBCC20@phx.gbl></pmwiki-users@pmichaud.com></commentgg@hotmail.com></pmichaud@pobox.com></fec7cf150612251437v37da16fbjb49c3f8d287311ed@mail.gmail.com></pmwiki-users@pmichaud.com></editor@fast.st></editor@fast.st></BAY111-W3F65B877230E42072735BBCC20@phx.gbl></pmwiki-users@pmichaud.com></commentgg@hotmail.com></block
quote><br><p> __________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com