Prepping for 1.2 AuthComponent

2007-09-08 Thread McFadly
Hello Bakers - Currently all of my projects are using a slightly personalized version the great OthAuth component. However, I do plan on moving to the new AuthComponent at some point when I've got time to figure it out. Looking through the API and source it looks like the AuthComonent is storing

To use a open source Auth system or not

2007-09-08 Thread Matt
I've starting my first cake site, yum cake! One of the first decisions I've wondering I've trying to make is to do my own auth system or use one of the many being actively developed. I was hoping for some feedback on what others have found what has worked. For my decision I've been contemplating

Updating multiple id's with the AJAX helper

2007-09-08 Thread Anthony
I am trying to update two separate ID's with the same AJAX output. To do so, I am passing an array to the 'update' option. So, instead of 'update'=>'id', I am passing 'update'=>array('id1', 'id2'). However, this does not seem to be working. How can I update multiple div's from one ajax operation?

Re: Editor x CakePHP

2007-09-08 Thread haj
if it can do 2 bytes.. On Sep 8, 7:15 pm, Felix Geisendörfer <[EMAIL PROTECTED]> wrote: > [x] Textmate > -- > My Blog:http://www.thinkingphp.org > My Business:http://www.fg-webdesign.de > > Chris Hartjes wrote: > > On 9/8/07, Zoltan <[EMAIL PROTECTED]> wrote: > > >> There'

Re: Error with admin route and using $form->create()

2007-09-08 Thread alanclic
It was a bug that was fixed on the last nightly build. Thanks On 8 set, 12:16, alanclic <[EMAIL PROTECTED]> wrote: > I setted CAKE_ADMIN as 'admin', and everywhere i use $form->create(), > i get anoticefrom CAKEPHP. > > for example in one view i use $form->create('User', array('action' => > 'log

can i have a form in the view.thtml page ?

2007-09-08 Thread Seth
Hi all, I try to build a website and i start this with cakephp and everything works fine till now ... basically i do a hotel review websites the problem is here, when i land hotel page i see some hotel details past reviews and i have a form at the end of the page "add new review" ... so i'm on "v

Re: Editor x CakePHP

2007-09-08 Thread Felix Geisendörfer
[x] Textmate -- My Blog: http://www.thinkingphp.org My Business: http://www.fg-webdesign.de Chris Hartjes wrote: > On 9/8/07, Zoltan <[EMAIL PROTECTED]> wrote: > >> There's a few that provide at least syntax highlighting - NotePad++ is >> a good lightweight, Opensource

Re: Editor x CakePHP

2007-09-08 Thread Chris Hartjes
On 9/8/07, Zoltan <[EMAIL PROTECTED]> wrote: > > There's a few that provide at least syntax highlighting - NotePad++ is > a good lightweight, Opensource app. Dreamveaver provides some code- > hinting, but it's not cheap. Eclipse seems to have good integration > (see: > http://bakery.cakephp.org/a

Re: No data sent with $ajax->form

2007-09-08 Thread francky06l
Making a $ajax->form wiht an html->submit is weird .. Just a tip ..for ajax call the form tag does not matter much ( you can do even do a ), everything resides in the submit so, change your $html->submit in an $ajax one .. ( $akax->submit('Add', array('url' => your url, 'update' => 'your div')) )

Re: Useing bake script to create models

2007-09-08 Thread Zoltan
if you have a model called details with fields id and product_id, it should ask if product is somehow related - can print out the tables? Zoltan www.yyztech.ca On Sep 6, 2:09 pm, su6z3r0 <[EMAIL PROTECTED]> wrote: > Hi guys, > > I am trying to use bake (v. 1.2 cake) to create models. > > The dat

Re: Editor x CakePHP

2007-09-08 Thread [EMAIL PROTECTED]
EditPad Pro! On Sep 8, 3:38 pm, Zoltan <[EMAIL PROTECTED]> wrote: > There's a few that provide at least syntax highlighting - NotePad++ is > a good lightweight, Opensource app. Dreamveaver provides some code- > hinting, but it's not cheap. Eclipse seems to have good integration > (see:http://bake

Re: Editor x CakePHP

2007-09-08 Thread Zoltan
There's a few that provide at least syntax highlighting - NotePad++ is a good lightweight, Opensource app. Dreamveaver provides some code- hinting, but it's not cheap. Eclipse seems to have good integration (see: http://bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-with-cake) , but

Re: User persistence among multiple applications

2007-09-08 Thread [EMAIL PROTECTED]
I got a couple ideas from #cakephp: cookies (single domain) and memcache tokens (multiple domains). On Sep 8, 2:18 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Anyone know a way to allow applications with separate app directories > to share users and sessions? --~--~-~--~~--

Re: Tutorial o HowTo about Table association (hasMany, hasBelongsTo, hasOne, hasAndBelongsToMany)

2007-09-08 Thread Zoltan
There's not too much I've found, I pieced together what I know form the Model chapter and then baking the models and following the suggested relationships. Essentially, you create a table (say Posts, another Tags and a 3rd table, posts_tags (with fields for post_id and tag_id) and then you want t

ConnectionManager::getDataSource - Non-existent data source

2007-09-08 Thread NicoE
Hello everybody. We are moving a site made with CakePHP from one development server to a production server. In the first one, everythink works fine but when trying to login in the second one, the following error appears: "Fatal error: ConnectionManager::getDataSource - Non-existent data source i

User persistence among multiple applications

2007-09-08 Thread [EMAIL PROTECTED]
Anyone know a way to allow applications with separate app directories to share users and sessions? --~--~-~--~~~---~--~~ 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@goog

Re: No data sent with $ajax->form

2007-09-08 Thread majna
Try pr($this->params['form']); in controller method. On Sep 8, 8:01 pm, Voidstate <[EMAIL PROTECTED]> wrote: > Hi > > I'm attempting to make an order form using ajax. I've used the ajax > helper. > > Now, the request is being made and the right action called in the > right controller... but no

No data sent with $ajax->form

2007-09-08 Thread Voidstate
Hi I'm attempting to make an order form using ajax. I've used the ajax helper. Now, the request is being made and the right action called in the right controller... but no form data is sent. I can use pr( $this ) in my action (addToBasket) to see that the right action is requested, just with no

Re: DBDesigner 4 Scaffold Tools for CakePHP - 1.0.0 FINAL

2007-09-08 Thread Dérico Filho
Hi Mech7, I use DBDesigner Fork on Vista Home Basic just fine... I suggest you change to it. I plan some support yes for MySQL Workbench, but their WBM are very messy. Dérico On Sep 8, 4:34 am, Mech7 <[EMAIL PROTECTED]> wrote: > Will this work on MySQL workkbench too? I am no vista no on my l

Simple Question - Return only entries for which associated data exists

2007-09-08 Thread squidliberty
I am using hasMany to associate posts with members. How can I craft my findAll query so that it returns only members for which posts exist (ie. members who have made one or more posts)? It seems inefficient to return every member and then throw out a large amount of the data. Thanks! --~--~-

Re: .htaccess problems

2007-09-08 Thread morecakepls
I found the solution to this problem, it has something to do with godaddy subdomains. I put this on .htaccess in cflive directory RewriteEngine on RewriteBase / RewriteRule^$ cflive/app/webroot/[L] RewriteRule(.*) cflive/app/webroot/$1 [L] and this on cflive/app/webroot

Re: observeField updating multiple divs

2007-09-08 Thread francky06l
Is it the same field that triggers the update of the 2 div's ? If so try to update in 1 call : 'update' => array('div1', 'div2'); On Sep 7, 10:11 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello guys, > > I'm trying to update 2 divs via ajax->observeField, I got this code: > > observeFi

SQLite 3 support

2007-09-08 Thread [EMAIL PROTECTED]
Hi bakers. I'm starting to build a small database-driven website and was planning to use SQLite for the backend. For what i can see in the code and searching through this group only SQLite 2 support is available in Cake. I've searched Trac for SQLite 3 support related tickets and found ticket #30

Re: ACL model Aro misssing???????

2007-09-08 Thread AD7six
On Sep 8, 4:22 am, "SIXS" <[EMAIL PROTECTED]> wrote: > 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 Why ;) The error message is because the table a

Re: .htaccess problems

2007-09-08 Thread francky06l
Should it be : http://myserver.com/cflive/APP/controller/action ? On Sep 8, 11:37 am, morecakepls <[EMAIL PROTECTED]> wrote: > I cant get my cakephp application to work on the server. I am using > the normal development server setup. > > -cflive > - app > - cake > - vendors > - .htaccess

.htaccess problems

2007-09-08 Thread morecakepls
I cant get my cakephp application to work on the server. I am using the normal development server setup. -cflive - app - cake - vendors - .htaccess in the .htacess on the base folder (cflive), I have RewriteEngine on RewriteRule^$ app/webroot/[L] RewriteRule(.*) app

Re: Render a View that's not HTML?

2007-09-08 Thread Jan Boonen
Did you try to create a new layout file for images? Put something like this in it (this one is for PDF, just change it for the image type you need): In your controller, you can render the alternative layout using the following statement: $this->render(null, 'pdf', VIEWS . DS . 'controllername' .

Re: DBDesigner 4 Scaffold Tools for CakePHP - 1.0.0 FINAL

2007-09-08 Thread Mech7
Thanks but it does not seem to work either, i just can't connect with Vista and DbDesigner, MySQL Workbench works only it's in alpha state, so i dont know how stable it is. On Sep 8, 9:36 am, "Larry E. Masters aka PhpNut" <[EMAIL PROTECTED]> wrote: > Mech7, > > This might be useful. > > http://so

Re: DBDesigner 4 Scaffold Tools for CakePHP - 1.0.0 FINAL

2007-09-08 Thread Larry E. Masters aka PhpNut
Mech7, This might be useful. http://sourceforge.net/projects/dbdesigner-fork/ -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On 9/8/07, Mech7 <[EMAIL PROTECTED]> wrote: > > > Will this work on MySQL workkben

Re: DBDesigner 4 Scaffold Tools for CakePHP - 1.0.0 FINAL

2007-09-08 Thread Mech7
Will this work on MySQL workkbench too? I am no vista no on my laptop and DbDesigner does not work anymore on it, also there is no support for it anymore :( On Sep 8, 8:26 am, Dérico Filho <[EMAIL PROTECTED]> wrote: > Hello All, > > I just released the final version of DBDesigner 4 Scaffold Tools