[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] header.gif image on results.html page
well... here is a bit diffrent solution i am using to do so..., Its also
good if you need to display diffrent tables on each products....:
your should added the following UserTag function in the catalog.cfg file:
UserTag cat-select Order category
UserTag cat-select HasEndTag
UserTag cat-select Routine <<EOF
sub {
my ($cat, $text) = @_;
$text =~ m{\[$cat\](.*)\[/$cat\]}s
and return $1;
$text =~ s{\[(\w+)\].*\[/\1\].*}{}s;
return $text;
}
EOF
(category is the ctageory field in your products database... so if its
diffrent u can change it here...)
Then when using your html file its quite simple:
[cat-select [item-field category]]
[hats]Do whatever you want with Hats Here...[/hats]
[tshirts]Do whatever you want with Tshirts here...[/accs]
[/cat-select]
Hope you will find it helpful...
BTW: Again... Thanks to Mike for helping with this one.....
Eran Binyamin Zeitoun.
----- Original Message -----
From: Brent McNeely <brent@mcneely.net>
To: minivend list <minivend-users@minivend.com>
Sent: Tuesday, November 23, 1999 12:10 AM
Subject: [mv] header.gif image on results.html page
> ****** message to minivend-users from Brent McNeely <brent@mcneely.net>
******
>
> currently when entering my webstore I have several catagories listed my
> 'products.html' page. When you click on each product line it will display
> all the webstore items in that catagory pulling from the 'results.html'
> flypage. Right now i'm trying to get a catagoryheader.gif image to show up
> at the top of each page. so, if you click of tshirts catagory you get a
> bunch of tshirts listed and at the top of that list you would have a
> tshirtheader.gif. when clicking on the hats catagory you'd get a page
> listing the hats with the hatsheader.gif image at the top of the page.
> Currently i'm using the following code to bring up the minvend data on
that
> page, but i'm currently getting broken link images rather than the .gif
> image I want. Please let me know you recommendations for getting this
> working correctly:
>
> <IMG SRC="[data table=cat col=header_img key='[value banner]']"><BR>
> [search-list]
> <A HREF="[area [item-code]]">[item-field
> name]</A><BR>
> [/search-list]
> --
> Brent McNeely
> McNeely & Associates
> PO Box 27362
> Las Vegas, NV 89126
> T: 702.233.8222 F: 702.256.8265
> www.mcneely.net
>
> -
> 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
>