Re: HABTM association with three different models

2007-09-09 Thread AD7six
On Sep 10, 8:03 am, AD7six <[EMAIL PROTECTED]> wrote: > On Sep 10, 3:34 am, lemon <[EMAIL PROTECTED]> wrote: > > > Hi everybody :) > > >Well first I want to say, that I've already searched answers to my > > question in this group, and in google, but without results :( > > > My question is:

Re: HABTM association with three different models

2007-09-09 Thread AD7six
On Sep 10, 3:34 am, lemon <[EMAIL PROTECTED]> wrote: > Hi everybody :) > >Well first I want to say, that I've already searched answers to my > question in this group, and in google, but without results :( > > My question is: It's possible to associate three different models > with HABTM as

Re: HABTM association with three different models

2007-09-09 Thread Matt
You might want to rephrase your question is from what I'm reading it doesn't make sense. Are you trying to join three tables on three fields? Maybe try and explain your problem not your specifc question. Chances are that if it is becoming extremely difficult to implement than there is probably a

Re: To use a open source Auth system or not

2007-09-09 Thread Matt
Thanks Baz, I've been pulling pieces here and there from obAuth as it quite simple but gets the job done as you say. There are few other projects I have used for reference as well but I think it mostly has come from obAuth. Chris, I found the AuthComponent mentioned in the release for the 1.2.0.5

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

2007-09-09 Thread Gould, Adrian
There are two places with further explanations about models and such in CakePHP... http://bennerweb.com/node/16 And my extension to it with ERDs... http://it.swantafe.wa.edu.au/index.php?option=com_content&task=view&id=1 05&Itemid=49 Ady -Original Message- From: cake-php@googlegroups.co

Re: To use a open source Auth system or not

2007-09-09 Thread Baz
I think this whole ACL thing isn't what I really need. All this ACO's and ARO's and stuff. I mean, there must be a a good use for all of it, but I'm beginning to think that it's not for me. Gobblez's got it right. All I need is to either let people in or keep them out. I do like the group feature

HABTM association with three different models

2007-09-09 Thread lemon
Hi everybody :) Well first I want to say, that I've already searched answers to my question in this group, and in google, but without results :( My question is: It's possible to associate three different models with HABTM association in join table who have three fields? If yes then plea

Re: Cake admin routing in 1.2.x.x DEV

2007-09-09 Thread Seb
All right... fixed! The configuration was changed from defining CAKE_ADMIN to calling Configure::write('Routing.admin', 'admin'); and our coufig was not updated for some reason. Works like a charm now! Hope this helps anyone! Thanks ladies! ;) Seb. On Sep 10, 12:04 pm, Seb <[EMAIL PROTECTED]>

Cake admin routing in 1.2.x.x DEV

2007-09-09 Thread Seb
Hi guys... We're developing an app using 1.2, updating it as often as we can keeping in sync with the new changes and tweaking the code as we go. So far everything has been fairly straight forward, and no major problem happened. However, we updated the cake core last week, now running version 1.

Re: Path Clarification Please!?!?

2007-09-09 Thread hydra12
I don't use the standard setup, but my understanding is that when you use the standard setup, the paths just work. When you move from one server to another, it should still just work. To make it work in the standard/public_html folder, you could copy everything from your cake folder on the devel

Re: To use a open source Auth system or not

2007-09-09 Thread gobblez
I liked obAuth too. It was simpler than the others seem to be. I took out the groups feature it had, and made a few small modifications, and added a few functions that made it easier to compare things (like 2 passwords when registering). I figured why bother having groups/ levels; you're either

Re: To use a open source Auth system or not

2007-09-09 Thread Baz
obAuth is what I've been using. It's nice, with no thrills. The others are just too complicated for what I'm trying to do. On 9/9/07, Matt <[EMAIL PROTECTED]> wrote: > > > Thanks for the reply Chris. I'm talking about an authentication > system, the ACL part is too simple to bother using someone

Re: Strange URL's

2007-09-09 Thread [EMAIL PROTECTED]
Shepard > Could you tell which changes you maid, I have a similar issue and cant fix it franky06 > "I needed to disable the gzip in htaccess in order to make it work with PHP 5" hey thanks for that ! --~--~-~--~~~---~--~~ You received this message because you are

Re: To use a open source Auth system or not

2007-09-09 Thread Matt
Thanks for the reply Chris. I'm talking about an authentication system, the ACL part is too simple to bother using someone elses system unless of course this one is simple enough. I've found lots of "add-on" auth components for cake but no CakePHP branded authentication component. There's othAu

