Re: a few questions about Cake Bake and latest version 2.30

2013-02-02 Thread majna
It's --admin, not -admin (see cake bake controller --help)

1. uncomment Configure::write('Routing.prefixes', array('admin')); in 
Config/core.php
2. cake bake controller Posts --public --admin
3. cake bake view Posts

On Tuesday, January 29, 2013 5:05:17 PM UTC+1, OSGMAL wrote:
>
> Hi newbie here to CakePHP!
>
> I've got my project setup via Bake, and the database configuration, but 
> i'm a bit stuck I've read somewhere about using the -admin flags within 
> Bake.
>
> Not sure if I've read it right but is it my understanding if you use the 
> -admin flag some how (not worked that part out) it should produce the 
> following: 
>
> View | Articles
>
>- admin_add.ctp
>- admin_edit.ctp
>- admin_index.ctp
>- admin_view.ctp
>
> Instead of the following:
>
> View | Articles
>
>- add.ctp
>- edit.ctp
>- index.ctp
>- view.ctp
>
> If this is correct can someone tell me exactly how I need to do it via 
> cake bake all
>
> Also on http://www.cakephp.org is somewhat out of date with the TV 
> section after reading some of the stuff on there quite a bit has changed 
> since version 1.3 
> updating this might resolve a few newbies headaches.
>
> The site also claims that version 2.30 has been released but on git it 
> only shows 2.30 Beta??? is this a typo on the site or is it been released 
> or still in Beta??
>
> Thanks in advance.
>
> Regards
>
> Mal
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




a few questions about Cake Bake and latest version 2.30

2013-01-30 Thread OSGMAL
Hi newbie here to CakePHP!

I've got my project setup via Bake, and the database configuration, but i'm 
a bit stuck I've read somewhere about using the -admin flags within Bake.

Not sure if I've read it right but is it my understanding if you use the 
-admin flag some how (not worked that part out) it should produce the 
following: 

View | Articles

   - admin_add.ctp
   - admin_edit.ctp
   - admin_index.ctp
   - admin_view.ctp

Instead of the following:

View | Articles

   - add.ctp
   - edit.ctp
   - index.ctp
   - view.ctp

If this is correct can someone tell me exactly how I need to do it via cake 
bake all

Also on http://www.cakephp.org is somewhat out of date with the TV section 
after reading some of the stuff on there quite a bit has changed since 
version 1.3 
updating this might resolve a few newbies headaches.

The site also claims that version 2.30 has been released but on git it only 
shows 2.30 Beta??? is this a typo on the site or is it been released or 
still in Beta??

Thanks in advance.

Regards

Mal

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.