[ic] Wishlist request, UserTag <tagname> Reparse 1

interchange-users@lists.akopia.com interchange-users@lists.akopia.com
Tue Jun 19 22:01:01 2001


We're trying to convert our 4.03 catalogs to 4.73.  It
seemed at first easier than it is turning out to be.
Rollback.  :-(

This is one place that has changed between 4.30 and 4.73, 
the 'reparsing' of the return value from a [usertag].

--

Wishlist request for: UserTag <tagname>   Reparse 1
so one could do:
 UserTag embed   HasEndTag       1
 UserTag embed   Interpolate     0
 UserTag embed   Reparse 1
 UserTag embed   Routine <<EOF

We generate our profiles and mvclick 'sets'
dynamically and insert them into the page
with a usertag.  More or less writing this with the tag:

[set Browse Catalog]
mv_todo=return
mv_nextpage=catalog_redirect
[/set]
[set Cancel All]
mv_todo=return
mv_nextpage=mv/cancel
[/set]
etc...

That works fine with mv4.03 for action both 'order' and 'process'.

It seems to work for ic4.7.3 only for action 'order'.
We'd like to be able to specify it for 'process' pages too,
so we can post orders orders to the basket like this:

<FORM ACTION="[process-target _self]" METHOD=POST>
<INPUT NAME="mv_todo" TYPE=HIDDEN VALUE=refresh>
<INPUT NAME="mv_order_item" ....
</FORM>

We get an action=process and the tag does
not get 'reparsed', hence the profiles are not
found. (See logs below.)

--

I played around with mv_action and various todo/doit combinations
and could not find the right trick to changing the action to
order.  That would be another solution, something like:
<INPUT NAME="mv_action" TYPE=HIDDEN VALUE="order">
but I could not figure it out.

####
This works, ordering via link:

io.znet.maine.com YFiZm8gU:maine.com - [17/June/2001:19:15:07 -0500] PAGE: flypage lobsters /Catalog/lobsters.cgi/order path=order
io.znet.maine.com YFiZm8gU:maine.com - [17/June/2001:19:15:07 -0500] PAGE: flypage lobsters /Catalog/lobsters.cgi/order action=order path=order
io.znet.maine.com YFiZm8gU:maine.com - [17/June/2001:19:15:07 -0500] PAGE: flypage lobsters /Catalog/lobsters.cgi/order 2123 Vend::Action (order)
io.znet.maine.com YFiZm8gU:maine.com - [17/June/2001:19:15:07 -0500] PAGE: flypage lobsters /Catalog/lobsters.cgi/order 2124 mv_nextpage ()
io.znet.maine.com YFiZm8gU:maine.com - [17/June/2001:19:15:07 -0500] PAGE: flypage lobsters /Catalog/lobsters.cgi/order do_order: path=
io.znet.maine.com YFiZm8gU:maine.com - [17/June/2001:19:15:08 -0500] PAGE: flypage lobsters /Catalog/lobsters.cgi/order 2163 mv_nextpage (basket)
io.znet.maine.com YFiZm8gU:maine.com - [17/June/2001:19:15:08 -0500] PAGE: flypage lobsters /Catalog/lobsters.cgi/order 2164 Vend::FinalPath ()
io.znet.maine.com YFiZm8gU:maine.com - [17/June/2001:19:15:08 -0500] PAGE: flypage lobsters /Catalog/lobsters.cgi/order 2165 mv_nextpage (basket)
io.znet.maine.com YFiZm8gU:maine.com - [17/June/2001:19:15:08 -0500] PAGE: basket lobsters /Catalog/lobsters.cgi/order tag_page opt={
>   'reparse' => 1,
>   'href' => 'catalog',
>   'arg' => undef
> }

###
This does not, ordering via post.  No mv_click actions found:

io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process path=process
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process action=process path=process
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process 2123 Vend::Action (process)
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process 2124 mv_nextpage ()
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process todo=refresh prior to mv_click=
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process todo=refresh after mv_click
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process todo=refresh after mv_click
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process 2163 mv_nextpage (basket)
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process 2164 Vend::FinalPath ()
io.znet.maine.com LMUcDRtn:maine.com - [17/June/2001:19:28:30 -0500] PAGE: flypage scrubs /scrubs/Catalog/scrubs.cgi/process 2165 mv_nextpage (basket)







-- 

Christopher F. Miller, Publisher                             cfm@maine.com
MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
1.207.657.5078                                       http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux