[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] UserTag.
Aboubacar Diare wrote:
> I know beleive that none of my defined userTags are being read from
> catalog.cfg. Does anyone have any idea why?
Did you restart your minivend server? (Restarting the mn server will
reread each catalog.cfg)
> On Thu, 7 Oct 1999, Aboubacar Diare wrote:
> > 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
How did you call this user tag in your page?
Regards,
Joachim
--
-------------Hans-Joachim Leidinger---------------------