Which version is good and stable for development among 2.3.0 Rc2 and 2.2.5

2013-01-24 Thread anjith
Hi,
 
New to cakephp. Just about to start development of new project using 
cakephp. Which version is good and stable for development among 2.3.0 Rc2 
and 2.2.5. 
 
 
Regards,
Anjith Kumar G

-- 
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?hl=en.




Auth component problem

2011-11-14 Thread anjith
Hi,

I am using auth component for login, it is working fine when database
table columns are username and password if i use email as column name
even though i specified the fields as below in app_controller.php its
not working in beforeFilter() method.

$this->Auth->Fields = array('username' => 'email', 'password' =>
'password');


if i am renaming the column back and removing this line its working
fine..




Regards,
Anjith

-- 
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


Site not working in shared host showing 500 Internal server error

2011-11-14 Thread anjith
Hi,


I have developed a site using cake bake tool in localhost and uploaded
to shared host, i uploaded as it is from local to server and changed
the database file accordingly. Problem is i am getting following
error, i have re-checked everything again and again. Did I forgot
anything.

"The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, supp...@ipage.com and inform
them of the time the error occurred, and anything you might have done
that may have caused the error.

More information about this error may be available in the server error
log.

Additionally, a 500 Internal Server Error error was encountered while
trying to use an ErrorDocument to handle the request."



Regards,
Anjith

-- 
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


Re: hi need to maintain to layouts one for admin and one for remaining

2011-11-14 Thread anjith
Its working.

On Nov 14, 3:05 pm, Xoubaman  wrote:
> In AppController::beforeFilter
>
> iif (isset($this->params['admin']) && ($this->params['admin'] == 1)) {
> $this->layout = 'admin';
>
> }
>
> This is for Cake 1.3, in Cake 2 I know $this->params has been replaced with
> other similar propertie.

-- 
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


Re: hi need to maintain to layouts one for admin and one for remaining

2011-11-13 Thread anjith
Hi,

I have created admin routing, so controllers are having functions with
admin_index etc, and in the url it is admin/controller_name, cant i
specify for admin/controller_names a template.


On Nov 14, 11:54 am, Sadikul Ameen Mohamed 
wrote:
> Use this code in App_controller
>
> if($this->params['controller'] == 'admins') {
>         $this->layout = 'admin_layout';
>
> }
>
> On Nov 14, 11:48 am, anjith  wrote:
>
>
>
> > Hi,
>
> > I need to have two layouts one for admin and one for remaining all
> > pages.
>
> > How to create new admin template just like default.ctp and how to
> > specify that to functions of admin controller.
>
> > Regards,
> > Anjith Kumar G

-- 
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


hi need to maintain to layouts one for admin and one for remaining

2011-11-13 Thread anjith
Hi,

I need to have two layouts one for admin and one for remaining all
pages.

How to create new admin template just like default.ctp and how to
specify that to functions of admin controller.

Regards,
Anjith Kumar G

-- 
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


how to access other models data from a controller

2011-10-17 Thread anjith
Hi,

I am developing an application using cake bake commands, I need to
display various models data in the home page. So i created a
controller fro that purpose but unable to find how to get data of
various models from that controller.



where in home model i declared as follows

 array(
'className' => 'States',

)
);
}

?>


As i am new i dont know whether this type of coding is correct or not.
If not can any one suggest me correct way of doing it.

I tired to access data using following code

$this->set('state', $this->Home->State->read(null, 1));

I am able to get only one reccord actuall i need to fetch all the
records.  I tired few other methods of model like find but unable to
fulfil my requirement. How can i fetch all the records of another
model from a controller.

Regards,
Anjith

-- 
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


How can i access of one model from another table controller

2011-10-17 Thread anjith
Hi,

I have developed a from data application using cake bake options from
command propmt. I need to integrate various table data in the home
page so i created a home controller and corresponding views.

Now need to fetch  data of various other models.





-- 
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