Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 30, 2007
  1. @pajamian
Commits on Nov 8, 2005
  1. @jonjensen
Commits on Feb 10, 2005
  1. @docelic
Commits on Jul 1, 2003
  1. @racke

    Call tracking functions only if Vend::Track object exists.

    racke authored
    E.g. in jobs tracking isn't enabled.
    Disabling tracking with a configuration option might follow
    as well.
Commits on Jan 29, 2002
  1. @perusionmike

    * The great tag breakout!

    perusionmike authored
    	* Almost all tags are now UserTag definitions. The only exceptions
    	  are:
    
    		and bounce goto if label or unless
    
        * New TagDir directive (default is VENDROOT/code) sets the
    	  directory (or directories) which are searched for code definitions
    	  set by UserTag and CodeDef.
    
    	* New TagGroup directive establishes groups of ITL tags which can
    	  be included.
    
    	  	TagGroup :crufty "banner default ecml html_table onfly sql"
    
    	  The default groups include :core, which contains all of the
    	  ITL tags defined in 4.8/early 4.9. The groups are defined
    	  in $Vend::Cfg::StdTags and can be undefined if desired
    	  with "TagGroup :group".
    
    	* New TagInclude directive allows inclusion of tags (or groups
    	  of tags). If a tag is defined as a core tag (with a .coretag
    	  or .tag or .ct extension) and is not included, it will not
    	  be compiled and placed in the tag map. This is for all catalogs,
    	  so if *any* catalog uses a tag it must be included.
    
    	  Examples:
    
    		# Include the base tags
    	  	TagInclude :core
    
    		# Not the commerce tags
    		TagInclude !:commerce
    
    		# But make sure item-list is included even though
    		# it is in :commerce
    		TagInclude item-list
    
    		## Double negatives are honored
    		TagGroup    :foo "bar !baz buz"
    		## With the group above, the below is equivalent
    		## to TagInclude !bar baz !buz
    		TagInclude !:foo
    
        * New CodeDef directive allows the setting of filters,
    	  order checks, FormAction, ActionMap, ItemAction,
    	  and LocaleChange.
    
    			## filters
    			CodeDef  mixedcase Filter
    			CodeDef  mixedcase Routine <<EOR
    			sub {
    				my $val = shift;
    				## [filter mixedcase]mixed case[/filter]
    				## outputs "MiXeD CaSe"
    				$val =~ s/(.)(.)/\u$1\l$2/g;
    				return $val;
    			}
    			EOR
    
    			## order checks
    			CodeDef  mixedcase OrderCheck
    			CodeDef  foo  Routine <<EOR
    			sub {
    				my ($ref, $var, $val) = @_;
    				return (1,$var) if $val eq 'bar';
    				return (0,$var, "foo must be bar");
    			}
    			EOR
    
    	   All work in catalog.cfg; LocaleChange and ItemAction are not
    	   global. FormAction, ActionMap, and ItemAction directives
    	   are equivalent to their CodeDef equivalents.
Something went wrong with that request. Please try again.