MiniVend Akopia Services

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

[mv] flycat problem with arg



******    message to minivend-users from "Christopher P. Lindsey" <lindsey@mallorn.com>     ******

I'm trying to pass arg to all links on page like this:

   <a mv="page" mv.arg="[data session arg]" mv.href="[sql-code]" href="[area [sql-code]]"><b>[sql-param sci_name]</b></a>

It properly generates a URL

   http://vapor.example.com/cgi-bin/catalog/abamasp?9joUK2eA;Conifers;6165

but flypage complains that "this item (abamasp) doesn't have a catalog
page yet..."  However, if I remove arg from the URL above and connect
at

   http://vapor.example.com/cgi-bin/catalog/abamasp?9joUK2eA;;6165

the item is found and displayed.  In fact, if I put anything between
the two semi-colons the page will fail.

Does anyone have any ideas?  Is this a problem with my flypage (included
below)?

I'll give some reasons behind this, too...  There are a bunch of
categories of plants, like conifers, perennials, trees, etc.  Each
category has a master list that links to flypage (below).  However,
we'd like to have a "next" and "previous" button to thread through
the current category.  I was trying to pass in arg to contain the
name of that category -- is there a better way to do this?

Any help would be greatly appreciated -- I'm currently stymied.

Thanks,

Chris

----------------------------------------------------------------------
<HTML>
[tag flag build][/tag]
<HEAD><TITLE>[item-field sci_name]</TITLE></HEAD>
__MAINHEADER__
__TOP__
__LEFT__
__BODYHEADER__

[sql type=list
   query="select distinct p.code, p.onsite, p.availability, p.discount, p.description, p.invasive, p.sci_name, h.hardiness_name, s.size_name, p.price from plant
 as p left join size as s on s.size_id = p.size_id left join hardiness as h on h.hardiness_id = p.hardiness_id where p.code='[item-code]'" ]
   <b>[sql-param sci_name]</b></a>
   [if-sql-field invasive]
      <img src="/images/invasive.jpg" BORDER=0 ALT="invasive">
   [/if-sql-field]
   [sql-param hardiness_name] [sql-param size_name] $[sql-param price]<br>
   <p>
   [sql-param description]
   <br>
   [if data products::code::[item-code] =~ /^os-/]
      <i>This item is only available on-site.</i>
   [else]
         [order [item-code]]Add to cart[/order]
   [/else]
   [/if]
[/sql]

__BODYFOOTER__
__LEFTFOOTER__
__MAINFOOTER__
</CENTER>
<!-- current page: @@MV_PAGE@@ -->
</BODY>
</HTML>
-
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: