DBDesigner 4 Scaffold Tools for CakePHP - 1.0.0 FINAL

2007-09-07 Thread Dérico Filho
Hello All, I just released the final version of DBDesigner 4 Scaffold Tools for CakePHP 1.0.0. There was just a tiny bug found regarding the -app parameter. I hope you guys enjoy it as much as I did. Currently I am working on the tutorial and perhaps a screencast, afterwards I will look for Cak

ACL model Aro misssing???????

2007-09-07 Thread SIXS
In the Create website fast with Cakephp I am trying to follow the ACL code and I get this error " Missing databases table" model ARO(expected aros) I created in myswl a database initdb and created the tables aros, acos ) but I don't know if it is the correct database?? Any help thanks cake ph

Re: dynamic internationalization -->multilanguage website

2007-09-07 Thread dardosordi
Look at the "How to add i18n support?" section. in http://groups.google.com/group/cake-php/web/frequent-discussions . On Sep 7, 1:46 pm, francky06l <[EMAIL PROTECTED]> wrote: > I do not really understand "I mean for example retrieving/storing a > post content in English or > another language depe

Re: Model question v1.2

2007-09-07 Thread Chris Hartjes
On 9/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > If I use $this->set('post',$this->Post->read()); in the controller > > Why do I have to access it like this in the view: > > echo $post['Post']['id']; > > Shouldn't the proper way be echo $post['id']; > > Is this a bug? Has the spec chang

Re: Trouble using find all

2007-09-07 Thread Chris Hartjes
On 9/7/07, vegancoder <[EMAIL PROTECTED]> wrote: > > > Hello > > Im having a bit of trouble using the model->findAll() method. > > I am trying to integrate phpbb with cake and want to use phpbb's user table. > > In my model i have used this to set my table: $this->useTable = > 'phpbb_users' > I th

Model question v1.2

2007-09-07 Thread [EMAIL PROTECTED]
If I use $this->set('post',$this->Post->read()); in the controller Why do I have to access it like this in the view: echo $post['Post']['id']; Shouldn't the proper way be echo $post['id']; Is this a bug? Has the spec changed in 1.2? I went through the code for the read() function in /cake/libs

Re: Managing a Cake project with SVN

2007-09-07 Thread Felix Geisendörfer
> > Other than changing an app directory and database settings, is there > anything I should know about that could cause the site to operate on > one PC but not another? Cache/temp files? Anything that's environment- > dependent? Yes, you need to give write permissions to the tmp directory if you r

observeField updating multiple divs

2007-09-07 Thread [EMAIL PROTECTED]
Hello guys, I'm trying to update 2 divs via ajax->observeField, I got this code: observeField('ModelField', array('url'=>'/controller/ action1', 'frecuency' => 1, 'update' => 'div1')) ?> observeField('ModelField', array('url'=>'/controller/ action2', 'frecuency' => 1, 'update' => 'div2')) ?> di

Trouble using find all

2007-09-07 Thread vegancoder
Hello Im having a bit of trouble using the model->findAll() method. I am trying to integrate phpbb with cake and want to use phpbb's user table. In my model i have used this to set my table: $this->useTable = 'phpbb_users' I think that is correct, could someone tell me if its not? When i try

Testing Controllers in 1.2

2007-09-07 Thread dresdn
Hi. I just started looking at CakePHP just over a week ago, and so far, I like what I see. Based on documentation, etc., I've decided to start out with the 1.2 branch due to all the nice new features. One of the things I was most interested in was testing, and using the Blog Tutorial as a start

Cake 1.2 Console constants

2007-09-07 Thread BravoFoxtrot
Hi, I'm creating some templates for views and controllers using cake1.2.0.5427. I want to to have order columns so that if I use a certain column name the controller will generate a changeOrder function. For example assume the following table menu_items: table menu_items( id, itemname, itemlin

Re: how to develope project using cake php

2007-09-07 Thread BravoFoxtrot
I found these tutorials very helpful. If you follow them through it will give you a start. http://www.scribd.com/search?sortorder=views&query=tags%3Acakephp On Sep 7, 4:05 am, vills <[EMAIL PROTECTED]> wrote: > see i m totally new to cakephp and i need to develope my project using > cakephp fram

Managing a Cake project with SVN

2007-09-07 Thread Anthony
Hello, I am trying to manage a Cake project with SVN, but keep running into errors when trying to test the project on another PC. Most of the errors look like this: Warning: file_put_contents(/Applications/xampp/xamppfiles/ htdocs/public/caketest/app/tmp/cache/models/default_caketest_list) [funct

Re: dynamic internationalization -->multilanguage website

2007-09-07 Thread francky06l
I do not really understand "I mean for example retrieving/storing a post content in English or another language depending on the stored locale in sessions. ".. If the post is entered only once you'll have one occurrence of it. i18n will not translate your captured data in cake. The user can choo

Re: href for ajax links

2007-09-07 Thread majna
Try: link('link title', '/some_controller/category/11', array( 'url'=>'category/11', 'update'=>'results', 'complete'=>'Effect.appear("results"))?> On Sep 7, 11:12 am, zeroStar <[EMAIL PROTECTED]> wrote: > Hello all, > > We are developing a video site almost exclusively with ajax. There is > an e

Re: ACL question: ACO-ARO links not being set as expected. Why?

2007-09-07 Thread Paul
Anyone any ideas? Surely ACL shouldn't be this hard? By the way, I'm using PHP 5 and Cake 1.2. On 31 Aug, 10:44, Paul <[EMAIL PROTECTED]> wrote: > Hi there, > > I'm getting more and more frustrated withACL, so please someone help > me before I drive myself mad! I'm sure once I'm over this last

Re: how to develope project using cake php

2007-09-07 Thread majna
Try this first: http://cakephp.org/screencasts/view/3 On Sep 7, 12:05 pm, vills <[EMAIL PROTECTED]> wrote: > see i m totally new to cakephp and i need to develope my project using > cakephp framework .Previously all projects was done using simple php > coding no framework nothing was used.Can an

Re: Some notes on Auth (with something done about them)

2007-09-07 Thread Chris Hartjes
On 9/7/07, David <[EMAIL PROTECTED]> wrote: > Sorry, I wasn't clear. I've never seen Auth hash the username, but it > will hash the password if both it and a username are passed to the > action. While this is great if we're in the login action, what if > we're in the register action? By the time w

dynamic internationalization -->multilanguage website

2007-09-07 Thread cakeFreak
Hey guys, cheers for the clues on how to use l10n (http://groups.google.com/ group/cake-php/browse_frm/thread/1edcbbaed20657b9/13afbe9841b91314? #13afbe9841b91314). This will be super in order to handle static language messages. But what about retrieving content in database for different langua

href for ajax links

2007-09-07 Thread zeroStar
Hello all, We are developing a video site almost exclusively with ajax. There is an embedded windows media player (video is in asx only), and many ajax links around, so that the video can be playing while the user is searching etc. my problem is with this code: link('link title', 'javascript:vo

Re: API Documentation Generator

2007-09-07 Thread MarkH
On Sep 6, 4:53 pm, djiize <[EMAIL PROTECTED]> wrote: > Where did you see it was parsed by Doxygen? > I still use PHPDocumentor, and I remember a post from phpNut saying it > was parsed by this tool...http://www.phpdoc.org/ Because the HTML contains... and the page is identical to the d

Re: Some notes on Auth (with something done about them)

2007-09-07 Thread David
Thanks for the feedback, guys. > Well, actually, the easiest way to solve this problem isdon't put > login in the list of allowed actions because Auth already handles > login / logout for you. Perhaps this needs to be written down > somewhere. I agree with you, but I thought why not go one

how to develope project using cake php

2007-09-07 Thread vills
see i m totally new to cakephp and i need to develope my project using cakephp framework .Previously all projects was done using simple php coding no framework nothing was used.Can any body tell me how do i start my application using cakephp. Before this i used devlope coding in php and transfer i

View this page "Cake Apps/Sites In The Wild"

2007-09-07 Thread dardosordi
This was developed a few month ago but was not on-line untill a few weeks. Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild?hl=en - or copy & paste it into your browser's address bar if that doesn't work. --~--~-~--~~~---~--~~ You

Re: AuthComponent - Alternate ways to hash passwords?

2007-09-07 Thread francky06l
Seems really perfect timing : http://groups.google.com/group/cake-php/browse_thread/thread/9026125f87c173f2 On Sep 7, 11:10 am, MrTufty <[EMAIL PROTECTED]> wrote: > Thanks, it'll give me a starting point to look at! > > I was thinking I could probably just extend the AuthComponent, > override a

Addendum to Joshua Benner's "Understanding CakePHP Associations"

2007-09-07 Thread Gould, Adrian
Hi all, I've done a little addendum to JB's article on CakePHP Associations (CPA) to include the Entity-Relationship Diagram (ERD) equivalents. You can find it here: http://it.swantafe.wa.edu.au/index.php?option=com_content&task=view&id=105&Itemid=49 I found it hard to get the brain around the

Re: How to install Cake and Joomla together

2007-09-07 Thread Mike Green
Joomla and cake do work incredibly well together using the JAKE component I have it set up on my test server as follows: Joomla: /var/www/joomla cake: /var/www/cake cake-app : /var/www/myapp my webroot points to /var/www/joomla (in apache config) The way this works, once you have told cake whe

Re: Complex table relationship within one model

2007-09-07 Thread AD7six
On Sep 7, 6:35 am, Jason <[EMAIL PROTECTED]> wrote: > The reason for "why" in my mind is bloat. Why go through the process > of loading an entire ORM object when all you want is read-only access? > I think a read only model type with all the fat trimmed would be a > nice addition. Maybe I'm alo

Re: extending app_controller

2007-09-07 Thread Langdon Stevenson
Thanks for the link. Sorry for the nuisance post. What can I say ... It's Friday, very tired, not thinking straight. Langdon AD7six wrote: > > On Sep 7, 8:19 am, Langdon Stevenson <[EMAIL PROTECTED]> wrote: >> Hi >> >> I have a set of functions that are common to a subset of my controllers.

Re: extending app_controller

2007-09-07 Thread AD7six
On Sep 7, 8:19 am, Langdon Stevenson <[EMAIL PROTECTED]> wrote: > Hi > > I have a set of functions that are common to a subset of my controllers. > I don't want to put these functions in AppController as they are not > required by most of the site. > > What I would like to do is have another c

Re: How to install Cake and Joomla together

2007-09-07 Thread Romano
This seems to work: - Joomla in the site root - Cake in a folder named /cake --~--~-~--~~~---~--~~ 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 uns

Re: AuthComponent - Alternate ways to hash passwords?

2007-09-07 Thread MrTufty
Thanks, it'll give me a starting point to look at! I was thinking I could probably just extend the AuthComponent, override a few functions and build it up that way. Will try that when I get some dev time to sit down and try it. On Sep 6, 12:46 pm, francky06l <[EMAIL PROTECTED]> wrote: > I had th