Re: WEBDNA tags don't process in a .js file
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 42420
interpreted = N
texte = Just as a follow-up...Renaming the files .tpl and calling them with a worked.... almost. It did show the cart value,but a different value (new cart) from the other standard links on the page.So, I took Alains advice and just pasted the script itself into the template(one template luckily, it was already an include) in-between script tags:. Works asexpected.GK> Thanks all....as soon as I got on the road to go home that lightbulb went> off and said suffix mapping. I'm going to play with the idea ofrenaming> the .js files to something that is mapped and/or using an [include] and/or> just putting the code on the individual pages.>> You're right Alain, I don't want to remap .js to go to webcat...>> Thanks again,> GK>>>> Donšt forget the [] brackets are allowed in .js files ..> You are better off just including the code at the top of the html page ..>> Getting webcat to process .js files for one page/client will end upbreaking> others sites ..>> There is a dark light at the end of this path if you choose to follow it..>>>> > Maybe the .js should be an [include].-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Just as a follow-up...Renaming the files .tpl and calling them with a worked.... almost. It did show the cart value,but a different value (new cart) from the other standard links on the page.So, I took Alains advice and just pasted the script itself into the template(one template luckily, it was already an include) in-between script tags:. Works asexpected.GK> Thanks all....as soon as I got on the road to go home that lightbulb went> off and said suffix mapping. I'm going to play with the idea ofrenaming> the .js files to something that is mapped and/or using an [include] and/or> just putting the code on the individual pages.>> You're right Alain, I don't want to remap .js to go to webcat...>> Thanks again,> GK>>>> Donšt forget the [] brackets are allowed in .js files ..> You are better off just including the code at the top of the html page ..>> Getting webcat to process .js files for one page/client will end upbreaking> others sites ..>> There is a dark light at the end of this path if you choose to follow it..>>>> > Maybe the .js should be an [include].-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Gary Krockover
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:
Not really WebCat- (1997)
UK credit card info follow-up (1997)
Sending E-mail (1997)
Help! WebCat2 bug (1997)
Re1000001: Setting up shop (1997)
Template Not Found (1998)
SubCategorizing (2000)
[WriteFile] problems (1997)
File Security (1999)
Frames and [cart] (1998)
New Site Announcement (1998)
Browser Info.txt (1997)
There's a bug in the math context ... (1997)
Re[2]: shipCost -vs- shippingtotal ? (2000)
New WebDNA Example from Olin -- (1998)
No incentive ... (2000)
RE: Formulas.db + Users.db (1997)
I've been framed by webcatalog! Does anyone know the way out? (2000)
Lost and Recovered. (1998)
Can't use old cart file (was One more try) (1997)