21.12.2011 23:22, schrieb Knut Alboldt:
Hi !
As Peter said: you have to write a short script - like this:
e.g. collect.incphp:
==
?php
$Collected = array();
/*
(:collect key values:)
in a pagelist template:
=== Page Test.Collect ===
(:pagelist name=Test.Collect-* fmt
Hi !
As Peter said: you have to write a short script - like this:
e.g. collect.incphp:
==
?php
$Collected = array();
/*
(:collect key values:)
in a pagelist template:
=== Page Test.Collect ===
(:pagelist name=Test.Collect-* fmt=#collect:)
:pagelist
Ich kann FOX nur wärmstens empfehlen. Stand auch mal vor der wahl. Habe
mittlerweile alle Sorten von Formular-Seiten so erstellt, entweder
Seiten, die später normal über EDIT in der page-Source direkt geändert
werden, oder eben nur noch über das Formular.
Es ist sehr flexibel, z.b. Möglichkeit
Hi Hans !
Am 02.04.2010 23:55, schrieb Hans:
Friday, April 2, 2010, 10:18:43 PM, Knut Alboldt wrote:
||Date: ||(:input text duedate:) (:datepicker field=duedate:) ||
or within a fox-template:
||Date: ||(:input text $:duedate:) (:datepicker field=ptv_duedate:) ||
I suppose you mean
Wouldn't it be possible to use the categories-feature for your tags ?
But it might be a bit to complicated for a user to enter [[!tag]]
instead of tag. But you could then use
(:pagelist ... link=tag ... :)
Maybe there is a way to define categories in a page also in another way,
e.g. by using
Looks good!
Right now I'm using tbGTD based on Tiddly-Wiki - advantage: available on
USB-Stick everywhere where I've a Firefox running - portable.
But I missed the closer connection to pmwiki (not counting the
possibility to simply link to a pmwiki-page).
So your receipe would be the thing to
Mark,
how's about using the datepicker receipe to pick up a date ? It must be
customized to enter a different date format.
Knut
Am 31.03.2010 16:09, schrieb Mark Bacas:
Okay, figured it out.
|| '''Date: '''||(:input text value={(ftime %Y%m%d)} $:duedate
just let me know ...
Knut
Am 02.04.2010 11:32, schrieb Mark Bacas:
Hi Knut,
Yep, I looked at that. Will probably try to incorporate. I need to
come up with a desired features list.
Regards,
- Mark
On Fri, Apr 2, 2010 at 5:19 AM, Knut Alboldtpmw...@alboldt.de wrote:
Mark,
how's about
Hi Mark !
I just did a pmwiki-warpper using the javascript datepicker-solution of
Julian Robichaux.
Well to your questions:
1) YOu could use
|| '''Date: '''||(:input text value={(ftime %Y%m%d)} $:duedate
size=10:)nbsp;%navy%[-'''MMDD'''-]%% (:datepicker field=duedate
format='Ymd'
Is it possible to specify user functions as a pagelist selection
criteria ? I thought I've seen it in a receipe.
Then - if you enter all the tags in a fox-field it shoul be easy to
write such a user-function in php to do the query to a page-var.
eg
tags are entered via fox-form in the
to be updated /
added from this input-definitions instead of the ptvfield-parameter ?
Knut
Am 18.03.2010 10:11, schrieb Hans:
Wednesday, March 17, 2010, 10:59:31 PM, Knut Alboldt wrote:
I thought to reduce the definitions I can the following call to create
new entries:
[[#new]]
(:foxmessage
Hi !
I'm using fox to create a new page calling it with:
[[#new]]
(:foxmessage:)
(:fox entryform put=top target='ID{$DTS}' ptvupdate=1
template=Templates#entry redirect=ID{$DTS}:)
(:include {$Group}.Templates#inputfields:)
(:foxend entryform:)
[[#newend]]
referring to the page format:
Jiří:
Nice recipe :)
Would be very nice, if
1) some parameter can say the weeks start on mondays
2) the week numbers are displayed in the left/right column
Thanks,
Jiri
Knut Alboldt napsal(a):
A long time ago i promised Hans to setup my datepicker-feature as a
pmwiki-cookbook-recipe
A long time ago i promised Hans to setup my datepicker-feature as a
pmwiki-cookbook-recipe.
Well here it is: http://pmwiki.org/wiki/Cookbook/Datepicker -
although I know it might be obsolete in the near future when every
webbrowser is capable of using the HTML5-features witch includes more
A long time ago i promised Hans to setup my datepicker-feature as a
pmwiki-cookbook-recipe.
Well here it is: http://pmwiki.org/wiki/Cookbook/Datepicker -
although I know it might be obsolete in the near future when every
webbrowser is capable of using the HTML5-features witch includes more
Hi Hans !
Thanks for your quick feedback. Seems to be, that I didn't do my QA well ;-)
Am 07.02.2010 17:57, schrieb Hans:
thanks Knut!
Some feedback:
I got it running after playing with the $HTMLHeaderFmt settings a bit.
I prefer the javascript, css, and button image all in one directory,
Hi Hans !
corrected the code and updated the cookbook.
cheers Knut
Am 07.02.2010 17:57, schrieb Hans:
thanks Knut!
Some feedback:
I got it running after playing with the $HTMLHeaderFmt settings a bit.
I prefer the javascript, css, and button image all in one directory,
i.e.
done
thanks for the hint
Knut
Am 07.02.2010 18:44, schrieb Hans:
Sunday, February 7, 2010, 5:24:49 PM, Knut Alboldt wrote:
fine, I'll be back when I've corrected the erros, could you send me the
HTMLHeaderFmt-changes (iI guess you changed it to uselink ...-tags to
the css etc ?
Just now i
Hi (I think this is a special question fot Hans) !
Is it possible to process plain (text) files (outside of pmwiki) with
the fox-edit-feature. I want to use pmwiki as a kind of framework.
I know, fox + dataplates can be used as an sql-db-frontend, so I wonder
if there is an easy way to process
Hi (I think this is a special question fot Hans) !
Is it possible to process plain (text) files (outside of pmwiki) with
the fox-edit-feature. I want to use pmwiki as a kind of framework.
I know, fox + dataplates can be used as an sql-db-frontend, so I wonder
if there is an easy way to process
perfect !
Thanks a lot for your prompt answers. I just needed a few ideas and
you've shown be some. I think from here I can start to get my things done.
I do know that pmwiki is very flexible, but every time I've to find out
that it's even more ! (Thanks Pm !) But this also requires some deep
I've got an php-error-message using fox (possibly because of a wrong
usage of the form):
Fatal error: [] operator not supported for strings in
D:\HTDOCS\pmwiki.common\scripts\fox.incphp on line 759
found, that all references of $FoxMsgFmt except that in line 830 are array:
830: default:
Hi !
when I use the pagelist-markup I sometime get a warning like
Warning: preg_replace()
[/docs/it/php/manual.5.x.y/function.preg-replace.html]: Compilation
failed: missing ) at offset 76 in
D:\HTDOCS\pmwiki.2.2.0.beta65\pmwiki.php on line 730
which detroys the output of the list of pages.
just some other thought's
the cookbook is rich of good recipes, not only some of them I use in my
personal wiki (I use pmwiki on my home site and notebook for nearly all
- except e.q. image processing or cooking :-) - to be serious, I'll try
to use pmwiki to store all information I've to, in
is there a way to change the value of one (ore more) ptv's just by
calling a URL (e.g. some kind of action= with some
ptv-name/-value-parameters) ?
if not, is there evt. a builtin pmwiki-funtktion to change a ptv of a
page which could be used in an own action-recipe ?
Knut
Hans schrieb:
Friday, September 19, 2008, 5:33:48 PM, Knut Alboldt wrote:
is there a way to change the value of one (ore more) ptv's just by
calling a URL (e.g. some kind of action= with some
ptv-name/-value-parameters) ?
none that i am aware of. Any method to change PTVs via url input
Thank you all for all the help, I'll start to check them all in the next
day, should be enough to get something done with it.
Knut
Patrick R. Michaud schrieb:
On Fri, Sep 19, 2008 at 06:16:45PM +0100, Hans wrote:
Friday, September 19, 2008, 5:33:48 PM, Knut Alboldt wrote:
is there a way
Hans schrieb:
Wednesday, September 17, 2008, 1:58:45 PM, Knut Alboldt wrote:
unfortunately the (:fox formname ...:) markup doesn't generate a form
name='formname' ... Statement.
I changed this in my local copy of fox.inc, but would it be possible to
implement this in fox.php generally
Hi !
I'm using a datepicker html/javascript object I can activate within
pmwiki with the markup
(:datepicker formname dateformfieldname:)
which pops up a calendar and let the user pick a date which will be
copied into the formfield using javascript.
e.g.
(:fox myform ...:)
(:input text
Perhaps, but would it not be simpler to define a new
PageTextVariable pattern and markup to match?
After all the concept for PTVs is to have certain string patterns
automatically recognised as a PTV pattern, so a 'value' part of the
string can be shown by using a 'name' part.
How about
Hi !
I'm looking for a possibility to hide a part of a PTV when displaying a
page.
e.g.:
PTV in Pages's source:
(my-)PTVName: PTVValue
should define a PTV named my-PTVName with the value of PTVValue but
it should only be displayed as:
PTVName: PTVValue
Any ideas ?
Knut
Hans schrieb:
Monday, February 25, 2008, 6:34:44 PM, Knut Alboldt wrote:
(my-)PTVName: PTVValue
should define a PTV named my-PTVName with the value of PTVValue but
it should only be displayed as:
PTVName: PTVValue
ok, I see.
We don't have 'labels' like link labels, so I think we
: Re: [pmwiki-users] Error messages in PmForm don't stand out
Datum: Thu, 07 Feb 2008 20:58:18 +0100
Von: Knut Alboldt [EMAIL PROTECTED]
An: Sandy [EMAIL PROTECTED]
CC: pmwiki-users maillist Pmwiki-users@pmichaud.com
Referenzen: [EMAIL PROTECTED]
Hi Sandy !
I tested it using the following Form
Hi !
What's the where-option doing ? Ok, it places something somewhere, but
what ?
- new fields on an existing page ?
- when is it useable (when using saveto= or mailto= ?)
And in which markup is it used ?
Knut
___
pmwiki-users mailing list
starting with pmform.
Knut
Knut Alboldt schrieb:
Hi !
I tried to use pmform (instead of ZAP) to support form-input for some
datapages.
Tried the samples, worked well.
Extended some of the definition, now I get the problem, that the data
aren't written back any more.
Implemented a trace
I've got another Problem with pmform:
I'm using lines like:
!Hardware:
in my pages. Without PmForm, all is rendered well:
h1
Hardware:/h1p
With PmForm aktivated, it will be rendered into:
h1
div class='property-Hardware'Hardware:/h1p/div
which is not quite right HTML (the h1 is closed
Hi !
I tried to use pmform (instead of ZAP) to support form-input for some
datapages.
Tried the samples, worked well.
Extended some of the definition, now I get the problem, that the data
aren't written back any more.
Implemented a trace in pmform.php and found out that the call of
Hi !
Jon Fowler schrieb:
Hi Ben,
Followed your instructions but now get:
Unable to include adodb.inc.php
Instead of my home page.
Any ideas?
Is ADODB installed on your site ?
If yes, is the directory of the file adodb.inc.php within the specified
PHP-Include-Path ?
You should check
Guillermo Calderon - INCO schrieb:
Stirling Westrup wrote:
What are the legal characters in the name of a PTV? Looking at the regexes
inside pmwiki.php (latest version), I see:
$PageTextVarPatterns = array(
'var:'= '/^(:*\\s*(\\w[-\\w]*)\\s*:[ \\t]?)(.*)($)/m',
'(:var:...:)' =
Michel schrieb:
Hello,
I wish to import in PmWiki over than 3,500 text files created by another
tool.
Please, what is the best way to build category lists :
- to add something in the translation script, like creating 'targets='
field, or other fields, or creating/updating another files) ?
Michel schrieb:
Le Thu, 20 Sep 2007 21:54:03 +0200, Knut Alboldt a écrit :
that's what I did for (perl-)mass-import: added a target=-line to the
generated pmwiki-page-files for each references category
I have inserted the 'target=' field in the files, without result.
Perhaps because
Is it possible to nest pagelists ?
e.g.:
major page:
(:pagelist group=a name=* fmt=#include:)
some pages a.a with
(:pagelist group=b name=* fmt=#any:)
if yes, how can I reference variables which are inside the included page
text ?
Knut
___
Hi David !
David Fionda schrieb:
3.) Also, can I create a page in another application other than PM
WIki.
yes, you have to create simple text pages which have the
pmwiki-format. I did this using perl (any other script-language will do
it) to parse a CSV-file into several pmwiki-pages
I
Hi Patrick !
Thanks a lot !
$pagename = ResolvePageName($pagename);
that works well.
You might also want to update the format string:
$ButtonCopyPage = FmtPageName('tda id=copy
href={$ScriptUrl}?n=Site.$[CopyPage]?group={$Group}?template={$FullName}
title=$[copy contents
-Nachricht
Betreff: [pmwiki-users] problem with fomatpagename
Datum: Sun, 02 Sep 2007 07:45:47 +0200
Von: Knut Alboldt [EMAIL PROTECTED]
An: pmwiki-users maillist Pmwiki-users@pmichaud.com
Hi !
After updating to a new beta-release, I've got some problems with the
FmtPageName-Function
the recipe online.
I think I start trying your recipe first (cause I have't handled with
fileuploads in PHP before) to get familiar with file uploading, so give
me a bit of time ...
Knut
Hans schrieb:
Thursday, August 30, 2007, 8:38:19 PM, Knut Alboldt wrote:
Hans schrieb:
The Forms page
Hi !
I've created a file zapdocsnew.zip, where the groups of the ZAP pages
are changed to ZAP* (i.e. added a Suffix ZAP to all groupnames) and the
references are (hopefully all) changed accordingly.
I've uploaded this to the Cookbook.ZAPFormProcessor page.
Maybe the pagelist group=Demo-etc
Knut Alboldt schrieb:
PS: I did not follow the lists entry about the development of the PmForm
module. How is the status ?
found what I was looking for:
pmwiki.org/pmform + pmwiki.org/Cookbook.PmForm
Knut
___
pmwiki-users mailing list
pmwiki-users
Patrick R. Michaud schrieb:
Out of curiosity, what version of PHP are you using?
If you're running PHP 5.2.0 or later, then the problem may be
related to the pcre.backtrack_limit configuration setting, which
was added in PHP 5.2.0 . This setting limits the amount of
work that pcre will
Hi Patrick !
Patrick R. Michaud schrieb:
PmWiki's {$var} markup doesn't recognize spaces or hyphens
in variable names... so in order for that to work we'd also
have to redefine the {$var} markup.
... snip ...
# {$var} substitutions
Markup('{$var}', '$[phrase]',
same if I want to use a pagetextvariable containing a dash in the name like:
{=$:IP-Address}
Knut
Original-Nachricht
Betreff: Re: [pmwiki-users] PageTextVariable: own automatic variable
format
Datum: Sat, 09 Jun 2007 18:33:07 +0200
Von: Knut Alboldt [EMAIL PROTECTED
Ok, I found the place where to change:
pagelist.php
function FPLTemplate
changing part of 3 regex from (\\$:?\\w+*)\\} to (\\$:?\\w[ -\\w]*)\\}
Patrick, would there be any possibility to do this by a SDV in future
releases ?
Knut
Knut Alboldt schrieb:
same if I want to use
I've got two aproaches to that kind of problem (used in a project plan
managed by pmwiki), although I enter the date directly, not using ZAP:
1. you could set fields with that form input into your page like:
:start: DATEVALUE-ENTERED-BY-FORM
and reprocess this using rospatterns calling a date
Patrick R. Michaud schrieb:
On Mon, Jun 04, 2007 at 11:18:20PM +0200, Knut Alboldt wrote:
I read the docs and tried to analyse the php-code but I still got a
question:
Is it possible to define a pagelist selection using a pagetextvariable
and displaying all pages which do not have
Hi !
is there already a markup list all pagetextvariables (e.g. for debugging) ?
If not I could release a short cookbook.recipe
Knut
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
I read the docs and tried to analyse the php-code but I still got a
question:
Is it possible to define a pagelist selection using a pagetextvariable
and displaying all pages which do not have a certain value of that
pagetextvar, e.g. show all pages of group with a content of pagetextvar
please help !
I upgraded yesterday to 2.2.0.beta52 and got some problems with my own
markups, so I switched back to beta45 (just using symlinks to pmwiki-dir).
Now I can'r edit my pages anymore, every time i try to save I got the
edit-box back, like the page has been edited by two authors
Knut Alboldt schrieb:
please help !
I upgraded yesterday to 2.2.0.beta52 and got some problems with my own
markups, so I switched back to beta45 (just using symlinks to pmwiki-dir).
Now I can'r edit my pages anymore, every time i try to save I got the
edit-box back, like the page has
Patrick R. Michaud schrieb:
inserted in the correct location.
The correct form has always been 'directives' (with an 's'),
but versions of PmWiki prior to beta46 would still process
markup rules that had improper 'when' values. Unfortunately,
it would process them at the wrong time, which
[EMAIL PROTECTED] schrieb:
On Thu, 17 May 2007, Knut Alboldt wrote:
Well I think, collecting the data isn't to hard:
- a group for persons, locations, date-tables etc
- one page per person, the fields could be adapted from other existing
good application (e.g PAF)
- like in PAF, a person's
Vince Administration schrieb:
I think it is really important that the system be able to read and
probably write standard GeD (? files).
absolutely ! im- and export
All the geneology programs use this as a flat file database format. I
have collected such data, and
would not want to start
Hi !
Has anybody experiences with the implementation of a genealogy
application with pmwiki ?
Knut
___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
Hi Jan !
J. Meijer schrieb:
Hi Knut, long time no see.
yes, stopped developing my wiki the last month and started to use it -
quite successful. Ok and now I need some more extensions so these
questions start again ...
Has anybody already got some experiences with timeline ?
I don't
Hi !
Still working on how to use PMWIKi for project management with nice
gantt-output.
My first attempt with jpgraph got stuck (it's getting rather complex).
I now discovered timeline which also looks quite good.
Has anybody already got some experiences with timeline ?
The implementation
Lindsay Todd schrieb:
Anyone have a suggestion on how I could get a calendar that efficiently
constructs entries from page text variables of pages in a Contacts (or
People) group? Or some other approach that is efficient and will be
flexible enough to allow me to correct dates I've
Kathryn Andersen schrieb:
On Wed, Mar 21, 2007 at 10:04:24AM +0100, Knut Alboldt wrote:
Lindsay Todd schrieb:
one page for every event containing PageTextvars, e.g. page
Calendar.ThisAndThat:
Calender: MyCal1
Date: [[!11.11.2002]]
Just a little note: remember that Categories are pages
can I use pagetextvariables in pagelist-templates, e.g.:
Site.Localtemplates contains definition:
fmt=#caldetails
Concatenate the text of pages in the list. (Note, this can be an
expensive operation!)
[[#caldetails]]
!!! [[{=$FullName}|+]] FULLNAME={=$FullName} DATE={{=$FullName}$:Date}
Patrick R. Michaud schrieb:
It should be just {=$:Date}.
[[#caldetails]]
!!! [[{=$FullName}|+]] FULLNAME={=$FullName} DATE={=$:Date}
...
[[#caldetailsend]]
What version of PmWiki are you using?
just updated to 2.2.beta37 before
Is there a url we could look at?
no, sorry,
68 matches
Mail list logo