If you have plugins in your application use the "-f" option to include
their tables in your schema
i.e.
---
cake schema generate -f
---
Daniel
On 26 Set, 10:29, danfreak wrote:
> By the way, now cakePHP has an integrated schema
By the way, now cakePHP has an integrated schema shell:
http://book.cakephp.org/view/734/Schema-management-and-migrations
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send e
Well in case of solution B, if you serialize (json_encode) you have
the order in which they got inserted, therefore you will know that the
first is the "start" and the last the "end". In order to search in
them ... it gets a bit complicated...
For solution A) I suggest having a
- TRIPS TABLE (HA
By the way, now cakePHP has an integrated schema shell:
http://book.cakephp.org/view/734/Schema-management-and-migrations
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send e
Well, I'm the author of the article you read: it's a bit outdated now.
Anyway, I would also suggest you a fixturize plugin to sincronize
stored data:
http://github.com/felixge/debuggable-scraps/tree/master/cakephp/shells/fixturize
--~--~-~--~~~---~--~~
You receiv
My solution is to rewrite the Router::base
in your app_controller.php beforeFilter()
-
//INTERNAZIONALIZATION
if(Configure::Read('Multilingual.enable')){
//$this->base = $this->base.'/'.$this->params['language'].'/';
if(__RQL__ != '' && __RQL__ !=
Thanks Andy!
--~--~-~--~~~---~--~~
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+unsubscr...@googlegr
Thanks for your answer Bert!
Any other opinion/solution?
--~--~-~--~~~---~--~~
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
the main encoding problem is in a shell script:
The script imports RSS from 10 different sources once every hour and
stores them in DB.
In order to normalize the grabbed content I use:
foreach ($feed->get_items() as $item){
$myitem['title'] = trim($item->get_ti
>From phpinfo()
I have Apache:
HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7
on both servers.
Dev server:
PHP Version 5.2.6
MySQL 5.0.67
-
Cheers guys,
well my problem is mainly related to the DB entries.
I'm deploying my application to the production server with capistrano,
pulling the application from a github (git) repository.
I have teh following DB config:
var
I used Zend Studio, then Aptana at work, but I'm now sticking with
TextMate ;o)
--~--~-~--~~~---~--~~
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 unsub
I was just forgetting in cake 1.2 once you are in the cake
installation dir you must
> --
> cd cake/console
> --
and now
Well how to use the command line wasn't clear from the docs for me as
well in the beginning.
If you are on Windows, open the DOS comand line.
move to your cakePHP installation dir (i.e "cd
to_your_cake_install_dir")
once you are in the install dir use the following magic command
(cakePHP v. 1
...I already pre-booked it online :o(
Dan
--~--~-~--~~~---~--~~
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 emai
I started with CakePHP 1.2.0.51246alpha strainght away.
I'll put my first site into production with it on Monday using the new
Auth component and all other stuff!
CakePHP rocks!!
And of a rockClimber says it...
;o) Dan
--~--~-~--~~~---~--~~
You received this
Unluckily not yet!
I suggest you to look in this forum, and directly into the comments in
the code.
There also is an API online=> http://api.cakephp.org/1.2/
Just be carefull: the API is for 1.2.0.5137 while the current version
is 1.2.0.5146alpha
+ ask via IRC channel=> 1.2.0.5137
Dan
+ ther
, Pillow <[EMAIL PROTECTED]> wrote:
> On 5 Lip, 15:33, danfreak <[EMAIL PROTECTED]> wrote:
>
> > Dunno if this can help, but I managed as explained in the following
> > post:
>
> > =>http://groups.google.com/group/cake-php/t/871ff4c536bc1e00
>
> Thanks
I have a similar problem: I use cake 1.2.0.5146alpha.
In my controller I have a beforeFilter() method like this:
---
if($this->Session->check('Auth.User')){
$this->reg();
}
else{
A bit more code from the Form_Wizard
--
class FormWizardComponent extends Object {
var $ways = null;
var $_prefixWizard;
var $_wizardData = array();
var $_way = null;
var $_fctname;
var $_curstep;
var $controller
Dunno if this can help, but I managed as explained in the following
post:
=> http://groups.google.com/group/cake-php/t/871ff4c536bc1e00
Dan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To pos
Cheers guys!
Well 1 thing I did not thougt about before is that eventually I can
change the layout of the actioin reserved to admins, in order to
"dress up" the admin area differently!
i.e
$this->layout = 'default'; //in normal actions
$this->layout = 'admin'; //in admin actions
...but I sh
Nice!
Well done!
Is it based on Cake 1.2?
Did you use the auth component?
Good job mate!
Dan
--~--~-~--~~~---~--~~
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@goo
Cheers Chris!
Any other opinion?
--~--~-~--~~~---~--~~
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 [EMAI
Hey guys,
I saw a couple of different approaches for building an admin backend:
1) exploit CAKE admin routes and then show the relative controllers
actions only if an user belongs to certain administrative groups
2) build 2 applications (frontend and backend) and then manage
everything from the
Well I place jquery stuff in a subdirectory of webroot/js
I have webroot/js/jquery/jquery.js
In my header I have:
---
Yeas, use behaviors for generic/abstract model actions, and components
for generic/abstract controllers actions!
Also have a look at this post:
--
More about Behaviors ?
http://groups.google.com/group/cake
Dunno why but I can't post in the original thread.
original thread=> " new auth component in cake 1.2 "
http://groups.google.com/group/cake-php/browse_frm/thread/f2d0143c2e59ce2b/30126ff7024d152c?lnk=gst&q=auth&rnum=2#30126ff7024d152c
My 2 cents about the new Auth component (Cake 1.2.0.5146alp
Hey Robert,
about the html Helper in cake_1.2
charsetTag() is now simply charset()
With regard to the js files:
plase them all in webroot/js/
Dan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
Hey pluriels,
well, I think that it would be fair to let the original "bakers" of
the above code write a tutorial on the Bakery. I'll ask them about it.
About Symfony, CAkePHP and other frameworks: I think that every
framework has its pros and cons.
the trick is to use the right framework for th
Hey Max,
well behaviours are great in terms of code reusability.
They stand to modules as components stand to controllers.
Just a small example. If you checked out Cake 1.2 you might have
noticed the Tree behaviour.
The Tree behaviour helps to handle situations that deel with commplex
hierarchic
Cheers Billy!
I already did that but I was trying to understand better whether it is
was possible/more convenient to achieve this result via ACL.
Do you think that the allow method of the Auth library is more
convenient/performant using conditional statements in the controller/
app_controller th
If you simply need to update the position of the items in a list using
ajax and dragging/dropping them this is a solution
(based on this thread
http://groups.google.com/group/cake-php/browse_thread/thread/e921d173b7c41519/becb28c858e4d683?lnk=gst&q=sortable&rnum=1#becb28c858e4d683)
---
Anybody any help?!?!
Dan
--~--~-~--~~~---~--~~
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 PROTECT
You right!
this is my second post in fact!
I came back to CAKEPHP, and after playing around with it and
understanding it better I must say it's simply great!
I'm testing the last alpha version (1.2.0.5146alpha).
Not sure if I misunderstood something but as I undestood, in my AROS I
must set ever
Hey Bakers,
this is my first post here ;o)
Well I just wanted to ask whether (and how...) I can set ACL.aros
ACL.acos dynamically.
Namely I have the following tables:
- Users
- Groups
- Groups_Users
I would like to set the Groups in the AROS, and then set permissions
in the ACOS and manage the
36 matches
Mail list logo