Re: subfolders in elements folder?

2007-04-04 Thread gerbenzomp

Ok, I described the issue: https://trac.cakephp.org/ticket/2345

Would be great if this enhancement could be made. For now, maybe the
only solution is to use prefixes.

Gerben.

On 5 apr, 00:23, "gerbenzomp" <[EMAIL PROTECTED]> wrote:
> Nope, I already tried, but doing:
>
> var $components = array('widgets/wdgtRecentposts');
>
> really doesn't work...
>
> I tried with a slash in front of the widgets folder as well.
>
> I would like to get this to work, because I use AD7six's "mini-
> controllers" method for widgets (http://www.noswad.me.uk/MiBlog/
> MiniControllers), but because it saves so much loading time compared
> to requestAction, it really comes in handy on many more occasions. The
> components folder has become a mess ;)
>
> Also, it would be a logical way to show the link between the
> components and the views (when using the "mini-controllers" method).
>
> One of the main reasons I started using Cake, was that I wanted to
> code in a more organised, easy to understand way. And somehow things
> are turning into a mess again, now I'm trying to avoid using
> requestaction :)
>
> Thx for your thoughts everyone! I haven't found a ticket in Trac about
> this, so I'll add one.
>
> Gerben.
>
> On 4 apr, 23:44, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
>
> > try it, if it doesn't work look for a ticket at trac.cakephp.org, if
> > there isn't one make one
>
> > Sam D
>
> > On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
>
> > > It's good to know there's a way to customize the paths for models,
> > > views and controllers (I might use that option as well), but is there
> > > REALLY no way to organize components in subfolders? That would really
> > > be a solution for me, because I use components a lot.
>
> > > Anyway, the elements solution is already really working out!
>
> > > On 4 apr, 19:32, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > > > I think he was asking about organizing you components folder with 
> > > > sub-folders
>
> > > > On 4/4/07, majna <[EMAIL PROTECTED]> wrote:
>
> > > > > Works for views, models, controllers and (test it) components.
> > > > > Put this to config/bootstrap.php
> > > > > Only add your custom paths...
>
> > > > > $modelPaths = array(APP.'myFolder'.DS.'models'.DS);
> > > > > $viewPaths = array(APP.'myFolder'.DS.'views'.DS);
> > > > > $controllerPaths = array(APP.'myFolder'.DS.'controllers'.DS);
> > > > > $helperPaths = array(APP.'myFolder'.DS.'views'.DS.'helpers'.DS);
>
> > > > > On Apr 4, 5:07 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > > > > > mainly I use it to keep admin stuff together, menu pieces together 
> > > > > > and
> > > > > > form elements together
>
> > > > > > I don't think it works for helpers or components (but does for 
> > > > > > vendors)
>
> > > > > > On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
>
> > > > > > > Oops! I figured that wouldn't be possible, because I never saw 
> > > > > > > anyone
> > > > > > > do it. I'll try it!
>
> > > > > > > Good to hear you're doing it all the time, I thought this would 
> > > > > > > be a
> > > > > > > really strange question ;)
>
> > > > > > > Is it also possible for components?
>
> > > > > > > Gerben.
>
> > > > > > > On 4 apr, 16:54, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > > > > > > > I use sub folders all the time
>
> > > > > > > > $this->renderElement('this/that/and/the/other/thing');
>
> > > > > > > > Did you try it and not have it work?
>
> > > > > > > > On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > > Maybe a strange question, but is there a way I can have 
> > > > > > > > > subfolders in
> > > > > > > > > the elements folder? I have so many elements I really need a 
> > > > > > > > > way to
> > > > > > > > > organize them. Right now I give the elements a prefix_ but 
> > > > > > > > > but putting
> > > > > > > > > them in subfolders would be so much easier, and easier to 
> > > > > > > > > read.
>
> > > > > > > > > Or do I have to change the core code? I do have the themeable 
> > > > > > > > > view
> > > > > > > > > class installed, so maybe I could change some paths there?
>
> > > > > > > > --
> > > > > > > > (the old fart) the advice is free, the lack of crankiness will 
> > > > > > > > cost you
>
> > > > > > > > - its a fine line between a real question and an idiot
>
> > > > > > > >http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
>
> > > > > > --
> > > > > > (the old fart) the advice is free, the lack of crankiness will cost 
> > > > > > you
>
> > > > > > - its a fine line between a real question and an idiot
>
> > > > > >http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
>
> > > > --
> > > > (the old fart) the advice is free, the lack of crankiness will cost you
>
> > > > - its a fine line between a real question and an idiot
>
> > > >http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
>
> > --
> > (the old fart) the advice is free, the lack of crankiness will cost you
>
> > - its a fine line bet

Re: subfolders in elements folder?

2007-04-04 Thread gerbenzomp

Nope, I already tried, but doing:

var $components = array('widgets/wdgtRecentposts');

really doesn't work...

I tried with a slash in front of the widgets folder as well.

I would like to get this to work, because I use AD7six's "mini-
controllers" method for widgets (http://www.noswad.me.uk/MiBlog/
MiniControllers), but because it saves so much loading time compared
to requestAction, it really comes in handy on many more occasions. The
components folder has become a mess ;)

Also, it would be a logical way to show the link between the
components and the views (when using the "mini-controllers" method).

One of the main reasons I started using Cake, was that I wanted to
code in a more organised, easy to understand way. And somehow things
are turning into a mess again, now I'm trying to avoid using
requestaction :)

Thx for your thoughts everyone! I haven't found a ticket in Trac about
this, so I'll add one.

Gerben.

On 4 apr, 23:44, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> try it, if it doesn't work look for a ticket at trac.cakephp.org, if
> there isn't one make one
>
> Sam D
>
> On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > It's good to know there's a way to customize the paths for models,
> > views and controllers (I might use that option as well), but is there
> > REALLY no way to organize components in subfolders? That would really
> > be a solution for me, because I use components a lot.
>
> > Anyway, the elements solution is already really working out!
>
> > On 4 apr, 19:32, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > > I think he was asking about organizing you components folder with 
> > > sub-folders
>
> > > On 4/4/07, majna <[EMAIL PROTECTED]> wrote:
>
> > > > Works for views, models, controllers and (test it) components.
> > > > Put this to config/bootstrap.php
> > > > Only add your custom paths...
>
> > > > $modelPaths = array(APP.'myFolder'.DS.'models'.DS);
> > > > $viewPaths = array(APP.'myFolder'.DS.'views'.DS);
> > > > $controllerPaths = array(APP.'myFolder'.DS.'controllers'.DS);
> > > > $helperPaths = array(APP.'myFolder'.DS.'views'.DS.'helpers'.DS);
>
> > > > On Apr 4, 5:07 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > > > > mainly I use it to keep admin stuff together, menu pieces together and
> > > > > form elements together
>
> > > > > I don't think it works for helpers or components (but does for 
> > > > > vendors)
>
> > > > > On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
>
> > > > > > Oops! I figured that wouldn't be possible, because I never saw 
> > > > > > anyone
> > > > > > do it. I'll try it!
>
> > > > > > Good to hear you're doing it all the time, I thought this would be a
> > > > > > really strange question ;)
>
> > > > > > Is it also possible for components?
>
> > > > > > Gerben.
>
> > > > > > On 4 apr, 16:54, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > > > > > > I use sub folders all the time
>
> > > > > > > $this->renderElement('this/that/and/the/other/thing');
>
> > > > > > > Did you try it and not have it work?
>
> > > > > > > On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
>
> > > > > > > > Maybe a strange question, but is there a way I can have 
> > > > > > > > subfolders in
> > > > > > > > the elements folder? I have so many elements I really need a 
> > > > > > > > way to
> > > > > > > > organize them. Right now I give the elements a prefix_ but but 
> > > > > > > > putting
> > > > > > > > them in subfolders would be so much easier, and easier to read.
>
> > > > > > > > Or do I have to change the core code? I do have the themeable 
> > > > > > > > view
> > > > > > > > class installed, so maybe I could change some paths there?
>
> > > > > > > --
> > > > > > > (the old fart) the advice is free, the lack of crankiness will 
> > > > > > > cost you
>
> > > > > > > - its a fine line between a real question and an idiot
>
> > > > > > >http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
>
> > > > > --
> > > > > (the old fart) the advice is free, the lack of crankiness will cost 
> > > > > you
>
> > > > > - its a fine line between a real question and an idiot
>
> > > > >http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
>
> > > --
> > > (the old fart) the advice is free, the lack of crankiness will cost you
>
> > > - its a fine line between a real question and an idiot
>
> > >http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
>
> --
> (the old fart) the advice is free, the lack of crankiness will cost you
>
> - its a fine line between a real question and an idiot
>
> http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/gro

Re: subfolders in elements folder?

2007-04-04 Thread Samuel DeVore

try it, if it doesn't work look for a ticket at trac.cakephp.org, if
there isn't one make one

Sam D

On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
>
> It's good to know there's a way to customize the paths for models,
> views and controllers (I might use that option as well), but is there
> REALLY no way to organize components in subfolders? That would really
> be a solution for me, because I use components a lot.
>
> Anyway, the elements solution is already really working out!
>
>
> On 4 apr, 19:32, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > I think he was asking about organizing you components folder with 
> > sub-folders
> >
> > On 4/4/07, majna <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> > > Works for views, models, controllers and (test it) components.
> > > Put this to config/bootstrap.php
> > > Only add your custom paths...
> >
> > > $modelPaths = array(APP.'myFolder'.DS.'models'.DS);
> > > $viewPaths = array(APP.'myFolder'.DS.'views'.DS);
> > > $controllerPaths = array(APP.'myFolder'.DS.'controllers'.DS);
> > > $helperPaths = array(APP.'myFolder'.DS.'views'.DS.'helpers'.DS);
> >
> > > On Apr 4, 5:07 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > > > mainly I use it to keep admin stuff together, menu pieces together and
> > > > form elements together
> >
> > > > I don't think it works for helpers or components (but does for vendors)
> >
> > > > On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
> >
> > > > > Oops! I figured that wouldn't be possible, because I never saw anyone
> > > > > do it. I'll try it!
> >
> > > > > Good to hear you're doing it all the time, I thought this would be a
> > > > > really strange question ;)
> >
> > > > > Is it also possible for components?
> >
> > > > > Gerben.
> >
> > > > > On 4 apr, 16:54, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > > > > > I use sub folders all the time
> >
> > > > > > $this->renderElement('this/that/and/the/other/thing');
> >
> > > > > > Did you try it and not have it work?
> >
> > > > > > On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
> >
> > > > > > > Maybe a strange question, but is there a way I can have 
> > > > > > > subfolders in
> > > > > > > the elements folder? I have so many elements I really need a way 
> > > > > > > to
> > > > > > > organize them. Right now I give the elements a prefix_ but but 
> > > > > > > putting
> > > > > > > them in subfolders would be so much easier, and easier to read.
> >
> > > > > > > Or do I have to change the core code? I do have the themeable view
> > > > > > > class installed, so maybe I could change some paths there?
> >
> > > > > > --
> > > > > > (the old fart) the advice is free, the lack of crankiness will cost 
> > > > > > you
> >
> > > > > > - its a fine line between a real question and an idiot
> >
> > > > > >http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
> >
> > > > --
> > > > (the old fart) the advice is free, the lack of crankiness will cost you
> >
> > > > - its a fine line between a real question and an idiot
> >
> > > >http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
> >
> > --
> > (the old fart) the advice is free, the lack of crankiness will cost you
> >
> > - its a fine line between a real question and an idiot
> >
> > http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
>
>
> >
>


-- 
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: subfolders in elements folder?

2007-04-04 Thread gerbenzomp

It's good to know there's a way to customize the paths for models,
views and controllers (I might use that option as well), but is there
REALLY no way to organize components in subfolders? That would really
be a solution for me, because I use components a lot.

Anyway, the elements solution is already really working out!


On 4 apr, 19:32, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> I think he was asking about organizing you components folder with sub-folders
>
> On 4/4/07, majna <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Works for views, models, controllers and (test it) components.
> > Put this to config/bootstrap.php
> > Only add your custom paths...
>
> > $modelPaths = array(APP.'myFolder'.DS.'models'.DS);
> > $viewPaths = array(APP.'myFolder'.DS.'views'.DS);
> > $controllerPaths = array(APP.'myFolder'.DS.'controllers'.DS);
> > $helperPaths = array(APP.'myFolder'.DS.'views'.DS.'helpers'.DS);
>
> > On Apr 4, 5:07 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > > mainly I use it to keep admin stuff together, menu pieces together and
> > > form elements together
>
> > > I don't think it works for helpers or components (but does for vendors)
>
> > > On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
>
> > > > Oops! I figured that wouldn't be possible, because I never saw anyone
> > > > do it. I'll try it!
>
> > > > Good to hear you're doing it all the time, I thought this would be a
> > > > really strange question ;)
>
> > > > Is it also possible for components?
>
> > > > Gerben.
>
> > > > On 4 apr, 16:54, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > > > > I use sub folders all the time
>
> > > > > $this->renderElement('this/that/and/the/other/thing');
>
> > > > > Did you try it and not have it work?
>
> > > > > On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
>
> > > > > > Maybe a strange question, but is there a way I can have subfolders 
> > > > > > in
> > > > > > the elements folder? I have so many elements I really need a way to
> > > > > > organize them. Right now I give the elements a prefix_ but but 
> > > > > > putting
> > > > > > them in subfolders would be so much easier, and easier to read.
>
> > > > > > Or do I have to change the core code? I do have the themeable view
> > > > > > class installed, so maybe I could change some paths there?
>
> > > > > --
> > > > > (the old fart) the advice is free, the lack of crankiness will cost 
> > > > > you
>
> > > > > - its a fine line between a real question and an idiot
>
> > > > >http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
>
> > > --
> > > (the old fart) the advice is free, the lack of crankiness will cost you
>
> > > - its a fine line between a real question and an idiot
>
> > >http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
>
> --
> (the old fart) the advice is free, the lack of crankiness will cost you
>
> - its a fine line between a real question and an idiot
>
> http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: subfolders in elements folder?

2007-04-04 Thread Samuel DeVore

I think he was asking about organizing you components folder with sub-folders

On 4/4/07, majna <[EMAIL PROTECTED]> wrote:
>
> Works for views, models, controllers and (test it) components.
> Put this to config/bootstrap.php
> Only add your custom paths...
>
> $modelPaths = array(APP.'myFolder'.DS.'models'.DS);
> $viewPaths = array(APP.'myFolder'.DS.'views'.DS);
> $controllerPaths = array(APP.'myFolder'.DS.'controllers'.DS);
> $helperPaths = array(APP.'myFolder'.DS.'views'.DS.'helpers'.DS);
>
> On Apr 4, 5:07 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > mainly I use it to keep admin stuff together, menu pieces together and
> > form elements together
> >
> > I don't think it works for helpers or components (but does for vendors)
> >
> > On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> > > Oops! I figured that wouldn't be possible, because I never saw anyone
> > > do it. I'll try it!
> >
> > > Good to hear you're doing it all the time, I thought this would be a
> > > really strange question ;)
> >
> > > Is it also possible for components?
> >
> > > Gerben.
> >
> > > On 4 apr, 16:54, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > > > I use sub folders all the time
> >
> > > > $this->renderElement('this/that/and/the/other/thing');
> >
> > > > Did you try it and not have it work?
> >
> > > > On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
> >
> > > > > Maybe a strange question, but is there a way I can have subfolders in
> > > > > the elements folder? I have so many elements I really need a way to
> > > > > organize them. Right now I give the elements a prefix_ but but putting
> > > > > them in subfolders would be so much easier, and easier to read.
> >
> > > > > Or do I have to change the core code? I do have the themeable view
> > > > > class installed, so maybe I could change some paths there?
> >
> > > > --
> > > > (the old fart) the advice is free, the lack of crankiness will cost you
> >
> > > > - its a fine line between a real question and an idiot
> >
> > > >http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
> >
> > --
> > (the old fart) the advice is free, the lack of crankiness will cost you
> >
> > - its a fine line between a real question and an idiot
> >
> > http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
>
>
> >
>


-- 
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: subfolders in elements folder?

2007-04-04 Thread majna

Works for views, models, controllers and (test it) components.
Put this to config/bootstrap.php
Only add your custom paths...

$modelPaths = array(APP.'myFolder'.DS.'models'.DS);
$viewPaths = array(APP.'myFolder'.DS.'views'.DS);
$controllerPaths = array(APP.'myFolder'.DS.'controllers'.DS);
$helperPaths = array(APP.'myFolder'.DS.'views'.DS.'helpers'.DS);

On Apr 4, 5:07 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> mainly I use it to keep admin stuff together, menu pieces together and
> form elements together
>
> I don't think it works for helpers or components (but does for vendors)
>
> On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Oops! I figured that wouldn't be possible, because I never saw anyone
> > do it. I'll try it!
>
> > Good to hear you're doing it all the time, I thought this would be a
> > really strange question ;)
>
> > Is it also possible for components?
>
> > Gerben.
>
> > On 4 apr, 16:54, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > > I use sub folders all the time
>
> > > $this->renderElement('this/that/and/the/other/thing');
>
> > > Did you try it and not have it work?
>
> > > On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
>
> > > > Maybe a strange question, but is there a way I can have subfolders in
> > > > the elements folder? I have so many elements I really need a way to
> > > > organize them. Right now I give the elements a prefix_ but but putting
> > > > them in subfolders would be so much easier, and easier to read.
>
> > > > Or do I have to change the core code? I do have the themeable view
> > > > class installed, so maybe I could change some paths there?
>
> > > --
> > > (the old fart) the advice is free, the lack of crankiness will cost you
>
> > > - its a fine line between a real question and an idiot
>
> > >http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
>
> --
> (the old fart) the advice is free, the lack of crankiness will cost you
>
> - its a fine line between a real question and an idiot
>
> http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: subfolders in elements folder?

2007-04-04 Thread Samuel DeVore

mainly I use it to keep admin stuff together, menu pieces together and
form elements together

I don't think it works for helpers or components (but does for vendors)

On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
>
> Oops! I figured that wouldn't be possible, because I never saw anyone
> do it. I'll try it!
>
> Good to hear you're doing it all the time, I thought this would be a
> really strange question ;)
>
> Is it also possible for components?
>
> Gerben.
>
>
> On 4 apr, 16:54, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> > I use sub folders all the time
> >
> > $this->renderElement('this/that/and/the/other/thing');
> >
> > Did you try it and not have it work?
> >
> > On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > Maybe a strange question, but is there a way I can have subfolders in
> > > the elements folder? I have so many elements I really need a way to
> > > organize them. Right now I give the elements a prefix_ but but putting
> > > them in subfolders would be so much easier, and easier to read.
> >
> > > Or do I have to change the core code? I do have the themeable view
> > > class installed, so maybe I could change some paths there?
> >
> > --
> > (the old fart) the advice is free, the lack of crankiness will cost you
> >
> > - its a fine line between a real question and an idiot
> >
> > http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
>
>
> >
>


-- 
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: subfolders in elements folder?

2007-04-04 Thread gerbenzomp

Oops! I figured that wouldn't be possible, because I never saw anyone
do it. I'll try it!

Good to hear you're doing it all the time, I thought this would be a
really strange question ;)

Is it also possible for components?

Gerben.


On 4 apr, 16:54, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> I use sub folders all the time
>
> $this->renderElement('this/that/and/the/other/thing');
>
> Did you try it and not have it work?
>
> On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
>
>
>
> > Maybe a strange question, but is there a way I can have subfolders in
> > the elements folder? I have so many elements I really need a way to
> > organize them. Right now I give the elements a prefix_ but but putting
> > them in subfolders would be so much easier, and easier to read.
>
> > Or do I have to change the core code? I do have the themeable view
> > class installed, so maybe I could change some paths there?
>
> --
> (the old fart) the advice is free, the lack of crankiness will cost you
>
> - its a fine line between a real question and an idiot
>
> http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: subfolders in elements folder?

2007-04-04 Thread Samuel DeVore

I use sub folders all the time

$this->renderElement('this/that/and/the/other/thing');

Did you try it and not have it work?

On 4/4/07, gerbenzomp <[EMAIL PROTECTED]> wrote:
>
> Maybe a strange question, but is there a way I can have subfolders in
> the elements folder? I have so many elements I really need a way to
> organize them. Right now I give the elements a prefix_ but but putting
> them in subfolders would be so much easier, and easier to read.
>
> Or do I have to change the core code? I do have the themeable view
> class installed, so maybe I could change some paths there?
>
>
> >
>


-- 
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



subfolders in elements folder?

2007-04-04 Thread gerbenzomp

Maybe a strange question, but is there a way I can have subfolders in
the elements folder? I have so many elements I really need a way to
organize them. Right now I give the elements a prefix_ but but putting
them in subfolders would be so much easier, and easier to read.

Or do I have to change the core code? I do have the themeable view
class installed, so maybe I could change some paths there?


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---