For more information... RTFM!
NAVIGATION
PAGES THAT LINK HERE
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

ValuesDefault

Define a default value for a user value variable.

Synopsis

ValuesDefault  name value

You can set defaults for multiple user value variables at once by using the Perl-style "here document" syntax, as follows:

ValuesDefault  <<EOV
    name1  value1
    name2  value2
EOV

Scope

This directive is only available for use in the local (catalog.cfg) configuration file.  It will not affect any other website in any way.  This directive will not work in the global (interchange.cfg) configuration file. 

Description

This directive initialises a user value variable to a chosen value whenever a new user session is created.

Example

Initialise a user's name to "New User"

ValuesDefault  fname  New
ValuesDefault  lname  User

See also

Category:  Local config directives
Last modified by: Kevin Walsh
Modification date: Thursday 12 July 2007 at 9:22 AM (EDT)
Home  |  Legal nonsense  |  Privacy policy  |  Contact us