Re: Cakephp 2.x ajax edit not working in Firefox and Opera

2013-12-19 Thread cake_beginner
im also having this kind of problem.
does anyone know what's wrong with this one?



On Friday, September 14, 2012 6:23:05 AM UTC+8, incognito wrote:
>
> Hi, 
>
> I am basically trying to create an ajax edit form. 
> This is the edit link code 
>
> Js->link('Edit', 
>   array('controller' => 'employees', 'action' => 
> 'personal_details_edit',$employee['Employee']['id']), 
>   array( 
>  'update' => '#personal_details_update', 
>  'evalScripts' => true, 
> 'before' => $this->Js->get('#busy-indicator')->effect('fadeIn', 
> array('buffer' => false)), 
>  'complete' => $this->Js->get('#busy-indicator')->effect('fadeOut', 
> array('buffer' => false)), 
>   ) 
>); 
>  echo $this->Js->writeBuffer();   
> ?> 
>
> And this is the ajax form code which gets loaded after clicking the above 
> edit link. 
>
>  //serialize the form element to submit 
>   
> $data = $this->Js->get('#employee_personal_edit')->serializeForm( 
> array( 
> 'isForm' => true, 
> 'inline' => true) 
> ); 
>   
> // Submit the serialize data on submit click 
> $this->Js->get('#employee_personal_edit')->event( 
>   'submit', 
>   $this->Js->request( 
> array('action' => 'personal_details_edit'), 
> array( 
> 'update' => '#personal_details_update', // element to 
> update 
>  // after form submission 
> 'data' => $data, 
> 'async' => true, 
> 'dataExpression'=>true, 
> 'method' => 'POST', 
> 
>   
> ) 
> ) 
> ); 
>  echo $this->Js->writeBuffer(); 
> ?> 
>
>
> The form submit is working in Chrome, IE, Safari but not working in 
> Firefox and Opera.When I click form submit in Firefox nothing happens(no 
> XMLHTTPRequest is being sent). 
>
> If i access the form link directly(without loading via ajax edit link)its 
> working normally in Firefox. 
>
> How to fix it?Any help is appreciated. :)  
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


cakephp and windows azure

2011-05-10 Thread cake_beginner
how can i get my info details from windows azure account by using
cakephp?
is there a plugins for that?

thank you

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


another table to user for loggin in?

2011-03-14 Thread cake_beginner
Hi,

im really a cake beginner, and wondering if its possible, instead of
using USERS table to login, i will use ADMINS table to login?

i want to use the table admins to login at my page, not the users
table...

can anyone help me with this? thank you
:)

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


image layout cant be seen after installation

2011-03-10 Thread cake_beginner
i dont know what's the problem,
i downloaded cake 1.3 on my desktop,
then unzip it to my opt/lampp/htdocs/example

change the config folder, database.php, core.php (salt, cipherSeed)

sudo chmod -R 777
sudo a2enmod rewrite

and that's all i did.. i access it at localhost/example, and its
running smoothly..
i can see the green background of  cakephp.

and then i uploaded it to the private server, at var/www/example
i did the same thing.
but i can only see the html layout, no css. just plain html.

i even remove the comment line at the core.php,

Configure::write('App.baseUrl', env('SCRIPT_NAME'));

if it will work.

but to no avail.
what should be my next step?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php