Working with framesets

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16145
interpreted = N
texte = Hi List,This is some code that I used to pass search arguments along between different framesets, and to include multiple selected products at the same time to the shopping cart in a new frameset as well. It's straight forward but there are some catches, so I thought this could save someone some time if they have to work with WebCat within multiple framesets.

[Search db=categories.db&necatnamedata=0&catnamesort=1] [FoundItems] [catname]
[/FoundItems] [/Search]

[founditems] [/founditmes] [formvariables name=group1field] [addlineitem db=produtos.db&cart=[cart]&sku=[value]][/addlineitem] [/formvariables]I hope this will be useful to somebody.Jose A. Gordo----------------------------------------------------- The International Website Construction Co. http://www.iwcc.com/Miami --- Sao Paulo --- Buenos Aires --- Lima Web Advertising and Design for the Latin American Market voice: (305) 461-4949 156 Almeria Ave. Coral Gables, FL 33134, USA ----------------------------------------------------- Associated Messages, from the most recent to the oldest:

    
  1. Working with framesets (Jose A. Gordo 1998)
Hi List,This is some code that I used to pass search arguments along between different framesets, and to include multiple selected products at the same time to the shopping cart in a new frameset as well. It's straight forward but there are some catches, so I thought this could save someone some time if they have to work with WebCat within multiple framesets.

[Search db=categories.db&necatnamedata=0&catnamesort=1] [founditems] [cart]&max=1&i cms=[icms] TARGET=_parent>[catname]
[/FoundItems] [/Search]

[cart] NAME=top SCROLLING=NO NORESIZE> [founditems] [cart]&icms=[i cms] NAME=main NORESIZE> [/founditmes] [cart] NAME=top SCROLLING=NO NORESIZE> [cart]&icms=[icms][formvariables name=group1field]&group1field=[value][/formvariables]&db=products.db NAME=main NORESIZE> [formvariables name=group1field] [addlineitem db=produtos.db&cart=[cart]&sku=[value]][/addlineitem] [/formvariables]I hope this will be useful to somebody.Jose A. Gordo----------------------------------------------------- The International Website Construction Co. http://www.iwcc.com/Miami --- Sao Paulo --- Buenos Aires --- Lima Web Advertising and Design for the Latin American Market voice: (305) 461-4949 156 Almeria Ave. Coral Gables, FL 33134, USA ----------------------------------------------------- Jose A. Gordo

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:

More on the email templates (1997) Bug or syntax error on my part? (1997) Email within tmpl ? (1997) OT: 4.5 Unix License Value? (2004) Search syntax question (1998) [WebDNA] Multiple Instances of WebDNA causing multiple copies of emails (2012) WebCatalog for NT (1999) creating writefile data from a nested search (1997) SiteEdit NewFile.html ? (1997) $Append for Users outside the ADMIN group (1997) No Access warning when caching HTML files (1997) Add more fields to an existent data base (1997) Re:2nd WebCatalog2 Feature Request (1996) Re: (1997) searching with groups (1997) WebTEN vs webSTAR (1998) Securing/hiding database file (2000) WebCat editing, SiteGuard & SiteEdit (1997) 2.0 Info (1997) Grouping items in results page (2000)