[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] help!!
****** message to minivend-users from "Dan E. Jackson III" <danny@intermallamerica.com> ******
Okay guys, I'm tired of fighting with this problem, so if anyone out
there has any free time and wants to help a fella out, here's the prob:
I'm trying to write code for a dynamic splash page that my company uses
to introduce customers to a selected store. The page comes up just
fine, and for the most part, works fine too! On the right hand side of
the page, I list the relevant sites to this store. Our marketing guy
wants me to limit the list of relevant stores to just five and wants
five stores listed in particular. Here's some code to refer to:
<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="182" valign=top>
<tr><td>[loop arg="[data arg]"]
[if-loop-field cat1]
<STRONG>[loop-field cat1]</STRONG><P>
[loop with="-a" search="
ml=250
tf=srchwtcat1
to=n
se=[loop-field cat1]
sf=cat1
sf=cat2
sf=cat3
sf=cat4
sf=cat5
sf=cat6
sf=cat7
"]
[if explicit]
[condition]
return 0 if '[loop-increment-a]' > 5;
return 1 if '[loop-field storename]' ne '[loop-field-a storename]';
[/condition]
<A href="[loop-field-a url]">[loop-field-a
storename]</a>[loop-increment][loop-field-a srchwtcat1]<BR>
[/if]
[/loop]
<FORM ACTION="[process-search]" METHOD=POST>
<INPUT TYPE="hidden" NAME="mv_search_page" VALUE="resultscat.html">
<INPUT TYPE="hidden" NAME="mv_search_field" VALUE="cat1">
<INPUT TYPE="hidden" NAME="mv_search_field" VALUE="cat2">
<INPUT TYPE="hidden" NAME="mv_search_field" VALUE="cat3">
<INPUT TYPE="hidden" NAME="mv_search_field" VALUE="cat4">
<INPUT TYPE="hidden" NAME="mv_search_field" VALUE="cat5">
<INPUT TYPE="hidden" NAME="mv_search_field" VALUE="cat6">
<INPUT TYPE="hidden" NAME="mv_search_field" VALUE="cat7">
<INPUT TYPE="hidden" NAME="mv_search_field" VALUE="cat8">
<INPUT TYPE="hidden" NAME="mv_searchspec" VALUE="[loop-field cat1]">
<INPUT TYPE=HIDDEN NAME="mv_searchtype" VALUE="text">
<INPUT TYPE="image" src="smgo.jpg" VALUE="Search" height=30 width=30
border=0>
<INPUT TYPE="hidden" NAME="mv_doit" VALUE="search">
</FORM>
Listing the store isn't a prob, but getting the just the five stores he
wants... I've tried tackling this problem so much today that my brain is
fried. The code above is the last attempt for today. If anyone wants
to hack this up and give me some suggestions, I'd greatly appreciate it
(criticisms and all!) For a good look at what I'm trying to do, go to
the web site http://www.intermallamerica.com and click on a store, that
leads to the splash page I'm working on.
Again, thanks - danny jackson
danny@intermallamerica.com
-
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