Re: Undefined property: LinksController::$Text

2012-05-13 Thread Toby G
What version of Cake are you using? -- 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

Re: CakePHP 2.1.2 & 2.2.0-beta released

2012-05-13 Thread Toby G
Great to see Cake continues to get better. -- 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 c

Re: CakePHP 2.1.2 & 2.2.0-beta released

2012-05-13 Thread Toby G
Great to see Cake continues to get better. On Monday, 30 April 2012 04:12:50 UTC+1, mark_story wrote: > > The CakePHP core team is proud to announce the immediate availability of > both CakePHP 2.1.2 [1], and 2.2.0-beta [2]. 2.1.2 is a bugfix release for > the 2.1.x branch, while 2.2.0-beta is t

Re: Login / idle timeout

2012-05-13 Thread Toby G
Might it be because you are not touching the session after the initial login? Not sure if cake touches the session for you on each page load, to prevent it from expiring? On Monday, 14 May 2012 03:04:10 UTC+1, bs28723 wrote: > > Is a user's login controlled by session timeout? > What is the de

Login / idle timeout

2012-05-13 Thread bs28723
Is a user's login controlled by session timeout? What is the default session timeout if not set in configuration? In my testing, a user logins, and things work for several hours, but even if active, the account seems to timeout and I have to login. Is this normal? So this is not an 'idle timeout

Can't call Auth component from controller

2012-05-13 Thread bs28723
I wrote an Auth Component. It gets a bunch of permission information about the current user. How can I pass this information back to the controller? In AppContoller.php     public $components = array(     'Auth' => array(     'login

Re: Calling a plugins controller from within the main applications controller

2012-05-13 Thread stork
> 1. Am I loading the plugin controller correctly? > No. App::uses('PluginexampleAppController', 'Pluginexample.Controller'); 2. Am I calling the plugin controllers function correctly? > 3. I have tried to use the request action, it also gives me an error - > is there a better way to call t

optional routing elements

2012-05-13 Thread rihad
Hi, I'm reading the routing docs here: http://book.cakephp.org/2.0/en/development/routing.html Basically what it says is that the following route config: Router::connect('/foo/bar/:year/:month/:day', array('controller' => 'foo', 'action' => 'bar', 'day' => null)); would treat the last element as

Change model alias when using plugin models

2012-05-13 Thread elitalon
Hi, Let's say I am using a plugin called MyPlugin that provides a model called MyPluginCoolModel. If I want to attach that model to a controller I have to use the $uses property: public $uses = array('MyPlugin.MyPluginCoolModel'); Then I can access the model with $this->MyPluginCoolModel.

Calling a plugins controller from within the main applications controller

2012-05-13 Thread DerekGardiner
I am trying to construct an application from various plugins. I would like to call a particular function that resides within a plugin from a main application controller. My plugin controller looks like this: My application controller looks like this (I am calling it from within the index just t

Is session variable a good place to store authorization info?

2012-05-13 Thread Toby G
By saving into the session it means that you would not need to call the method that sets the values on each page load, as the data is save between page loads. If you need to call the method to check the values are updated on each page load then perhaps it might be better to save them as a contro

Undefined property: LinksController::$Text

2012-05-13 Thread luftlinie
hi, i wanna use striplinks from Text helper but cake gives me this error Notice (8): Undefined property: LinksController::$Text [APP \controllers \links_controller.php, line 1480] Fatal error: Call to a member function stripLinks() on a non-object in blabla on line 1480 CODE in my controller --

Undefined property: LinkablesController::$Text

2012-05-13 Thread luftlinie
hi, i wanna use striplinks from Text helper but cake gives me this error Notice (8): Undefined property: LinksController::$Text [APP\controllers \links_controller.php, line 1480] Fatal error: Call to a member function stripLinks() on a non-object in blabla on line 1480 CODE in my controller ---