Re: Cannot execute javascript

2009-03-09 Thread SergioTorresC.
Brian, Thank you for your help. I tried to move my cake installation to my root web folder and now everything is working. I guess, in the future, I will examine the subfolder configuration. Thank you again, Sergio On Mar 7, 11:27 am, brian bally.z...@gmail.com wrote: I did receive the

Re: Cannot execute javascript

2009-03-07 Thread SergioTorresC.
Brian, I have tries twice to send you an answer, but I don't get it published... I said cake is my web_root directory. For example http://localhost/cake/customers/login is a valid URL in my setup and it is working, so I guess the tag src /cake/js/prototype sgould work, no? On Mar 5, 10:33 

Re: Cannot execute javascript

2009-03-07 Thread brian
I did receive the email that you sent directly to me. I replied: -- snip -- I guess I'd have to agree with that. But, as I said, I don't have any experience using a subdirectory. I know it can work, though. Check some of the links here:

Re: Cannot execute javascript

2009-03-05 Thread SergioTorresC.
Brian, Thank you for your answer. You are right, it was a typo. I am not using the extensions when calling the scripts. When I see the view source the links appear like this: script type=text/javascript src=/cake/js/prototype.js/script script type=text/javascript src=/cake/js/listinvoices.js/

Re: Cannot execute javascript

2009-03-05 Thread brian
On Thu, Mar 5, 2009 at 12:32 AM, SergioTorresC. sergiotorr...@gmail.com wrote: Brian, Thank you for your answer. You are right, it was a typo. I am not using the extensions when calling the scripts. When I see the view source the links appear like this: script type=text/javascript

Re: Cannot execute javascript

2009-03-04 Thread brian
On Wed, Mar 4, 2009 at 8:09 PM, SergioTorresC. sergiotorr...@gmail.com wrote:        ?php e($javascript-link('prototype.js')); ? Is this a typo? I ask because, further on in your mail, you leave out the .js, which is the correct way. Always leave out the extension for both JS CSS files.