On May 4, 8:59 pm, Matthew wrote:
> Wow a lot of conflict in here. I am pretty new with Cake, I had a test
> site up with 1.2 and have recently moved to 1.3 for PHP 5.3 support.
> The biggest roadblock for me is permissions management. I am trying to
> write a permissions editor that lists all c
@matthew
have a loook at the following
Mark Story's acl extras plugin
Thatcode's permissiable plugin
- S
On 4 May 2010 19:59, Matthew wrote:
> Wow a lot of conflict in here. I am pretty new with Cake, I had a test
> site up with 1.2 and have recently moved to 1.3 for PHP 5.3 support.
> The
Wow a lot of conflict in here. I am pretty new with Cake, I had a test
site up with 1.2 and have recently moved to 1.3 for PHP 5.3 support.
The biggest roadblock for me is permissions management. I am trying to
write a permissions editor that lists all controllers and their
methods so I can simply
Hence why I said just use plugins, cause the conventions are
automatic.
On May 2, 1:56 am, AD7six wrote:
> On May 1, 10:32 pm, Jamie wrote:
>
>
>
> > On May 1, 1:21 pm, AD7six wrote:
>
> > > On May 1, 10:19 pm, Jamie wrote:
>
> > > > On May 1, 1:17 pm, AD7six wrote:
>
> > > > > On May 1, 10:1
On May 1, 10:32 pm, Jamie wrote:
> On May 1, 1:21 pm, AD7six wrote:
>
>
>
>
>
>
>
> > On May 1, 10:19 pm, Jamie wrote:
>
> > > On May 1, 1:17 pm, AD7six wrote:
>
> > > > On May 1, 10:13 pm, Jamie wrote:
>
> > > > > On May 1, 12:46 pm, AD7six wrote:
>
> > > > > > On May 1, 9:36 pm, Jamie wr
On May 1, 1:21 pm, AD7six wrote:
> On May 1, 10:19 pm, Jamie wrote:
>
>
>
>
>
> > On May 1, 1:17 pm, AD7six wrote:
>
> > > On May 1, 10:13 pm, Jamie wrote:
>
> > > > On May 1, 12:46 pm, AD7six wrote:
>
> > > > > On May 1, 9:36 pm, Jamie wrote:
>
> > > > > > I read the whole thread. I'm not
On May 1, 10:19 pm, Jamie wrote:
> On May 1, 1:17 pm, AD7six wrote:
>
>
>
> > On May 1, 10:13 pm, Jamie wrote:
>
> > > On May 1, 12:46 pm, AD7six wrote:
>
> > > > On May 1, 9:36 pm, Jamie wrote:
>
> > > > > I read the whole thread. I'm not sure how that changes my post.
>
> > > > > I was jus
On May 1, 1:17 pm, AD7six wrote:
> On May 1, 10:13 pm, Jamie wrote:
>
>
>
>
>
> > On May 1, 12:46 pm, AD7six wrote:
>
> > > On May 1, 9:36 pm, Jamie wrote:
>
> > > > I read the whole thread. I'm not sure how that changes my post.
>
> > > > I was just explaining to the original poster why subf
On May 1, 10:13 pm, Jamie wrote:
> On May 1, 12:46 pm, AD7six wrote:
>
>
>
> > On May 1, 9:36 pm, Jamie wrote:
>
> > > I read the whole thread. I'm not sure how that changes my post.
>
> > > I was just explaining to the original poster why subfolders didn't
> > > automatically work
>
> > I wou
On May 1, 9:46 pm, AD7six wrote:
> On May 1, 9:36 pm, Jamie wrote:
>
> > I read the whole thread. I'm not sure how that changes my post.
>
> > I was just explaining to the original poster why subfolders didn't
> > automatically work
>
> I would suggest you try and don't assume.
>
> > , why there'
On May 1, 12:46 pm, AD7six wrote:
> On May 1, 9:36 pm, Jamie wrote:
>
> > I read the whole thread. I'm not sure how that changes my post.
>
> > I was just explaining to the original poster why subfolders didn't
> > automatically work
>
> I would suggest you try and don't assume.
>
> > , why the
On May 1, 9:36 pm, Jamie wrote:
> I read the whole thread. I'm not sure how that changes my post.
>
> I was just explaining to the original poster why subfolders didn't
> automatically work
I would suggest you try and don't assume.
> , why there's no easy way to make them work, and why
> they
I read the whole thread. I'm not sure how that changes my post.
I was just explaining to the original poster why subfolders didn't
automatically work, why there's no easy way to make them work, and why
they work in other frameworks/code designs. Please explain to me the
problem you have with my po
On May 1, 9:12 pm, Jamie wrote:
> Because Cake doesn't follow the Zend/PEAR class naming convention, the
> only way to make subfolders work, really, is by manually adding each
> subfolder's path with App::build. Because class and file names don't
> match up and don't follow a pattern, there's no
Because Cake doesn't follow the Zend/PEAR class naming convention, the
only way to make subfolders work, really, is by manually adding each
subfolder's path with App::build. Because class and file names don't
match up and don't follow a pattern, there's no 'regular' Cake class
name/path and hence n
Also *I* sometimes want my controllers in sub-folders as an easy way
to use the File / Folder classes and folder locations to act as a
quick way to generate a filtered list of controllers. I have one
project with simple controllers in a widgets folder that all inherit
from a different parent contro
When I asked about controllers in sub-folders, the Cake devs told me
to just use plugins -.-
Sure there are ways around it, but I am repeating what I was told.
On Apr 30, 12:38 am, AD7six wrote:
> Matthew,
>
> They aren't /supposed/ to be in subfolders - please run through (I.e.
> don't just rea
Matthew,
They aren't /supposed/ to be in subfolders - please run through (I.e.
don't just read) the blog tutorial and try with a browser.
On Apr 29, 7:12 pm, Miles J wrote:
> Well its simple. You cant put controllers within subfolders. Cake
> doesn't support it.
Miles,
You're doing that my-ass
I was answering his question. I don't know what his actual situation
is - perhaps he simplified his scenario when he asked his question.
Also the answer is useful to someone else who might have a legit
reason for wanting an alternate folder structure.
Thanks though, for your useful input.
On Apr 2
Yeah but if you are going to do that, you might as well just use
plugins, lol.
On Apr 29, 6:38 pm, gremlin wrote:
> App::build( array(
> 'controllers' => array(
> DS . join( DS, array( 'parts', 'to', 'your', 'path' ) . DS,
> ... other paths for controller lookup
> ),
> ));
App::build( array(
'controllers' => array(
DS . join( DS, array( 'parts', 'to', 'your', 'path' ) . DS,
... other paths for controller lookup
),
));
should work for you. I am not sure if you need to set the "normal"
path as one of the array items or not. Play around and let
Well its simple. You cant put controllers within subfolders. Cake
doesn't support it.
If you want to put controllers within subfolders, you have to make it
a plugin.
On Apr 29, 7:38 am, Matthew wrote:
> Here is my basic file structure
>
> app/controllers ->
> /categories/cat
Here is my basic file structure
app/controllers ->
/categories/categories_controller.php
/news/news_controller.php
/users/users_controller.php
First attempt (default controller paths):
$controllerClasses = App::objects('controller');
23 matches
Mail list logo