Thursday, December 31, 2009

Re: anybody tried the 1.3 console yet

To add in new bake templates use a non 'default' directory for your
templates. They would go in vendors/shells/templates/<yourtemplate>
and use the same directories as the core default templates do. If you
don't supply all the templates the core templates will be used as a
fallback.

-Mark

On Dec 30, 7:38 pm, euromark <dereurom...@googlemail.com> wrote:
> this now seems to be fixed in the current HEAD version
>
> but:
> in 1.3 the templates have a different folder structure
>
> \cake\console\templates\default
> - actions
> - classes
> - views
>
> instead of just
> - default
> (<= 1.2)
>
> does anyone know how to override the core template files from the app
> or even the global vendors folder?
> is it:
>     \app\vendors\shells\templates\default
> and for several apps:
>     \vendors\shells\templates\default
> with the corresponding subfolders? does not seem to work anyway.
>
> i thought cake first looks in \app\vendors\shells
> then in \vendors\shells and finally in the default folder in \cake
>
> but right now neither "app" nor "vendors" would override the default
> templates
> only modifying the core files directly does
>
> thx in advance
> mark
>
> On 21 Dez., 20:44, euromark <dereurom...@googlemail.com> wrote:
>
>
>
> > after switching the core folder from 1.2 to 1.3 the console of course
> > is now 1.3 as well
>
> > but where does 1.3 "cake bake" save/get the lists of database tables
> > now?
> > it does not seem to cake them out of the tmp/cache/models folder -
> > therefore my new tables cannot be found in the console - although i
> > cleared the cache folder completely
> > in 1.2 this was enough to regenerate the array of all available
> > tables...
>
> > after switching back to 1.2 the new tables appeared again in the
> > console
>
> > thx

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: