Javascript in CakePHP

Posted by user445803 on Stack Overflow See other posts from Stack Overflow or by user445803
Published on 2011-01-29T15:23:44Z Indexed on 2011/01/29 15:25 UTC
Read the original article Hit count: 163

Filed under:
|
|
|

Hello,

I had one page in Views in CakePHP, it have normal javascript block, Just inserted:

<script language="JavaScript" type="text/javascript">
---code---
</script>

Inside page, and it was all working okay... But now... It doesn't show... How can I change configuration or something to enable showing javascript blocks without CakePHP commands. Javascript needs data from that page so I can't use outer file, and it's too long to use $javascript->codeBlock

Is there any way to reconfigure stupid CakePHP to start showing those blocks? Some files are showing javascript, and it's working all okay, but some of them won't show...

Please help...

© Stack Overflow or respective owner

Related posts about php

Related posts about JavaScript