Re: WebCat2 several catalogs?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10512
interpreted = N
texte = >Hmmm. Are you saying that I could have a folder called scholars and >another folder called doverbooks with template files at the root of >the WebSTAR folder, along with one WebCatalog folder, as long as I re-do >all my links? I did not consider that as an option when I set this up, >because I saw that the General Store was placed within the WebCat >folder, and I just assumed it had to work that way.Yes. We designed WebCatalog (and the sample sites) so that they can be URL-relative and moved anywhere. The idea is that everything is inside the WebCatalog folder mostly to prevent clutter in your WebSTAR folder -- we hate products that force you to dump everything at the root. So yes, even though our sample sites are inside WebCatalog's folder, you can put folders anywhere you like.We went to huge effort to make templates and databases URL-relative, so that you can collect your various projects inside folders as a means of organizing your site. That's why, in a template that has some WebDNA with db=xx.db it looks for the xx.db file in the same folder as the template itself. That way you can move and rename that folder and the 'project' inside it will still all work. The only URL you need to change is the first one that gets you inside the folder.Of course, if you have databases or templates that are 'global' to all your projects, you can refer to them URL-absolute, as in db=/WebCatalog/GeneralStore/taxes.db.We also went to huge effort to use HTML-style references to files, such as ../../hello.tmpl, so that you don't have to worry about Mac-specific : as a path separator, and also so your WebDNA ports to Windows NT with no changes whatsoever.Well, so much for patting our own backs...there are bugs to find and fix!Grant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com ------------------------------------ To leave this talk list send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Associated Messages, from the most recent to the oldest:

    
  1. Re: WebCat2 several catalogs? (Grant Hulbert 1997)
  2. Re: WebCat2 several catalogs? (Grant Hulbert 1997)
  3. Re: WebCat2 several catalogs? (Kenneth Grome 1997)
  4. Re: WebCat2 several catalogs? (Gil Poulsen 1997)
  5. Re: WebCat2 several catalogs? (Grant Hulbert 1997)
  6. Re: WebCat2 several catalogs? (Gil Poulsen 1997)
  7. Re: WebCat2 several catalogs? (Grant Hulbert 1997)
  8. WebCat2 several catalogs? (Lars von Olleschik 1997)
>Hmmm. Are you saying that I could have a folder called scholars and >another folder called doverbooks with template files at the root of >the WebSTAR folder, along with one WebCatalog folder, as long as I re-do >all my links? I did not consider that as an option when I set this up, >because I saw that the General Store was placed within the WebCat >folder, and I just assumed it had to work that way.Yes. We designed WebCatalog (and the sample sites) so that they can be URL-relative and moved anywhere. The idea is that everything is inside the WebCatalog folder mostly to prevent clutter in your WebSTAR folder -- we hate products that force you to dump everything at the root. So yes, even though our sample sites are inside WebCatalog's folder, you can put folders anywhere you like.We went to huge effort to make templates and databases URL-relative, so that you can collect your various projects inside folders as a means of organizing your site. That's why, in a template that has some WebDNA with db=xx.db it looks for the xx.db file in the same folder as the template itself. That way you can move and rename that folder and the 'project' inside it will still all work. The only URL you need to change is the first one that gets you inside the folder.Of course, if you have databases or templates that are 'global' to all your projects, you can refer to them URL-absolute, as in db=/WebCatalog/GeneralStore/taxes.db.We also went to huge effort to use HTML-style references to files, such as ../../hello.tmpl, so that you don't have to worry about Mac-specific : as a path separator, and also so your WebDNA ports to Windows NT with no changes whatsoever.Well, so much for patting our own backs...there are bugs to find and fix!Grant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com ------------------------------------ To leave this Talk List send an email to macjordomo@smithmicro.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Grant Hulbert

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:

[convertChars] and in a textarea on a form (1998) blank page from template (1997) Using Applescript to process WebCatalog functions (1998) Download Question (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) [OT] (waaaay OT) (2004) WebDNA for Dummies (2004) webcat nt (1997) Director 7 (1999) WC2.0 Memory Requirements (1997) [HIDEIF] inside [FOUNDITEM] (1997) WebCat2.0 [format thousands .0f] no go (1997) WebCat2b12 Mac.acgi--[searchstring] bug (1997) WebMerchant Integration with Verifone's vPOS (1998) WebCat2.0 [format thousands .0f] no go (1997) Major OT shopping cart test request. (2002) Remote stockroom ? (1998) Card clearance, problems - solutions? (1997) upgrading (1997) how do we turn off staticpages page creation? (2003)