MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] UserTag.




I know beleive that none of my defined userTags are being read from
catalog.cfg.  Does anyone have any idea why?

Thank you.

Aboubacar

On Thu, 7 Oct 1999, Aboubacar Diare wrote:

> ******    message to minivend-users from Aboubacar Diare <asd@sykemo.CCIT.Arizona.EDU>     ******
> 
> I am using the following usertag (which i got from the default
> minivend.cfg file) but for some reason it is not being read when i
> include it in my catalog.cfg file.
> It was originally in minivend.cfg and i would like to get it to work from
> catalog.cfg just like the documentation says it can.  Any suggestions
> would be appreciated.
> 
> UserTag bar-button Order page current
> UserTag bar-button PosNumber 2
> UserTag bar-button HasEndTag 1
> UserTag bar-button Routine <<EOR
> sub {
>         use strict;
>         my ($page, $current, $html) = @_;
>         $current = $Global::Variable->{MV_PAGE}
>                 if ! $current;
>         $html =~ s:\[selected\]([\000-\377]*)\[/selected]::i;
>         my $alt = $1;
>         return $html if $page ne $current;
>         return $alt;
> }
> EOR
> 
> 
> Thank you Aboubacar.
> 
> 
> -
> To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
> 



Search for: Match: Format: Sort by: