database paths/names, and a typo

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13506
interpreted = N
texte = Is there some way of getting WebCatalog to return to me simply the _names_ of the databases? I'm trying to develop a generic admin page where the administrator can get a list of open databases, and click on the name to jump to a page for modifying that database.[list databases] returns really long full path names, although the manual states that the [name] tag can be a partial or full path -- though I'm not sure what that means...it only returns it in one way for me, and there's no apparent way for me to change it. Is there?I'm keeping all databases in a single root folder (except for formulas.db for each site) makes it easier to develop a uniform template for any given site, and I guess I could use a list files tag instead of list databases, since I know that only databases are in that folder. Is there a good reason _not_ to centralize the databases (aside from the longer path parameter)?Also, I noticed a potentially frustrating typo in the manual, and couldn't find a correction anywhere. The [list fields] entry says Optional Context Tags: [name] The name of the fieldbut it returns simply [name] in raw form! It was driving me crazy! On a hunch, I tried [fieldname] and sure enough, that did the trick. Has this not been noticed before?spud. ------------------------------------------------------------------------- a.h.s. boy ---------------------- manifesto overlord, dada typographics spud@nothingness.org ------- http://www.nothingness.org/ Now featuring Social Anarchism and the Situationist International archives J'suis l'enfant de l'etat, et je me bats contre ca Associated Messages, from the most recent to the oldest:

    
  1. Re: database paths/names, and a typo (Grant Hulbert 1997)
  2. database paths/names, and a typo (a.h.s. boy 1997)
Is there some way of getting WebCatalog to return to me simply the _names_ of the databases? I'm trying to develop a generic admin page where the administrator can get a list of open databases, and click on the name to jump to a page for modifying that database.[list databases] returns really long full path names, although the manual states that the [name] tag can be a partial or full path -- though I'm not sure what that means...it only returns it in one way for me, and there's no apparent way for me to change it. Is there?I'm keeping all databases in a single root folder (except for formulas.db for each site) makes it easier to develop a uniform template for any given site, and I guess I could use a list files tag instead of list databases, since I know that only databases are in that folder. Is there a good reason _not_ to centralize the databases (aside from the longer path parameter)?Also, I noticed a potentially frustrating typo in the manual, and couldn't find a correction anywhere. The [list fields] entry says Optional Context Tags: [name] The name of the fieldbut it returns simply [name] in raw form! It was driving me crazy! On a hunch, I tried [fieldname] and sure enough, that did the trick. Has this not been noticed before?spud. ------------------------------------------------------------------------- a.h.s. boy ---------------------- manifesto overlord, dada typographics spud@nothingness.org ------- http://www.nothingness.org/ Now featuring Social Anarchism and the Situationist International archives J'suis l'enfant de l'etat, et je me bats contre ca a.h.s. boy

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:

My solution... (1996) Re1000001: Setting up shop (1997) Multiple fields on 1 input (1997) Word search (1997) WCS Newbie question (1997) WebSTAR and WebSTAR/SSL with WebCatalog plugins (1998) Wanted: More Math Functions (or, Can You Solve This?) (1997) Great product and great job ! (1997) 2 easy questions re: [showif] and [sendmail] (1997) WebCat b13 CGI -shownext- (1997) PIXO with cometsite ... and/or other plugins (1998) Mac 4.0b2 Installer Problems (2000) WebCatalog can't find database (1997) WebCat2 as a chat server? (1997) Sort Order on a page search (1997) Mac ticks v PC ticks... (2002) cart file creation (2003) WebCatalog Affiliates Program Announced -- Share the (2000) [shownext max=?] armed (1997) Cookies and WebCat?? (1999)