Re: WebCat2b13MacPlugIn - [include] doesn't allow creator
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10601
interpreted = N
texte = >>Surprise! When I tried this, my pages came up blank ... so apparently>>WebCat2 doesn't allow [include] files to have a creator code WWW‡. Maybe>>this is a security precaution? ... :)>>I haven't tried that here, but it surprises me -- are you sure the file>wasn't still open in some other program when you tried this? The symptom>you describe will definitely appear when Resourcerer or even SimpleText>has the file open that you are trying to [include].Yes, it surprises me too! Okay, here's what I did:First of all, I use Tex-Edit Plus (instead of SimpleText) to create all myhtml files. Tex-Edit Plus doesn't keep files open like SimpleText does.Instead, it simply opens and loads files into memory - then it immmediatelycloses those files, making them available to other apps like web browsersand web servers, for example. That's the main reason I switched fromSimpleText to Tex-Edit Plus in the first place ... because Tex-Edit Pluseliminates my html files from *not* being available ...Okay, after I created my [include] file in Tex-Edit Plus, it had a creatorcode of TBB6 - that's the creator code for Tex-Edit Plus files. The[include] worked fine while the creator code was TBB6.But as soon as I change that creator code to WWW‡, that change apparentlyprevents the file from being included in the WebCat2 template, so I get ablank page.I thought this was weird, because I always imagined that WebCat2 wouldsimply read the text of the file named in the [include] tag, and then itwould put that text into the template in place of the [include] tag. I haveno idea why the creator code should have any affect on this process at all,do you?WebCat2 automatically changes the creator code of every .db file it opensto WWW‡, so it seems like it ought to be able to read a WWW‡ file intoan [include], doesn't it? :)Sincerely,Ken------------------------------------To leave this talk list send an email tomacjordomo@smithmicro.comwith BODYunsubscribe WebDNA-Talk------------------------------------
Associated Messages, from the most recent to the oldest:
>>Surprise! When I tried this, my pages came up blank ... so apparently>>WebCat2 doesn't allow
[include] files to have a creator code WWW‡. Maybe>>this is a security precaution? ... :)>>I haven't tried that here, but it surprises me -- are you sure the file>wasn't still open in some other program when you tried this? The symptom>you describe will definitely appear when Resourcerer or even SimpleText>has the file open that you are trying to
[include].Yes, it surprises me too! Okay, here's what I did:First of all, I use Tex-Edit Plus (instead of SimpleText) to create all myhtml files. Tex-Edit Plus doesn't keep files open like SimpleText does.Instead, it simply opens and loads files into memory - then it immmediatelycloses those files, making them available to other apps like web browsersand web servers, for example. That's the main reason I switched fromSimpleText to Tex-Edit Plus in the first place ... because Tex-Edit Pluseliminates my html files from *not* being available ...Okay, after I created my
[include] file in Tex-Edit Plus, it had a creatorcode of TBB6 - that's the creator code for Tex-Edit Plus files. The
[include] worked fine while the creator code was TBB6.But as soon as I change that creator code to WWW‡, that change apparentlyprevents the file from being included in the WebCat2 template, so I get ablank page.I thought this was weird, because I always imagined that WebCat2 wouldsimply read the text of the file named in the
[include] tag, and then itwould put that text into the template in place of the
[include] tag. I haveno idea why the creator code should have any affect on this process at all,do you?WebCat2 automatically changes the creator code of every .db file it opensto WWW‡, so it seems like it ought to be able to read a WWW‡ file intoan
[include], doesn't it? :)Sincerely,Ken------------------------------------To leave this
Talk List send an email tomacjordomo@smithmicro.comwith BODYunsubscribe WebDNA-Talk------------------------------------
Kenneth Grome
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:
WebDNA Threaded Discussions? (2004)
secret [cmd] variable? (2004)
WebCat and AppleShare 6.0 (1998)
Help! WebCat2 bug (1997)
Include a big block of text (1997)
Custom Shipping Charges (1997)
check out page (SSL) not loading on Netscape 4.0+ - fixed? (1999)
Looking for a Manual (1997)
Blank orders after update to 5.1 (2003)
Where is the bug fix info for 4.0.1? (2000)
Server Freeze (1998)
Sub Totals (2000)
ImageMagick (2005)
server 2003 weirdness (2004)
IIS4b2 and WebCatalog b19 (1997)
Looking For WebCatalog Migration Assistance (2003)
Paths, relative paths, webstar server setup and security (Mac) (1997)
Or Operator (2005)
WebDNA Codes in Secure Mode (1997)
Cart ID Duplication (2001)