.\" Automatically generated by Pod::Man version 1.15 .\" Wed May 5 11:41:41 2004 .\" .\" Standard preamble: .\" ====================================================================== .de Sh \" Subsection heading .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. | will give a .\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used .\" to do unbreakable dashes and therefore won't be available. \*(C` and .\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> .tr \(*W-|\(bv\*(Tr .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\} .\" .\" If the F register is turned on, we'll generate index entries on stderr .\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and .\" index entries marked with X<> in POD. Of course, you'll have to process .\" the output yourself in some meaningful fashion. .if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} .\" .\" For nroff, turn off justification. Always turn off hyphenation; it .\" makes way too many mistakes in technical documents. .hy 0 .if n .na .\" .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). .\" Fear. Run. Save yourself. No user-serviceable parts. .bd B 3 . \" fudge factors for nroff and troff .if n \{\ . ds #H 0 . ds #V .8m . ds #F .3m . ds #[ \f1 . ds #] \fP .\} .if t \{\ . ds #H ((1u-(\\\\n(.fu%2u))*.13m) . ds #V .6m . ds #F 0 . ds #[ \& . ds #] \& .\} . \" simple accents for nroff and troff .if n \{\ . ds ' \& . ds ` \& . ds ^ \& . ds , \& . ds ~ ~ . ds / .\} .if t \{\ . ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" . ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' . ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' . ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' . ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' . ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} . \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' .ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E . \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' . \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ . ds : e . ds 8 ss . ds o a . ds d- d\h'-1'\(ga . ds D- D\h'-1'\(hy . ds th \o'bp' . ds Th \o'LP' . ds ae ae . ds Ae AE .\} .rm #[ #] #H #V #F C .\" ====================================================================== .\" .IX Title "icvariables 8" .TH icvariables 8 "Interchange 5.2.0" "2004-05-05" "Interchange" .UC .SH "NAME" icvariables \- Interchange Programmer Variables Reference .SH "DESCRIPTION" .IX Header "DESCRIPTION" .SH "Interchange Special Variables" .IX Header "Interchange Special Variables" Interchange defines some special variables which control behavior. They can be of several types, and the conventions for using them depend on whether you have based your catalog and server on the standard \*(L"foundation\*(R" distribution. .PP We will distinguish between these by calling intrinsic variables \s-1CORE\s0 variables, noting the distribution variables as \s-1DISTRIBUTION\s0, and noting the foundation catalog practices as \s-1FOUNDATION\s0. .if n .Ip """""Variable"""" configuration file definitions" 4 .el .Ip "``Variable'' configuration file definitions" 4 .IX Item ""Variable configuration file definitions" .PP Defined in interchange.cfg or catalog.cfg with the Variable configuration directive, these are accessed with: .PP .Vb 8 \& Access in ITL with From \& ----------------------- ------------------- \& __VARNAME__ (catalog.cfg only) \& @_VARNAME_@ (catalog.cfg, falls back to interchange.cfg) \& @@VARNAME@@ (interchange.cfg only) \& [var VARNAME] (catalog.cfg only) \& [var VARNAME 1] (interchange.cfg only) \& [var VARNAME 2] (catalog.cfg, falls back to interchange.cfg) .Ve .Vb 6 \& Embedded Perl From \& ----------------------- ------------------- \& $Variable->{VARNAME} (catalog.cfg only) \& $Tag->var('VARNAME') (catalog.cfg only) \& $Tag->var('VARNAME', 1) (interchange.cfg only) \& $Tag->var('VARNAME', 2) (catalog.cfg, falls back to interchange.cfg) .Ve .Vb 7 \& Global subs / Usertags From \& ----------------------- ------------------- \& $::Variable->{VARNAME} (catalog.cfg only) \& $Tag->var('VARNAME') (catalog.cfg only) \& $Tag->var('VARNAME', 1) (interchange.cfg only) \& $Tag->var('VARNAME', 2) (catalog.cfg, falls back to interchange.cfg) \& $Global::Variable->{VARNAME} (interchange.cfg only, only in Global code) .Ve Variables set with \fIVariable\fR are not normally modified dynamically, though you can do it as a part of the \fIAutoload\fR routine or in other code. They will not retain the value unless \fIDynamicVariables\fR is in use. .Ip "Scratch" 4 .IX Item "Scratch" .PP User scratch variables are initialized whenever a new user session is created. They start with whatever is defined in the ScratchDefault directive in catalog.cfg; otherwise they are not defined. .PP .Vb 4 \& Access in ITL with Attributes \& ----------------------- ------------------- \& [scratch varname] Displays \& [scratchd varname] Displays and deletes .Ve .Vb 4 \& Embedded Perl From \& ----------------------- ------------------- \& $Scratch->{varname} Accessor \& $Session->{scratch}{varname} Equivalent .Ve .Vb 4 \& Global subs / Usertags From \& ----------------------- ------------------- \& $::Scratch->{varname} Accessor \& $::Session->{scratch}{varname} Equivalent .Ve They can be set in several ways: .PP .Vb 6 \& Set in ITL with Attributes \& ----------------------- ------------------- \& [set varname]VAL[/set] Sets to VAL, no interpretation of ITL inside \& [seti varname]VAL[/seti] Sets to VAL, interprets ITL inside \& [tmpn varname]VAL[/tmpn] Sets to VAL, no ITL interpretation, temporary \& [tmp varname]VAL[/tmp] Sets to VAL, interprets ITL inside, temporary .Ve .Vb 4 \& Embedded Perl From \& ----------------------- ------------------- \& $Scratch->{varname} = 'VAL'; Sets to VAL \& $Tag->tmp(varname); Set as temporary, must set value afterwards. .Ve .Vb 3 \& Global subs / Usertags From \& ----------------------- ------------------- \& $::Scratch->{varname}='a' Sets to a .Ve .Ip "\s-1CGI\s0" 4 .IX Item "CGI" .PP \&\s-1CGI\s0 variables are the raw data which comes from the user. .Ip "" 4 \&\s-1WARNING:\s0 It is a security risk to use these variables for display in the page. .PP You can use them for testing without worry, though you should never set their value into a database or display on the page unless you have processed them first, as they can have arbitrary values. The most common security risk is displaying \s-1HTML\s0 code, which allows remote scripting exploits like cookie-stealing. .PP .Vb 5 \& [calc] \& #### DO NOT DO THIS!!!! \& my $out = $CGI->{varname}; \& return $out; \& [/calc] .Ve That will transform the value. If you wish to output a safe value but keep the actual value intact, do: .PP .Vb 5 \& [calc] \& #### This is safe, makes value safe for rest of page \& my $out = $Tag->cgi( { name => 'varname', filter => 'entities' } ); \& #### This is safe too, doesn't transform value \& my $other = $Tag->filter($CGI->{varname}, 'entities'); .Ve .Vb 3 \& ### Now you can return stuff to the page \& return $out . $other; \& [/calc] .Ve The access methods are: .PP .Vb 4 \& Access in ITL with Attributes \& ----------------------- ------------------- \& [cgi varname] Doesn't stop ITL code, don't use! \& [cgi name=varname filter=entities] Use this for safety .Ve .Vb 3 \& Embedded Perl From \& ----------------------- ------------------- \& $CGI->{varname} Don't use for output values! .Ve They can be set as well. .PP .Vb 4 \& Set in ITL with Attributes \& ----------------------- ------------------- \& [cgi name=varname set="VAL"] Sets to VAL, VAL can be ITL, shows VAL \& [cgi name=varname set="VAL" hide=1] Sets to VAL, VAL can be ITL, no output .Ve .Vb 4 \& Embedded Perl From \& ----------------------- ------------------- \& $CGI->{varname} = 'VAL'; Sets to VAL, next access to [cgi varname] \& shows new value .Ve .Ip "Values" 4 .IX Item "Values" .PP User form variables are initialized whenever a new user session is created. They start with whatever is defined in the \&\fI\fR directive in catalog.cfg; otherwise they are not defined except as called out in other configuration directives, i.e. the obsolete DefaultShipping. .PP .Vb 3 \& Access in ITL with Attributes \& ----------------------- ------------------- \& [value varname] Displays .Ve .Vb 3 \& Embedded Perl From \& ----------------------- ------------------- \& $Values->{varname} Accessor .Ve They can be set as well, though the normal method of setting is from user input via form. If Interchange receives an action which performs the update of values (by default go or return, refresh, or submit), the value of \s-1CGI\s0 variables will be transferred to them subject to other considerations (FormIgnore settings, credit card variables, etc., discussed below).!block example .PP .Vb 4 \& Set in ITL with Attributes \& ----------------------- ------------------- \& [value name=varname set="VAL"] Sets to VAL, VAL can be ITL, shows VAL \& [value name=varname set="VAL" hide=1] Sets to VAL, VAL can be ITL, no output .Ve .Vb 4 \& Embedded Perl Attributes \& ----------------------- ------------------- \& $Values->{varname} = 'VAL'; Sets to VAL, next access to \& [value varname] shows new value .Ve .Ip "Session variables" 4 .IX Item "Session variables" .PP You can also directly access the user session. Normally you don't set these values unless you are an experienced Interchange programmer, but there are several values that are frequently used. .PP One example is username, which holds the logged-in user's username. .PP .Vb 3 \& Access in ITL with Attributes \& ----------------------- ------------------- \& [data session username] Displays .Ve .Vb 3 \& Embedded Perl From \& ----------------------- ------------------- \& $Session->{username} Accessor .Ve They can be set as well, but if you are experienced enough to contemplate doing these things you will easily be able to figure it out. .Ip "Values not transmitted from \s-1CGI\s0" 4 .IX Item "Values not transmitted from CGI" .PP The following variables are never copied from \s-1CGI:\s0 .PP .Vb 19 \& mv_todo \& mv_todo.submit.x \& mv_todo.submit.y \& mv_todo.return.x \& mv_todo.return.y \& mv_todo.checkout.x \& mv_todo.checkout.y \& mv_todo.todo.x \& mv_todo.todo.y \& mv_todo.map \& mv_doit \& mv_check \& mv_click \& mv_nextpage \& mv_failpage \& mv_successpage \& mv_more_ip \& mv_credit_card_number \& mv_credit_card_cvv2 .Ve You can define more with the FormIgnore catalog.cfg directive. .Ip "Global program variables" 4 .IX Item "Global program variables" .PP If you are programming a GlobalSub or global UserTag, you have access to all Interchange facilities including all the preset variables and configuration directives. .PP The Global package is used to hold variables that are set at program start and whose value is retained. .PP The Vend package is used for variables that might be set at some point during program execution, but that will always be reset to undefined at the end of the transaction. .PP One example is \f(CW$Vend::Cookie\fR, which holds the raw cookie value sent by the user. .PP If you are going to set or access these variables, you should be getting your documentation from the source code. .SH "IC Variables" .IX Header "IC Variables" .Sh "Standard global (interchange.cfg) Variable values" .IX Subsection "Standard global (interchange.cfg) Variable values" .Ip "" 4 \&\fI\s-1CGIWRAP_WORKAROUND\s0\fR .Sp \&\fI\s-1IMAGE_MOGRIFY\s0\fR .Ip "\s-1CGIWRAP_WORKAROUND\s0" 4 .IX Item "CGIWRAP_WORKAROUND" .PP Used in Vend/Dispatch.pm. Implemented to Fix Cobalt/CGIwrap problem. If set to 1, it removes the scriptname from the \s-1URL\s0 pathinfo. .Ip "\s-1IMAGE_MOGRIFY\s0" 4 .IX Item "IMAGE_MOGRIFY" .PP Used in code/SystemTag/image.tag. Specifies the location of mogrify command. If ImageMagick is installed, you can display an arbitrary size of the image, creating it if necessary. .Ip "\s-1LANG\s0" 4 .IX Item "LANG" .PD 0 .Ip "\s-1MV_DOLLAR_ZERO\s0" 4 .IX Item "MV_DOLLAR_ZERO" .PD .PP Used in scripts/interchange.PL. This parameter specifies how Interchange will be displayed in ps command. This may not work on \s-1BSD\s0 based Kernels. .Ip "\s-1MV_FILE\s0" 4 .IX Item "MV_FILE" .PP Used in lib/Vend/File.pm. This is the filename of the most recently returned contents. This variable is not set in interchange.cfg, but is set by interchange while interchange is runnning. .Ip "\s-1MV_GETPPID_BROKEN\s0" 4 .IX Item "MV_GETPPID_BROKEN" .PP Used in lib/Vend/Server.pm. If configured, the server uses a syscall(\s-1MV_GETPPID_PROKEN\s0) instead of the perl function \fIgetppid()\fR to find the parent \s-1PID\s0. If \s-1MV_GETPPID_BROKEN\s0 is set to 1, the system uses syscall(64). .Ip "\s-1MV_MAILFROM\s0" 4 .IX Item "MV_MAILFROM" .PP Used in lib/Vend/Util.pm. If configured, it specifies the default email user address if it has not been set in catalog.cfg or variables.txt. Overrides the MailOrdersTo directive. .PP .Vb 3 \& my $from = $::Variable->{MV_MAILFROM} \& || $Global::Variable->{MV_MAILFROM} \& || $Vend::Cfg->{MailOrderTo}; .Ve .Ip "\s-1MV_NO_CRYPT\s0" 4 .IX Item "MV_NO_CRYPT" .PP Used in lib/Vend/UserDB.pm and lib/Vend/Util.pm. If configured, it disables the use of crypt or md5 hashing of passwords serverwide. .Ip "\s-1MV_PAGE\s0" 4 .IX Item "MV_PAGE" .PP Used systemwide. This is the relative path of the page being served without the suffix. This value is not set in interchange.cfg, but is set by interchange while interchange is running. This is often referenced as @@MV_PAGE@@. .Ip "\s-1MV_PREV_PAGE\s0" 4 .IX Item "MV_PREV_PAGE" .PP Used systemwide. This is the relative path of the last (previous) page that was served without the suffix. This value is not set in interchange.cfg, but is set by interchange while interchange is running. This is often referenced as @@MV_PREV_PAGE@@. .Ip "\s-1MV_SESSION_READ_RETRY\s0" 4 .IX Item "MV_SESSION_READ_RETRY" .PP Used in lib/Vend/Session.pm. This variable specifies the number of times that interchange will attemt to read the session file before failing. .PP The default value is 5. .Ip "\s-1UI_BASE\s0" 4 .IX Item "UI_BASE" .PP Used systemwide. This variable specifies the relative path to the admin interface. .PP The default value is 'admin'. .Ip "\s-1UI_IMAGE_DIR\s0" 4 .IX Item "UI_IMAGE_DIR" .PP Used within the admin and by code/SystemTag/image.tag. This variable specifies the relative path to the admin images and \s-1CSS\s0 definitions. It is set in dist/lib/UI/ui.cfg. .PP The default value is '/interchange-5/'. .Ip "\s-1UI_IMAGE_DIR_SECURE\s0" 4 .IX Item "UI_IMAGE_DIR_SECURE" .PP Used within the admin and by code/SystemTag/image.tag. This variable specifies the relative path to the admin images and \s-1CSS\s0 definitions while connecting via \s-1SSL\s0. It is set in dist/lib/UI/ui.cfg. .PP The default value is '/interchange-5/'. .Ip "\s-1UI_SECURITY_OVERRIDE\s0" 4 .IX Item "UI_SECURITY_OVERRIDE" .PP Used in dist/lib/UI/Primitive.pm. If configured and no \&\s-1UI_ACCESS_TABLE\s0 found, then it will return that there is an acl set. This would allow you to test acls See sub \fIui_acl_enabled()\fR for more details. .Sh "Standard catalog (catalog.cfg) Variable values" .IX Subsection "Standard catalog (catalog.cfg) Variable values" .Ip "\s-1ACTIVE_SESSION_MINUTES\s0" 4 .IX Item "ACTIVE_SESSION_MINUTES" .PP Used in code/UI_Tag/dump_session.coretag, lib/UI/pages/admin/genconfig.html and lib/UI/pages/admin/show_session.html. This variable overrides the \&\fISessionExpire\fR directive. .Ip "\s-1ADL_COMPONENT\s0" 4 .IX Item "ADL_COMPONENT" .PP Used in lib/UI/ui.cfg. This variable can be overriden by \&\s-1ADL_COMPONENT_TEMPLATE\s0. Apparently not used anywhere. .PP The default is: .PP .Vb 4 \& [page href="admin/content_editor" form=| \& ui_name=[control component] \& ui_type=component \& |][loc]edit[/loc] [control component] .Ve .Ip "\s-1ADL_COMPONENT_TEMPLATE\s0" 4 .IX Item "ADL_COMPONENT_TEMPLATE" .PP Used in lib/UI/ui.cfg. This variable can be used to override \&\s-1ADL_COMPONENT\s0. Apparently not used anywhere. .Ip "\s-1ADL_ITEM\s0" 4 .IX Item "ADL_ITEM" .PP Used in lib/UI/ui.cfg. The default is: .PP .Vb 7 \& [loc]edit[/loc] [loc]item[/loc] .Ve .Ip "\s-1ADL_ITEM_TEMPLATE\s0" 4 .IX Item "ADL_ITEM_TEMPLATE" .PP Used in lib/UI/ui.cfg. This variable can be used to override \&\s-1ADL_ITEM\s0. Apparently not used anywhere. .Ip "\s-1ADL_MENU\s0" 4 .IX Item "ADL_MENU" .PP Used in foundation/templates/components/product_flyout, foundation/templates/components/product_tree and lib/UI/ui.cfg. .PP The default value is: .PP .Vb 8 \& $::Variable->{ADL_MENU} = $::Variable->{ADL_MENU_TEMPLATE} || <[loc]edit[/loc] [loc]menu[/loc] .Ve .Ip "\s-1ADL_MENU_TEMPLATE\s0" 4 .IX Item "ADL_MENU_TEMPLATE" .PP Used in lib/UI/ui.cfg. This variable can be used to override \&\s-1ADL_MENU\s0. Apparently not used anywhere. .Ip "\s-1ADL_PAGE\s0 Used in the foundation templates \s-1LEFTONLY_BOTTOM\s0,LEFTRIGHT_BOTTOM, and \s-1NOLEFT_BOTTOM\s0 and lib/UI/ui.cfg. This variable defines how the admin edit page links are displayed." 4 .IX Item "ADL_PAGE Used in the foundation templates LEFTONLY_BOTTOM,LEFTRIGHT_BOTTOM, and NOLEFT_BOTTOM and lib/UI/ui.cfg. This variable defines how the admin edit page links are displayed." .PP The default is: .PP .Vb 7 \& [page href="admin/content_editor" form=" \& ui_name=[var MV_PAGE 1][var ADL_SUFFIX] \& ui_type=page \& "][loc]edit[/loc] [loc]page[/loc] \&[page href="[var MV_PAGE 1]" form=" \& ui_mozilla_edit=1 \& "][loc]show tags[/loc] .Ve .Ip "\s-1ADL_MENU_TEMPLATE\s0" 4 .IX Item "ADL_MENU_TEMPLATE" .PP Used in lib/UI/ui.cfg. This variable can be used to override \&\s-1ADL_PAGE\s0. .Ip "\s-1ADL_SUFFIX\s0" 4 .IX Item "ADL_SUFFIX" .PP Used in lib/UI/ui.cfg. It defaults to the value of the [\fIHTMLsuffix\fR] directive. It specifies the page suffix for links coming from \s-1ADL_PAGE\s0 at the bottom of the foundation template files. .Ip "\s-1BACKUP_DIRECTORY\s0" 4 .IX Item "BACKUP_DIRECTORY" .PP Used in code/UI_Tag/backup_database.coretag. This variable will override where the backup_database tab places the database backups. By default, the backups are placed in /backup. .Ip "\s-1BAR_LINK_TEMPLATE\s0" 4 .IX Item "BAR_LINK_TEMPLATE" .PP Used in the bar_link subroutine found in catalog_before.cfg. It defines how the links are displayed in the foundation/templates/components/category_horizontal, foundation/templates/components/category_vert_toggle and foundation/templates/components/category_vertical The default value is configured in variables.txt. The default is: .PP .Vb 1 \& $ANCHOR$ .Ve .Ip "\s-1CREATE_COMMAND_MYSQL\s0" 4 .IX Item "CREATE_COMMAND_MYSQL" .PP Used in code/UI_Tag/xfer_catalog.coretag. It allows one to override the command that is used create tables under mysql. The default is \&'mysqladmin create \f(CW%s\fR'. .Ip "\s-1CREATE_COMMAND_PG\s0" 4 .IX Item "CREATE_COMMAND_PG" .PP Used in code/UI_Tag/xfer_catalog.coretag. It allows one to override the command that is used create tables under PostgresSQL. The default is 'createdb \f(CW%s\fR'. .Ip "\s-1CUSTOMER_VIEW_LARGE\s0" 4 .IX Item "CUSTOMER_VIEW_LARGE" .PP Used in lib/UI/pages/admin/customer.html. It allows one to select not to build huge lists of customers every time you access the customer tab. The default is 0. .Ip "\s-1CYBER_ID\s0" 4 .IX Item "CYBER_ID" .PP Used in eg/globalsub/authorizenet, eg/globalsub/signio and lib/Vend/Payment/ECHO.pm. It specifies the vendor's \s-1ID\s0 for communicating with a payment gateway. .Ip "\s-1CYBER_PORT\s0" 4 .IX Item "CYBER_PORT" .PP Used in eg/globalsub/authorizenet, eg/globalsub/signio and lib/Vend/Payment.pm. Specifies the port over which to communicate with the gateway server. .Ip "\s-1CYBER_PRECISION\s0" 4 .IX Item "CYBER_PRECISION" .PP Used in eg/globalsub/authorizenet, eg/globalsub/signio, lib/Vend/Payment.pm and lib/Vend/Payment/ECHO.pm. It defines the precision of (the number of decimal points) used with the vendor gateway. If not defined, the default is 2. .Ip "\s-1CYBER_SCRIPT\s0" 4 .IX Item "CYBER_SCRIPT" .PP Used in eg/globalsub/authorizenet. It defines the path of the program on the payment gateway. if not set, it uses the default of \&'/gateway/transact.dll'. It is overriden by \s-1MV_PAYMENT_SCRIPT\s0 .Ip "\s-1CYBER_SECRET\s0" 4 .IX Item "CYBER_SECRET" .PP Used in eg/globalsub/authorizenet, eg/globalsub/signio, and lib/Vend/Payment/ECHO.pm. It defines the password the vendor used for autorization to the payment gateway. .Ip "\s-1CYBER_SERVER\s0" 4 .IX Item "CYBER_SERVER" .PP Used in eg/globalsub/authorizenet, eg/globalsub/signio, and lib/Vend/Payment/ECHO.pm. It overrides the address of the payment gateway. .Ip "\s-1DUMP_COMMAND_MYSQL\s0" 4 .IX Item "DUMP_COMMAND_MYSQL" .PP Used in code/UI_Tag/xfer_catalog.coretag. It allows one to override the command that is used create tables under mysql. .PP The default is 'mysqldump \-\-add-drop-table'. .Ip "\s-1DUMP_COMMAND_PG\s0" 4 .IX Item "DUMP_COMMAND_PG" .PP Used in code/UI_Tag/xfer_catalog.coretag. It allows one to override the command that is used create tables under PostgresSQL. The default is 'pg_dump \-c \-O'. .Ip "\s-1ECHO_PAYMENT_ID\s0" 4 .IX Item "ECHO_PAYMENT_ID" .PP Used in lib/Vend/Payment/ECHO.pm. Specifies your \s-1ECHO\s0 \s-1ID\s0. .Ip "\s-1ECHO_PAYMENT_PRECISION\s0" 4 .IX Item "ECHO_PAYMENT_PRECISION" .PP Used in lib/Vend/Payment/ECHO.pm. Specifies the number of digits of precision for the gateway. .Ip "\s-1ECHO_PAYMENT_SECRET\s0" 4 .IX Item "ECHO_PAYMENT_SECRET" .PP Used in lib/Vend/Payment/ECHO.pm. Specifies the password used to indentify the vendor. .Ip "\s-1ECHO_PAYMENT_SERVER\s0" 4 .IX Item "ECHO_PAYMENT_SERVER" .PP Used in lib/Vend/Payment/ECHO.pm. Specifies the address of the payment gateway. .Ip "\s-1FORUM_EMAIL_NOTIFY\s0" 4 .IX Item "FORUM_EMAIL_NOTIFY" .PP Used in foundation/pages/forum/reply.html. It is initially set to _\|_MVC_EMAILSERVICE_\|_ when the catalog is initially created. .Ip "\s-1FORUM_SUBMIT_EMAIL\s0" 4 .IX Item "FORUM_SUBMIT_EMAIL" .PP Used in foundation/pages/forum/submit.html. It specifies the email address that the forum submission should be sent to. .Ip "\s-1LANG\s0" 4 .IX Item "LANG" .PP Used in lib/Vend/Dispatch.pm and lib/Vend/File.pm. .Ip "\s-1MV_AUTOLOAD\s0" 4 .IX Item "MV_AUTOLOAD" .PP Used in lib/Vend/Interpolate.pm. It specifies the value to be placed in the beginning of the html if the \f(CW$Vend::PageInit\fR is defined and not 0. .Ip "\s-1MV_COMPONENT_DIR\s0" 4 .IX Item "MV_COMPONENT_DIR" .PP Used in code/UserTag/component.tag. If defined, it specifies a directory location where the components will be located. If not defined, code/UserTag/component.tag looks in templates/components. .Ip "\s-1MV_COUNTRY_FIELD\s0" 4 .IX Item "MV_COUNTRY_FIELD" .PP Used in lib/Vend/Interpolate.pm. If defined, it specifies the field to be used in tax/vat calculations. If undefined, the value \&'country' is used. .Ip "\s-1MV_COUNTRY_TABLE\s0" 4 .IX Item "MV_COUNTRY_TABLE" .PP Used in lib/Vend/Interpolate.pm. If defined, it specifies the table to be used in tax/vat calculations. If undefined, the value \&'country' is used. .Ip "\s-1MV_COUNTRY_TAX_FIELD\s0" 4 .IX Item "MV_COUNTRY_TAX_FIELD" .PP Used in lib/Vend/Interpolate.pm. If defined, it specifies the field used to look up the tax. If undefined, the value 'tax' is used. .Ip "\s-1MV_CREDIT_CARD_INFO_TEMPLATE\s0" 4 .IX Item "MV_CREDIT_CARD_INFO_TEMPLATE" .PP Used in sub \fIbuild_cc_info()\fR in /lib/Vend/Order.pm. If not defined, the following template is used: .PP .Vb 6 \& join("\et", qw( \& {MV_CREDIT_CARD_TYPE} \& {MV_CREDIT_CARD_NUMBER} \& {MV_CREDIT_CARD_EXP_MONTH}/{MV_CREDIT_CARD_EXP_YEAR} \& {MV_CREDIT_CARD_CVV2} \& )) . "\en"; .Ve .Ip "\s-1MV_DEFAULT_SEARCH_DB\s0" 4 .IX Item "MV_DEFAULT_SEARCH_DB" .PP Used in lib/Vend/Scan.pm. Specifies that an unspecified (default) search will be a db search, not a text search. It is set to 1 in variable.txt .Ip "\s-1MV_DEFAULT_SEARCH_FILE\s0" 4 .IX Item "MV_DEFAULT_SEARCH_FILE" .PP Used in lib/Vend/Config.pm, lib/Vend/Glimpse.pm and lib/Vend/TextSearch.pm. It specifies the file to be used for text searches by default. It is set to products in catalog_before.cfg and foundation/catalog.cfg. .Ip "\s-1MV_DEFAULT_SEARCH_TABLE\s0" 4 .IX Item "MV_DEFAULT_SEARCH_TABLE" .PP Used in lib/Vend/Config.pm, lib/Vend/DbSearch.pm and lib/Vend/RefSearch.pm. It specifies the table to be used for searches by default. It is set to products in catalog_before.cfg and foundation/catalog.cfg. .Ip "\s-1MV_ERROR_STD_LABEL\s0" 4 .IX Item "MV_ERROR_STD_LABEL" .PP Used in code/SystemTag/error.coretag. If defined, it overrides the default error imessage in the stdlabel field. If undefined, the following template is used. .PP .Vb 2 \& {LABEL} (%s) \& [else]{REQUIRED }{LABEL}{REQUIRED }[/else] .Ve .Ip "\s-1MV_NO_CRYPT\s0" 4 .IX Item "MV_NO_CRYPT" .PP Used in lib/Vend/UserDB.pm and lib/Vend/Util.pm. If configured, it disables the use of crypt or md5 hashing of passwords for the individual catalog. .Ip "\s-1MV_OPTION_TABLE_MAP\s0" 4 .IX Item "MV_OPTION_TABLE_MAP" .PP Used in lib/Vend/Config.pm, lib/Vend/Data.pm and lib/Vend/Options/Old48.pm. It is a quoted space-delimited list of fields in the form of \*(L"field1=field2\*(R" to map options into. .Ip "\s-1MV_OPTION_TABLE\s0" 4 .IX Item "MV_OPTION_TABLE" .PP Used in foundation/products/variable.txt, lib/UI/pages/admin/item_option_phantom.html, lib/UI/pages/admin/item_option_old.html, lib/UI/ui.cfg, lib/Vend/Config.pm, lib/Vend/Options.pm and lib/Vend/Options/Simple.pm. If the Interchange variable \&\s-1MV_OPTION_TABLE\s0 is not set, it defaults to \*(L"options\*(R", which combines options for Simple, Matrix, and Modular into that one table. This goes along with foundation and construct demos up until Interchange 4.9.8. .Ip "\s-1MV_PAYMENT_ID\s0" 4 .IX Item "MV_PAYMENT_ID" .PP Used in eg/globalsub/authorizenet, eg/globalsub/signio, /foundation/catalog.cfg, /foundation/products/variable.txt, lib/Vend/Payment/AuthorizeNet.pm, lib/Vend/Payment/BoA.pm, lib/Vend/Payment/ECHO.pm, lib/Vend/Payment/PSiGate.pm, lib/Vend/Payment/Signio.pm, lib/Vend/Payment/Skipjack.pm, lib/Vend/Payment/TestPayment.pm, lib/Vend/Payment/WellsFargo.pm, lib/Vend/Payment/iTransact.pm. Specifies your merchant \s-1ID\s0 for your payment gateway. .Ip "\s-1MV_PAYMENT_MODE\s0" 4 .IX Item "MV_PAYMENT_MODE" .PP Payment Gateway Which payment processor module you wish to use. The default value is not set. Valid values are : authorizeneti, boa, echo, mcve, psigate,signio, skipjack, trustcommerce, testpayment, wellsfargo, itransact and linkpoint. .Ip "\s-1MV_PAYMENT_PRECISION\s0" 4 .IX Item "MV_PAYMENT_PRECISION" .PP Specifies the number of digits of precision for the gateway. .Ip "\s-1MV_PAYMENT_SECRET\s0" 4 .IX Item "MV_PAYMENT_SECRET" .PP Specifies the password used to indentify the vendor. .Ip "\s-1MV_PAYMENT_SERVER\s0" 4 .IX Item "MV_PAYMENT_SERVER" .PP Specifies the address of the payment gateway. .Ip "\s-1MV_PAYMENT_TEST\s0" 4 .IX Item "MV_PAYMENT_TEST" .PP Used in eg/globalsub/authorizenet, lib/Vend/Payment/AuthorizeNet.pm and lib/Vend/Payment/PSiGate.pm. Specifies that the gateway is in testing mode. .Ip "\s-1MV_SHIP_ADDRESS_TEMPLATE\s0 Used in lib/Vend/Interpolate.pm. Overrides the default template used in \fItag_address()\fR." 4 .IX Item "MV_SHIP_ADDRESS_TEMPLATE Used in lib/Vend/Interpolate.pm. Overrides the default template used in tag_address()." .PP If not set, the template used is: .PP .Vb 5 \& $template .= "{company}\en" if $addr->{"${pre}company"}; \& $template .= <