[pmwiki-users] ZAPchat module completed...back to forms

The Editor editor at fast.st
Thu Nov 16 11:25:37 CST 2006


On 11/16/06, Jiri Hladůvka / OBUTEX <admin at obutex.com> wrote:
> Congratulations, Caveman
>
> After you have some rest and sleep (finaly) I would like to diskus
> the commands restrictions in ZAPform.
>
> The visitor editing in magicbox cannot use the (:if ... (:toc ...
> (:pagelist ...
> and other useful features.
> The restriction is due to not create other form inside magicbox.
> I think that only dangerous commands should be disabled like
> (:form
> (:input
> (:data
> ...

This would be nice, if someone wanted to try and come up with the code
I'd consider including it.  The current protection is a very simple
process.

It would also conflict with the format data is stored in, which is
itself a directive.


> Or there could be some swith commad when creating form which allows (:
> commands
>
> What do you think?

There already is!  Take a look at the unprotect feature.  You can use
it to permit directives to be stored in specified text variables.

Or alternately, use the (:keep {$var}:) directive to restore the
directives that were disabled when you load the variable into the
page.  These don't have to just be used in textarea boxes.

Cheers,
Caveman


More information about the pmwiki-users mailing list