Re[2]: Using [Include] Context

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24399
interpreted = N
texte = If you read the documentation carefully, you will see that all example paths are relative to the script or Webcatalog itself. Especially under WinNT web servers, all script file (including include files) belong under the cgi-shl/WebCatalog (i.e. script) file hierarchy. Once you start linking to scriptable files, all file paths are relative to WebCatalog, not the site home root.If these includes are intended to be shared between multiple sites, the appropriate location is the global includes location.HTHJohn Peacock ____________________Reply Separator____________________ Subject: Re: Using [Include] Context Author: (WebCatalog Talk) Date: 11/12/99 5:55 PMVery simple, my site home root dir: e:/vroots/www/mysite/htdocs/...webcat resides in the CGI dir d:/website/cgi-shl/webcatalog/mysite/...the includes are located: e:/vroots/www/mysite/htdocs/include/...doing a: [include file /include/filename.txt] Does Not WorkI am using website and NT -----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Kenneth Grome Sent: Friday, November 12, 1999 4:48 PM To: WebCatalog Talk Subject: Re: Using [Include] Context >OK, I undestand that if the file is inside the template dir there is no >problem... However for oranizational purposes I don't want them there. I >want them in the virtual root/include dir which the webcat docs say is OK. >All the other contexts work with the / why not this one. Will anyone >acknowledge that either the manual is wrong or the command has a bug.. Hi Vince,What does your folder heirarchy look like? I think your path is wrong, and if you post an outline of your hierarchy so we know where your templates and include files are located, maybe someone here can make a suggestion that will work for you ...Kenneth Grome WebDNA Consultant Phone 808-737-6499 http://webdna.net------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re[2]: Using [Include] Context ( 1999)
  2. Re[2]: Using [Include] Context ( 1999)
  3. Re: Re[2]: Using [Include] Context (J. A. Hill 1999)
  4. Re[2]: Using [Include] Context ( 1999)
If you read the documentation carefully, you will see that all example paths are relative to the script or Webcatalog itself. Especially under WinNT web servers, all script file (including include files) belong under the cgi-shl/WebCatalog (i.e. script) file hierarchy. Once you start linking to scriptable files, all file paths are relative to WebCatalog, not the site home root.If these includes are intended to be shared between multiple sites, the appropriate location is the global includes location.HTHJohn Peacock ____________________Reply Separator____________________ Subject: Re: Using [include] Context Author: (WebCatalog Talk) Date: 11/12/99 5:55 PMVery simple, my site home root dir: e:/vroots/www/mysite/htdocs/...webcat resides in the CGI dir d:/website/cgi-shl/webcatalog/mysite/...the includes are located: e:/vroots/www/mysite/htdocs/include/...doing a: [include file /include/filename.txt] Does Not WorkI am using website and NT -----Original Message----- From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On Behalf Of Kenneth Grome Sent: Friday, November 12, 1999 4:48 PM To: WebCatalog Talk Subject: Re: Using [include] Context >OK, I undestand that if the file is inside the template dir there is no >problem... However for oranizational purposes I don't want them there. I >want them in the virtual root/include dir which the webcat docs say is OK. >All the other contexts work with the / why not this one. Will anyone >acknowledge that either the manual is wrong or the command has a bug.. Hi Vince,What does your folder heirarchy look like? I think your path is wrong, and if you post an outline of your hierarchy so we know where your templates and include files are located, maybe someone here can make a suggestion that will work for you ...Kenneth Grome WebDNA Consultant Phone 808-737-6499 http://webdna.net------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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

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:

Stopping bad HTML propagation ? (1997) Was it something I said??? (1998) Summing fields (1997) [WebDNA] FCKeditor (2009) Retaining data (2003) Number of Line Items (1998) Newbie Tax Question (1997) Search Engines (2002) Nested tags count question (1997) WebTrends (2002) Https not showing products (2004) Resource Materials (2000) Running 2 two WebCatalog.acgi's (1996) Encrypt Users.db problem (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Webcat/Webmerchant (1998) Replacing a variable within a variable. (1998) This list needs a digest: rant, rave... (1997) Uh...can someone help me out with the b10? (1997) script to autmaticaly update Filemaker DB (2000)