In 4.0, we switched from [session ...] to [command ...]. [session] is now
deprecated.

Basically it looks like [command savedata somefield page=some.page].

savedate is the command name
somefield is the value assigned to that command
page=some.page is the first of any number of args that can be passed to the
command.

Adding args like this is new in 4.0.

Commands are very similar to functions used within a page (except they are
used exclusively in forms):

[(time {now} fmt=%x)]

time is the function name
{now} is the value assigned to that function
fmt=%x is an arg passed to the function.

All the commands are in commands.php, and the functions are in
functions.php. You can create new ones of either by simply defining them in
config.php. Just model them on a similar one.

Hope this helps...

Cheers,
Dan



On Thu, Jun 19, 2014 at 4:56 AM, TheOldFellow <[email protected]>
wrote:

> Thanks Dan, not tried it yet.  Where is the [command... syntax defined?  I
> have not found it yet.
> TOF.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "BoltWire" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/boltwire.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/boltwire.
For more options, visit https://groups.google.com/d/optout.

Reply via email to