I checked it again ,but the problem is always, I test it and find that
when call ./post/add.json , the function in post/json/add.ctp not
work for me, it means ./post/add.json not associate with ./post/json/
add.ctp , right?
On 4月17日, 上午3时41分, krusty999 <[EMAIL PROTECTED]> wrote:
> You must set
how to define a global function for all controllers in ./app/confing/
bootstap.php ,and how to inplement it in controller ?
:)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group,
It's useful,but if I let 'post/message.ctp' output nothing, I cannot
get anything by '/post/message.json', what's the problem
On 2月17日, 下午1时50分, bingo <[EMAIL PROTECTED]> wrote:
> Here are the things that I did to get my jquery, json, and ajax
> working
>
> 1. I included this line in app/config/
?? can you description it clearly...
On 4月11日, 下午4时58分, vinacake <[EMAIL PROTECTED]> wrote:
> send code of addcontroller and default controller.
>
> On Apr 11, 9:51 am, Freshow <[EMAIL PROTECTED]> wrote:
>
> > in my AddController ,i use: $this ->
in my AddController ,i use: $this -> Session ->
write('id','1001');...
and I can read the value of id by :..$session -> read('id');..
but ,if I add this into AddController, I cannot get the value of id:
..
$this -> Session -> write('id','1001');
$this -> redirect('/');
..
Thanks for all replay , I use it directly by reference jquery js
library in my layout
On 4月3日, 上午11时21分, dyh1919 <[EMAIL PROTECTED]> wrote:
> I love jQuery more than prototype,but,what i should do before i use it
> in CakePHP?
--~--~-~--~~~---~--~~
You received th