Re: Advanced image manipulation in Cake? (cropping, resizing)

2007-09-09 Thread d'plus
Chris Hartjes napisał(a): > On 9/9/07, d'plus <[EMAIL PROTECTED]> wrote: > > But can I achieve editing like this > > http://www.ajaxprogrammer.com/examples/ImageEditor/index.php?imageName=Water_Lilies.jpg > > with imageMagick? > > the problem is, that I want to make editing in real-time, using AJ

Path Clarification Please!?!?

2007-09-09 Thread DGPhoebus
Hello everyone. I am new to CakePHP and I was wondering if the PATHS have to be changed after a standard install? Also when moving from my development server to the host (shared), will I have to change any of the PATHS and is the standard layout okay for a shared server setup with the document ro

Re: Problem with $hasAndBelongsToMany

2007-09-09 Thread lemon
Hi :) Well dodaj (add in English) was a declared function.. but not in model... my mistake :) LS thx for clue :) So I've another question about habtm association. It's possible to make joined table for three different Models? TIA lemon On 6 Wrz, 12:57, LS <[EMAIL PROTECTED]> wrote: > Hello th

Re: Cake Bake and Validation Problem

2007-09-09 Thread hmart
Hello Recently I reported a bug ticket to the Cakephp Trac about this issue. I succeed reproducing the error under Windows and linux using the 1.1.17.5612 release and recent nightly builds too. So I think is a bug. If you want to follow the progress of the ticket please check [1] [1] https://t

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

2007-09-09 Thread Seth
thank you for your reply! was not quite what i have expected .. but i have found what i needed by myself thanks again my friend! On Sep 9, 12:05 pm, francky06l <[EMAIL PROTECTED]> wrote: > you can have your form on the add action (the name of the action does > not matter much). When you have add

Re: Advanced image manipulation in Cake? (cropping, resizing)

2007-09-09 Thread Chris Hartjes
On 9/9/07, d'plus <[EMAIL PROTECTED]> wrote: > But can I achieve editing like this > http://www.ajaxprogrammer.com/examples/ImageEditor/index.php?imageName=Water_Lilies.jpg > with imageMagick? > the problem is, that I want to make editing in real-time, using AJAX > and stuff... I think it's the on

Re: Advanced image manipulation in Cake? (cropping, resizing)

2007-09-09 Thread Mech7
I think its the same used in: http://www.phpletter.com/Demo/Ajax-File--Manager/ and that works fine for me :) with tinymce, check if GD or ImageMagick is installed On Sep 9, 9:29 pm, d'plus <[EMAIL PROTECTED]> wrote: > Olexandr Melnyk napisał(a): > > > Check out ImageMagick (not CakePHP plugin, b

Re: Advanced image manipulation in Cake? (cropping, resizing)

2007-09-09 Thread d'plus
Olexandr Melnyk napisał(a): > Check out ImageMagick (not CakePHP plugin, but a powerful set of tools) thanks. But can I achieve editing like this http://www.ajaxprogrammer.com/examples/ImageEditor/index.php?imageName=Water_Lilies.jpg with imageMagick? the problem is, that I want to make editing

Re: Advanced image manipulation in Cake? (cropping, resizing)

2007-09-09 Thread Olexandr Melnyk
Check out ImageMagick (not CakePHP plugin, but a powerful set of tools) On 9/9/07, d'plus <[EMAIL PROTECTED]> wrote: > > > Is there any helper/script for cropping and resizing images in > realtime? > > > I'm trying to adapt this script http://www.ajaxprogrammer.com/?p=9 to > work with my website,

Re: SQLite 3 support

2007-09-09 Thread [EMAIL PROTECTED]
Thanks AD7six. Here's the post again: 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 suppo

Advanced image manipulation in Cake? (cropping, resizing)

