Re: Number of cars in cart...

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58260
interpreted = N
texte = on 6/8/04 5:45 PM, John Peacock at jpeacock@rowman.com wrote: > Alan White wrote: > >> I have put into place a process.tpl that strips out parameters out of the >> url. > > It took me a second to figure out what you were talking about (HINT for > others: try to "Shop for Brand"). If you use POST instead of GET, you > don't need to have any URL at all (just the index page), but if you like > having long path's in the URL, that works too. Sorry John I should have said what to do once there (thanks for taking the time to have a play about)... I have gone with the stripping out the longer url's as it mimics our existing logic in our site only the information is gathered differently... > >> What I was trying to figure out is how to add my cart to my new URL >> structure so I can have cart functionality. > > Since the URL structure is seperated by forward slashes, you don't need > to do any parsing except splitting on slashes. Just append the cart > value as the last element of the URL; prefix it with CART so you can > differentiate between that and your other parameters. I will look into this... I take it I would then do an if param ^ cart type statement to recognise cart. > > HTH > > John Thanks Alan ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Uniqueness of [cart] (was Re: Number of cars in cart...) ( John Peacock 2004)
  2. Re: Uniqueness of [cart] (was Re: Number of cars in cart...) ( Donovan Brooke 2004)
  3. Re: Uniqueness of [cart] (was Re: Number of cars in cart...) ( John Peacock 2004)
  4. Uniqueness of [cart] (was Re: Number of cars in cart...) ( Joe D'Andrea 2004)
  5. Re: Number of cars in cart... ( Alan White 2004)
  6. Re: Number of cars in cart... ( John Peacock 2004)
  7. Re: Number of cars in cart... ( Alan White 2004)
  8. Re: Number of cars in cart... ( Alan White 2004)
  9. Re: Number of cars in cart... ( Alan White 2004)
  10. Re: Number of cars in cart... ( John Peacock 2004)
  11. Re: Number of cars in cart... ( Kenneth Grome 2004)
  12. Number of cars in cart... ( Alan White 2004)
on 6/8/04 5:45 PM, John Peacock at jpeacock@rowman.com wrote: > Alan White wrote: > >> I have put into place a process.tpl that strips out parameters out of the >> url. > > It took me a second to figure out what you were talking about (HINT for > others: try to "Shop for Brand"). If you use POST instead of GET, you > don't need to have any URL at all (just the index page), but if you like > having long path's in the URL, that works too. Sorry John I should have said what to do once there (thanks for taking the time to have a play about)... I have gone with the stripping out the longer url's as it mimics our existing logic in our site only the information is gathered differently... > >> What I was trying to figure out is how to add my cart to my new URL >> structure so I can have cart functionality. > > Since the URL structure is seperated by forward slashes, you don't need > to do any parsing except splitting on slashes. Just append the cart > value as the last element of the URL; prefix it with CART so you can > differentiate between that and your other parameters. I will look into this... I take it I would then do an if param ^ cart type statement to recognise cart. > > HTH > > John Thanks Alan ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Alan White

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Mac 2.1b2 speed (1997) Limiting user access to .tmpl files (1997) syntax question, not in online refernce (1997) WebCat2b15MacPlugin - [protect] (1997) Multiple prices (1997) Need help with emailer- 2 issues (1997) html in a database (1998) Sort & Shownext (1999) Attention all list readers (1997) Frames and WebCat (1997) Multiple cart additions (1997) Running 2 two WebCatalog.acgi's (1996) Umm...about those log files? (Off Topic) (1997) orderfile and setlineitems (1998) Nested tags count question (1997) Hierarchy of form/text/math variables (2000) WebCatalog can't find database (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996) Multiple prices (1997) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997)