Using Acl on plugins HOWTOs

2010-09-16 Thread Bryan de Asis
Hello, Is there any tutorial the can teach us to use the acl to set permissions to plugins? Let say... Role 1 Role 2 Role1 access - plugin 1 - plugin 1 / controller 1 - plugin 1 / controller 1 / action 1 - plugin 1 / controller 1 / action 2 - plugin 1 / controller 2 / action 1 - plugin 1

Inquiry, CakePHP Acl

2010-08-19 Thread Bryan de Asis
does CakePHP Acl Component extends through modules? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to ca

CakePHP 1.3.2 Pagination Error under Plugin

2010-07-20 Thread Bryan de Asis
I comment $data = $this->paginate('Client'); or just using find it is working fine. i think it is in the paginate method. Can any one help me... Thanks... Bryan de Asis Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. Y

Re: Organizing controllers in folders

2010-02-05 Thread Bryan De Asis
Hi Mandy Singh, I hope this would help you... http://bakery.cakephp.org/articles/view/flexible-controller-and-modelpaths just add another path... enableSubFoldersOn(ROOT.DS.APP_DIR.'/controllers', $controllerPaths); enableSubFoldersOn(ROOT.DS.APP_DIR.'/controllers/(subfolder)', $controllerPaths

Re: Plugin using different Dynamic Database Connection

2010-02-03 Thread Bryan De Asis
everything is encrypted... On Wed, Feb 3, 2010 at 4:45 PM, Miles J wrote: > From an architecture standpoint, storing credentials in a database is > a pretty bad idea. > > On Feb 3, 1:08 pm, Bryan De Asis wrote: > > Sorry Zaky can you elaborate it more... what do you mean by

Re: Plugin using different Dynamic Database Connection

2010-02-03 Thread Bryan De Asis
ly one connection. > > On Tue, Feb 2, 2010 at 7:58 PM, Bryan De Asis wrote: > >> Co'z I'm creating a database table which contains the database connection >> credentials so i can have thousands hundreds of config... so i can manage >> other news articles table databases

Re: Plugin using different Dynamic Database Connection

2010-02-02 Thread Bryan De Asis
placing the config in database.php? > > On Feb 2, 8:48 am, bryan de asis wrote: > > Hello, > > > > Has anyone here tried to create a plugin which connects to a > > difference database dynamically? > > My Plugin name is "News" > > I hav

Plugin using different Dynamic Database Connection

2010-02-02 Thread bryan de asis
Hello, Has anyone here tried to create a plugin which connects to a difference database dynamically? My Plugin name is "News" I have tried adding this lines on beforeFilter on my ArticlesController: $db =& ConnectionManager::getDataSource('default'); $db->disconnect();

Re: Localsite Virtual Setup

2010-01-29 Thread Bryan De Asis
In order for you to setup that kind of structure you need to follow this structure. www/ lib/ -- putting all the cakephp versions you can dump any version of cake here for reference cakephp1.2.5/ cake/ vendors/ .htaccess

Re: Updating Record - Reset Password

2009-11-30 Thread bryan de asis
i have fixed the problem On Nov 29, 7:37 pm, bryan de asis wrote: > Hi I'm having problem with this method, > it is not saving or updating, > can you please help me and tell me what is wrong with the code below. > I'm Using cakephp 1.2.5 > >         pu

Updating Record - Reset Password

2009-11-29 Thread bryan de asis
Hi I'm having problem with this method, it is not saving or updating, can you please help me and tell me what is wrong with the code below. I'm Using cakephp 1.2.5 public function reset_password() { if(!empty($this->data)) {

Re: web based Application software development with cakephp

2009-11-26 Thread Bryan De Asis
I got this from http://bakery.cakephp.org/articles/view/secrets-of-admin-routing I hope this could help you: if ($plugins = Configure::listObjects('plugin')) { $pluginMatch = implode('|', array_map(array('Inflector', 'underscore'), $plugins)); Router::connect( "

Re: Creating a login screen

2009-11-24 Thread Bryan De Asis
is the admin routing in the core.php is enabled? On Tue, Nov 24, 2009 at 8:58 AM, Dewayne Pinion wrote: > I have been following the directions there and haven't made it very far. I > end up with the following error: > > Missing Controller > > *Error: * *UsersController* could not be found. > >