2007-09-09 Thread d'plus
Is there any helper/script for cropping and resizing images in realtime? I'm trying to adapt this script http://www.ajaxprogrammer.com/?p=9 to work with my website, but without success, so I'm trying to find something diffrent :( --~--~-~--~~~---~--~~ You receiv

Re: Updating multiple id's with the AJAX helper

2007-09-09 Thread francky06l
Which version are you using ? Actually I made that work on 1.1 and 1.2 with native ajax helper. The CJS works as well. Must be a problem in your rendered view. On Sep 9, 7:14 pm, majna <[EMAIL PROTECTED]> wrote: > Then use CJS. > > http://cakeforge.org/snippet/detail.php?type=package&id=13 > > On

Links in flashes

2007-09-09 Thread David
Hi guys, Here are situations where one might want to include a link in a flash. For example, my app sometimes generates random user passwords. If a user has one of these passwords, I would like to flash 'If you would like to change your password, click here' when they log in. The same thing is c

Excellent Opportunity For PHP Developers

2007-09-09 Thread [EMAIL PROTECTED]
Hai, Greetings from Agriya Infoway Pvt. Ltd. Reference : PHP Developer Location : Bangalore Experience : 2-3 Skills Required: php, mysql, ajax, Smarty, ROR If you feel the above skills are in you, send your resume

Re: Updating multiple id's with the AJAX helper

2007-09-09 Thread majna
Then use CJS. http://cakeforge.org/snippet/detail.php?type=package&id=13 On Sep 9, 2:53 pm, Anthony <[EMAIL PROTECTED]> wrote: > Well, I actually tried that, but it doesn't seem to be working for me. > The update takes place in the database, but neither elements actually > update in the real-ti

Re: No data sent with $ajax->form

2007-09-09 Thread Voidstate
Well, I was originally advised to move away from ajax->submit to ajax- >form on the IRC channel... Anyway, I found the problem. When I moved the table tags inside the form tags, everything worked fine. Thanks for the replies, though, everyone. --~--~-~--~~~---~--~-

Database Migrations ala RoR

2007-09-09 Thread gonzoprosperity
I have written a migrations toolkit/framework in PHP5, heavily modeled after the migrations system in Ruby on Rails. http://code.google.com/p/ruckusing/ I believe it to be feature-complete and extensible than the current migrations system in CakePHP. My system is currently production-ready and

Re: Updating multiple id's with the AJAX helper

2007-09-09 Thread Anthony
Well, I actually tried that, but it doesn't seem to be working for me. The update takes place in the database, but neither elements actually update in the real-time visual. On Sep 9, 5:08 am, francky06l <[EMAIL PROTECTED]> wrote: > Make a search here, there are plenty of threads related to this a

Re: To use a open source Auth system or not

2007-09-09 Thread Baz
Oh yeah, That would be awesome, lol. I'm sorry, but I'm still not getting it. I'm gonna go over what I got today and give it one more shot. If I get it working I'll let you know where I had my hiccups so you can include those in what you do. -- Baz L Web Development 2.0: Web Design, CakePHP, Java

Re: To use a open source Auth system or not

2007-09-09 Thread Chris Hartjes
On 9/8/07, Matt <[EMAIL PROTECTED]> wrote: > > 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 wha

Re: SQLite 3 support

2007-09-09 Thread AD7six
On Sep 8, 12:57 pm, "Pisinho" <[EMAIL PROTECTED]> wrote: > HI, > I find a good Editor for develop with PHP5 and Cake. > What software are you use for Syntax Highlighting, Code Hint, Code Insight, > automatic Code Completion ? > > Thanks. > > S.S. I really like thread hijacking... Goncalo, don'

Re: Editor x CakePHP

2007-09-09 Thread Marcin Domanski aka kabturek
omg please dont stop another one :/ Pisinho search the group before asking On Sep 9, 2:40 am, haj <[EMAIL PROTECTED]> wrote: > if it can do 2 bytes.. > > On Sep 8, 7:15 pm, Felix Geisendörfer <[EMAIL PROTECTED]> wrote: > > > [x] Textmate > > -- > > My Blog:http://www.think

Re: Updating multiple id's with the AJAX helper

2007-09-09 Thread francky06l
Make a search here, there are plenty of threads related to this and of course anwers, just this one for example : http://groups.google.com/group/cake-php/msg/cf10b929a33db24e On Sep 9, 3:01 am, Anthony <[EMAIL PROTECTED]> wrote: > I am trying to update two separate ID's with the same AJAX output.

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

2007-09-09 Thread francky06l
you can have your form on the add action (the name of the action does not matter much). When you have added your action you can redirect to view, or render the view.thtml. On Sep 8, 11:41 pm, Seth <[EMAIL PROTECTED]> wrote: > Hi all, > > I try to build a website and i start this with cakephp and

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

2007-09-09 Thread ski.nalicio.us
This is my first site employing Cake. It has been up and running for a few months; although it is still in it's infancy I have plans to expand the functionality both front and back. Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild - or copy & paste it into your br