Re: Suffix Mapping
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 17106
interpreted = N
texte = On 4/17/97 10:24 PM, T. Carrier wrote:>I am trying to setup WebCatalog on WindowsNT, but I seem>to be having trouble with the suffix mapping.>>The problem I am having occurs when I put WebDNA tags in>an .html file in the root directory. The WebDNA tag does>not get evaluated. For example:>>I have file called: index.html>Inside this file is: >> > [include file=header.tpl]>>>With both files in the root directory, the browser only returns:>[include file=header.tpl].>>I get the same results when the .html file is in the root directory,>and the .tpl file is in the scripts directory.>>All of my .tpl files work in when they are in the scripts directory,>even when they are referenced from other .tpl files (using [include]).>But, when I put the index.html and the header.tpl in the scripts>directory, the .html file cannot be read by the broswer at all.>>Does this have to do with the way my suffix mapping is setup? And if>so, what changes have to made to the registry?>>Any advice/suggestions would be appreciated...>>Much Obliged,>Tamara Carrier>Its an issue of 2 things. #1 the registry, run the regedit program and search for .tpl files, then duplicate the same function for .html and .htm files while your at it.#2 Make sure webcat has been enable to process .html files as well. For most sites I am no longer using the wwwroot side. I set the root in the scripts/webcatalog/mydomain folder and then I can webdna enable the whole site. Run ads on the front page etc, just like my macs.Robert Minor__________________________________________________________CyberMill Website Designers & Publishers8616 Joseph AveSt. Louis, MO 63144voice 314-962-4024email: webmaster@cybermill.comhttp://www.cybermill.com/__________________________________________________________We are not responsible for any misspelling or misinformationplease check with your internet provider for defects.
Associated Messages, from the most recent to the oldest:
On 4/17/97 10:24 PM, T. Carrier wrote:>I am trying to setup WebCatalog on WindowsNT, but I seem>to be having trouble with the suffix mapping.>>The problem I am having occurs when I put WebDNA tags in>an .html file in the root directory. The WebDNA tag does>not get evaluated. For example:>>I have file called: index.html>Inside this file is: >> > [include file=header.tpl]>>>With both files in the root directory, the browser only returns:>[include file=header.tpl].>>I get the same results when the .html file is in the root directory,>and the .tpl file is in the scripts directory.>>All of my .tpl files work in when they are in the scripts directory,>even when they are referenced from other .tpl files (using
[include]).>But, when I put the index.html and the header.tpl in the scripts>directory, the .html file cannot be read by the broswer at all.>>Does this have to do with the way my suffix mapping is setup? And if>so, what changes have to made to the registry?>>Any advice/suggestions would be appreciated...>>Much Obliged,>Tamara Carrier>Its an issue of 2 things. #1 the registry, run the regedit program and search for .tpl files, then duplicate the same function for .html and .htm files while your at it.#2 Make sure webcat has been enable to process .html files as well. For most sites I am no longer using the wwwroot side. I set the root in the scripts/webcatalog/mydomain folder and then I can webdna enable the whole site. Run ads on the front page etc, just like my macs.Robert Minor__________________________________________________________CyberMill Website Designers & Publishers8616 Joseph AveSt. Louis, MO 63144voice 314-962-4024email: webmaster@cybermill.comhttp://www.cybermill.com/__________________________________________________________We are not responsible for any misspelling or misinformationplease check with your internet provider for defects.
Bob Minor
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:
Multiple catalog databases and showcart (1997)
Setting up WebCatalog with Retail Pro data (1996)
[protect] on NT? (1997)
WebCat 3.04-3.07 plug-in dying on server.... (2000)
SiteEdit NewFile.html ? (1997)
WebCatalog can't find database (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
ShowNext for method=POST (1997)
searching with if/then (2004)
Live server problems (1999)
What am I missing (1997)
A Global Variable (1997)
tracking no. of downloads (2006)
Sub Totals (2000)
[append] vs. [appendfile] delta + question? (1997)
WebCat B13 Mac CGI -- Frames question (1997)
Search Engine questions ... (2002)
info (1997)
PSC recommends what date format yr 2000??? (1997)
problems with 2 tags (1997)