[pmwiki-users] AddDeleteLine version 2.0beta2

The Editor editor at fast.st
Fri Sep 22 11:53:53 CDT 2006

Hi Nils!

I have not really looked that closely at the AddDeleteLine recipe that
much before, but I was VERY impressed looking at it this time.  Very
powerful.  Now that I've gotten into developing something very similar
in FAST Data's logging feature, I realize how flexibly yours works.

I'm wondering if you think there is any merit in trying to merge these
two together? I have my own psuedo-template system for log entries,
but it is not as powerful as yours--or at least not as easy to use.
Perhaps it could be as simple as just adding a "LogFmt" field to a
form which could be set to a page template, or a single line format,
or perhaps other possibilities.  I think it would be fairly easy to
do. And would advance FAST Data capabilities significantly.

While I'm thinking about it, could probably use the same approach to
set up EmailFmt's. Any thoughts?


On 9/22/06, Nils Knappmeier <nk at knappi.org> wrote:
> Hi everyone,
> I have decided that the time has come to change the AddDeleteLine recipe
> to version 2.0 (beta still). Except from the bugs that I fixed in the
> last two days (with the help of Michael Gleicher who pointed me there),
> I have made some changes that make the new version cleaner then the
> original recipe. Version 2.0 is however not compatible to version 1,
> since it uses different markup.
> The major changes are:
> - In order to clarify, where the markup comes from, all the directives
> have been changed to begin with (:adl ...:)
> - The (:textfield:) and (:submit:) directives have been removed, since
> they can be provided by PmWiki-Forms.
> - The process of deleting lines has been changed internally, so that
> ambiguities do not appear anymore.
> - Delete-buttons can delete lines, even if they are included into
> another page, using the (:include:) directive.
> - It i's now possible to delete multi-line entries with the delete-button!
> - The template can also be read from a wiki-page, which is more suitable
> for multi-line entries
> The features of the later revisions of version 1 are also present in
> version 2:
> - The {date:fmt} and {strftime:fmt} markup can be used in the template
> to insert the current date into the
>   added data.
> - The (:adl form name target=PageName:) provides an easy way to direct
> the output to a different page.
> The current version is 2.0beta2 and can be downloaded from
>    http://www.pmwiki.org/wiki/Cookbook/AddDeleteLine2
> an example and playground page is set up at
>    http://www.knappi.org/v2/index.php/Adl2/Adl2
> Have fun,
>    Nils
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users

More information about the pmwiki-users mailing list