Re: Drake :: Drupal-CakePHP 1.0.1b Released

2007-03-03 Thread j o e l
Mariano! Thank you so much! Fabulous work again! It's funny, after I saw your post re:Jake, I thought it was awesome and downloaded it. However, I'm not really that familiar with Joomla, yet. I use Drupal. I remembered Felix's early works at incorporating Cake with Drupal, and he graciously

Re: First bite?I am trying

2007-03-03 Thread SIXS
I have WAMP that includes Apache2.2.4, PHP 3.2.1, and mysql 5.0.27. and cake_1.1.13.4450. I downloaded the zip file and extracted to the C root in win XP Pro. Isn't that a good combination. I can run RADRails and other software. Jim - Original Message - From: "Jon M." <[EMAIL PROTECTED]

Re: First bite?I am trying

2007-03-03 Thread Jon M.
What web server software are you running on your localhost? Seems you might have not placed the cake directory in the right place .. I am just assuming that and I could be wrong :) . On Mar 3, 6:02 pm, "SIXS" <[EMAIL PROTECTED]> wrote: > Hi, > I am trying cakePHP and using first bite. I get the f

First bite?I am trying

2007-03-03 Thread SIXS
Hi, I am trying cakePHP and using first bite. I get the first screen and also get the screen to say that I have connected with mysql database. I then put in the model and controller in c\cake\app\model and c:\cake\app\controller\ and try to locate it with the http://localhost/notes/ I get 404 .

Change conditions of an association without rebinding?

2007-03-03 Thread Jeff B
Is there a simpler and shorter way to change the conditions of an association in the controller without unbinding and rebinding the association with the new condition? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Lightbox + Cake

2007-03-03 Thread Sam Sherlock
> > > I have managed to get lightbox working in cake but had to set these > lines in > > a scriptblock in a layout .thtml /.ctp yep . In a scriptblock in a layout view such as default.thtml for example On 04/03/07, Mech7 <[EMAIL PROTECTED]> wrote: > > > Yes that would be possible but no php a

Re: Lightbox + Cake

2007-03-03 Thread Mech7
Yes that would be possible but no php acces in javascript files :( do you move this to the head of your document instead ? On Mar 3, 10:43 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote: > are the troublesome lines these: > > var webRoot = "webroot); ?>"; > > var fileLoadingImage = webRoot . "/img/

Re: Need help with less trivial associations

2007-03-03 Thread Grant Cox
Well, I would scrap the groups_units HABTM association, as it isn't really a direct association. You can't add/remove those associations directly, so it's really just a symptom of the main Group -> Department -> Units association. Now, to get the associated group ids from a unit, have something

Re: Cache an object, not a view

2007-03-03 Thread Grant Cox
You should keep all of your data storage functions on the model. So either app_model if it needs to apply to all, or just the particular model you want. Of course there will be cases where the data you want to store is not particular to any model, and it makes more sense to save/load from the co

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

2007-03-03 Thread Chris Lamb
"phirschybar" <[EMAIL PROTECTED]> wrote: > I started a page to feature Cake apps and sites in the wild. Hoping > this will help to garner some more attention on Cake and rally the > community. :) I don't want to signup for a Google account. Somebody feel free to add http://idiomag.com/. Kindly

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

2007-03-03 Thread Olwen Williams
Fixed now. Unfortunately they have not active surveys. Last time I saw it they had two. On 04/03/07, Olwen Williams <[EMAIL PROTECTED]> wrote: > It's missing a slash. I'll fix it when I can get in. > > On 04/03/07, phirschybar <[EMAIL PROTECTED]> wrote: > > > > looks like the survey link is br

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

2007-03-03 Thread mariano.iglesias
Sorted the links, added a link to Wipe Buenos Aires, and added descriptions. Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild - or copy & paste it into your browser's address bar if that doesn't work. --~--~-~--~~~---~--~~ You rece

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

2007-03-03 Thread Olwen Williams
It's missing a slash. I'll fix it when I can get in. On 04/03/07, phirschybar <[EMAIL PROTECTED]> wrote: > > looks like the survey link is broken. > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group.

Re: Multiple file upload ?

2007-03-03 Thread phirschybar
any chance you'd share the component source for use in cake? :) On Mar 3, 5:42 pm, "Brad Daily" <[EMAIL PROTECTED]> wrote: > We do use a similiar uploading process for Director, but it is mostly > homegrown. The swfupload project looks like a good one, I just didn't > know about it when we built

RE: CakePHP versus Symfony ?

2007-03-03 Thread Mariano Iglesias
Besides, what is *so* bad about arrays? I know Dieter didn't mean that, but some people consider arrays in PHP to be sort of the worst thing you can do... What about them? The same way string manipulation is what Perl is known for, one of the reasons PHP is so great is how flexible its arrays ar

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

2007-03-03 Thread phirschybar
looks like the survey link is broken. On Mar 3, 5:46 pm, "Olwen Williams" <[EMAIL PROTECTED]> wrote: > I added a couple of mine. > > On 04/03/07, phirschybar <[EMAIL PROTECTED]> wrote: > > > > > I started a page to feature Cake apps and sites in the wild. Hoping > > this will help to garner some

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

2007-03-03 Thread phirschybar
some organization. Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild - or copy & paste it into your browser's address bar if that doesn't work. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

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

2007-03-03 Thread Olwen Williams
I added a couple of mine. On 04/03/07, phirschybar <[EMAIL PROTECTED]> wrote: > > I started a page to feature Cake apps and sites in the wild. Hoping > this will help to garner some more attention on Cake and rally the > community. :) > > Click on > http://groups.google.com/group/cake-php/web/ca

Re: Multiple file upload ?

2007-03-03 Thread Brad Daily
We do use a similiar uploading process for Director, but it is mostly homegrown. The swfupload project looks like a good one, I just didn't know about it when we built ours :) I used a Flash/Rails example I found here[1] as a starting point. [1] http://blog.vixiom.com/2006/09/08/multiple-file-u

Re: cakephp plugin for eclipse?

2007-03-03 Thread Walter
The biggest value of such plugin would be in helping maintaining and editing code: 1. Most importantly, code completion (e.g. in uses, in views, possible code completion for actions, etc) 2. Refactorings (e.g. renaming methods, models and controllers) The code creation can be easily achieved by b

Re: Multiple file upload ?

2007-03-03 Thread Sam Sherlock
SSP Director switching to cake was how I became aware of the project. On 03/03/07, phirschybar <[EMAIL PROTECTED]> wrote: > > > Wow. That's really cool. I use SSP (the flash component) regularly. > Had no idea director was running on cake. > > There really needs to be a place where Cake apps in th

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

2007-03-03 Thread phirschybar
I started a page to feature Cake apps and sites in the wild. Hoping this will help to garner some more attention on Cake and rally the community. :) Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild - or copy & paste it into your browser's address bar if that doesn'

Re: Multiple file upload ?

2007-03-03 Thread phirschybar
Wow. That's really cool. I use SSP (the flash component) regularly. Had no idea director was running on cake. There really needs to be a place where Cake apps in the wild are featured. I will go ahead and make a page in this group and hopefully others will contribute. Check out the pages section

Re: Lightbox + Cake

2007-03-03 Thread Sam Sherlock
are the troublesome lines these: var webRoot = "webroot); ?>"; > var fileLoadingImage = webRoot . "/img/loading.gif"; > var fileBottomNavCloseImage = webRoot . "/img/closelabel.gif"; > I have managed to get lightbox working in cake but had to set these lines in a scriptblock in a layout .thtml /

Re: Multiple file upload ?

2007-03-03 Thread Sam Sherlock
as of ssp director 1.0.8 - (12/27/06) 1. [NEW] Director has been ported to the CakePHP framework for more agile, rapid development. http://slideshowpro.net/forums/viewtopic.php?id=4 http://blog.bradleyboy.com/2007/01/08/distributing-cakephp-apps-handling-your-cake-with-care/ On 03/03/0

Re: Multiple file upload ?

2007-03-03 Thread phirschybar
Are you referring to slide show pro director? thats a cakePHP app? oh I am looking at this: http://blog.bradleyboy.com/ interesting. How do we know it's cake? Ben On Mar 3, 4:08 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote: > Brad Daily uses something similar in ssp Director which is a cakePHP

cakephp on godaddy

2007-03-03 Thread Michael Rubanov
Hello all , Any one has an troubleshooting experience with cakephp on godaddy hosting ? Is it posbile ? I am trying to set up application on subdomain , but for some reason I got an "missing component file error". -- Best Regards, Michael Rubanov. --~--~-~--~~~---~-

Re: Multiple file upload ?

2007-03-03 Thread Sam Sherlock
Brad Daily uses something similar in ssp Director which is a cakePHP App. its either similar or its the same. The director multi - upload works very well. On 03/03/07, phirschybar <[EMAIL PROTECTED]> wrote: > > > I'd love to see somebody try this: http://swfupload.mammon.se/ > > Yeah, it's flash

Re: Lightbox + Cake

2007-03-03 Thread phirschybar
hmm. not sure I understand what you mean. Can you give an example? On Mar 3, 1:32 pm, "Mech7" <[EMAIL PROTECTED]> wrote: > Well the problem is when it is in a subdir then this does not work, > since you need the subdir in front of it, but when it changed you need > to edit them manual again :( >

Re: cakephp plugin for eclipse?

2007-03-03 Thread DJ Spark
On 3/3/07, Mariano Iglesias <[EMAIL PROTECTED]> wrote: > > I'm wondering what are we expecting from a CakePHP eclipse plugin? Hi Mariano, I've been using BEA Weblogic 9.2 for a few weeks, and it's IDE is also based on eclipse. Man, it's impressive: you control absolutely everything from ther

Re: CakePHP versus Symfony ?

2007-03-03 Thread jonathan.snook
On Mar 3, 4:52 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Symfony currently has a better datalayer t2hen cake . It uses propel, > a ORM solution. with cake we still work with (unconvenient) data- > arrays > iirc the cake 2.0 release will contain an object-based datalayer > (written by

Re: Lightbox + Cake

2007-03-03 Thread Mech7
Well the problem is when it is in a subdir then this does not work, since you need the subdir in front of it, but when it changed you need to edit them manual again :( On Mar 3, 6:21 pm, "phirschybar" <[EMAIL PROTECTED]> wrote: > if you prepend the image path with a '/' like '/img/...' it will tr

Need help with less trivial associations

2007-03-03 Thread barduck
Hi all, I need some help with defining some less trivial associations. Suppose I have the following entities: Unit Group Department A Unit can be part of multiple groups and multiple departments. Each group belongs to one department. If unit is part of a department, it also belongs to all the

Re: Pure Flex

2007-03-03 Thread [EMAIL PROTECTED]
I'm sure it's quite possible. I'm currently doing this with Flash and AMFPHP. Here's one issue though - Cake's architecture has many view pages...which you could sure enough setup with Flex/Flash but then that create multiple flash files. You may want only one Flash/Flex swf file. You may not wa

Re: cakephp plugin for eclipse?

2007-03-03 Thread [EMAIL PROTECTED]
> 1. Fetch the latest build for the selected CakePHP version (1.1 / 1.2) > > 2. Set it up on the directory you specify. > > 3. Set up configure.php and stuff. Yes, these 3 would be great. Plus some actions/code snippets for some helpers, possibly code complete, etc. I use Eclipse for web program

Re: Multiple file upload ?

2007-03-03 Thread phirschybar
I'd love to see somebody try this: http://swfupload.mammon.se/ Yeah, it's flash and 3rd party but it has a nice multiple upload feature because it uses flash's native upload dialogue. I plan to try it out on a project soon. Anybody seen or tried this? On Mar 2, 11:28 am, "Mech7" <[EMAIL PROTECT

Re: Lightbox + Cake

2007-03-03 Thread phirschybar
if you prepend the image path with a '/' like '/img/...' it will trace back to the web document root and hit the right directory every time. So wherever you see images/ in the .js file, change it to /img or whatever you want. On Mar 3, 12:11 pm, "Mech7" <[EMAIL PROTECTED]> wrote: > The problem i

Re: Lightbox + Cake

2007-03-03 Thread Mech7
The problem is it does not work like css where it links relative from the file, but instead it writes html via dom in the document when needed.. so the path will link from a different directory depeding on which controller or page i am on :( On Mar 3, 6:06 pm, "Grant Cox" <[EMAIL PROTECTED]> wrot

Re: Lightbox + Cake

2007-03-03 Thread Grant Cox
If you put the lightbox images in the js folder (where your lightbox.js is) then they should work. A bit messy perhaps, but otherwise just edit the javascript file yourself to point to the correct location (ie ../img/ ) --~--~-~--~~~---~--~~ You received this mes

Re: Pure Flex

2007-03-03 Thread Grant Cox
When I've used CakeAMFPHP I usually keep html views too - so I can test an action from html as well as Flash (I haven't used Flex). Just make your actions return the same data that they set(), so both the HTML and AMF get the same data from the action. But I'm not sure what is confusing you abou

Re: Multiple file upload ?

2007-03-03 Thread francky06l
I have used the cake timer as a base, basically because I wanted to "monitor" the upload using ajax, that implies eframe and I manage to made it work using the ajax and cjs helper. Otherwise, as Christian said, it's simpler using a "classic" way. On Mar 2, 7:10 pm, "Christian Winther [cwi.dk]" <

Re: validation problem with 1.2

2007-03-03 Thread Grant Cox
Use $form->error() instead of $html->tagErrorMsg() in 1.2 --~--~-~--~~~---~--~~ 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 gro

Re: complex association needed

2007-03-03 Thread Grant Cox
One way would be to have all the possible item types (ie NewsItem, EventItem) associated, with different conditions. Only those that match should be loaded (but you will probably get all the keys, and it'll be a complicated and possibly slow JOIN generated). class Item extends AppModel {

complex association needed

2007-03-03 Thread Peter Vanhee
Hello all, When developing my application in CakePHP I need a more complex association than, as far as I know, available in Cake. I have the following situation: - an Item table with some general item information (date, title etc) and containing also an element 'type' (integer) and an element 't

Re: behavior question

2007-03-03 Thread nate
(This information is current as of Cake 1.2, SVN revision #4567). A reference to the model object is always the first parameter to a behavior method. Any other parameters you pass to it come after, so $text would be the second parameter. The proper method definition would therefore be: functio

Re: ajax editor and view

2007-03-03 Thread Samuel DeVore
you can also edit your webroot/index.php at the last line add a test for if the request is an ajax one (this is an exercise left up to the reader) and not add the timing line (I do this for xml/rest/soap requests) . On 3/3/07, bernardo <[EMAIL PROTECTED]> wrote: > > > > On Mar 3, 8:45 am, "sanje

Re: CakePHP versus Symfony ?

2007-03-03 Thread CraZyLeGs
cakePHP works in php4 and php5. On Mar 3, 3:13 pm, "nate" <[EMAIL PROTECTED]> wrote: > Hi surfivor, thanks for asking; it's important that this discussion > comes up from time to time, as the state of affairs in both frameworks > continue to change. In a presentation I gave a few months ago, I >

Re: CakePHP versus Symfony ?

2007-03-03 Thread nate
Hi surfivor, thanks for asking; it's important that this discussion comes up from time to time, as the state of affairs in both frameworks continue to change. In a presentation I gave a few months ago, I compared Cake to a couple other popular frameworks out there. For me, Symfony can pretty muc

Re: CakePHP versus Symfony ?

2007-03-03 Thread surfivor
On Mar 2, 2:02 pm, "Christian Winther [cwi.dk]" <[EMAIL PROTECTED]> wrote: > Did you even bother to search the group or google before asking ?. > I spent well over an hour on the internet trying to research cakePHP, Symfony, CodeIgniter, Radicore etc. I installed CodeIgniter and got a simp

Re: CakePHP versus Symfony ?

2007-03-03 Thread John David Anderson (_psychic_)
On Mar 3, 2007, at 2:52 AM, [EMAIL PROTECTED] wrote: > > Symfony currently has a better datalayer then cake . It uses propel, > a ORM solution. with cake we still work with (unconvenient) data- > arrays Choice 1: Objects with XML files you have to maintain Choice 2: Arrays, and a hot poker in

Re: Lightbox + Cake

2007-03-03 Thread phirschybar
I know if you are on linux you could do a symlink (symbolic link) so that the content of the lightbox images folder can be found in the default place for images where cake looks or vice versa. the command is: ln -s /path/to/folder/with/images name-of-shortcut does that help? On Mar 3, 8:21 am,

Re: Installing Cake on 1 subdomain with .htaccess, not multiple instances of apps

2007-03-03 Thread hydra12
Sorry if I wasn't quite clear. Sometimes things are really obvious to me, and I just assume everyone else will understand :-) > When you say 'root' here you mean the root for all web activities > right? ('public_html' as opposed to /root?) Yes, I mean the place where all of your html files live

Lightbox + Cake

2007-03-03 Thread Mech7
Hi, I am trying to use lightbox in cake only the images paths for the html are defined in the javascript file. Is there anyway to get them linked automatically if they are in a different controller or hompeage ? As it then links from other directory ? --~--~-~--~~~---

Re: Possible use CakePHP without DocumentRoot ?

2007-03-03 Thread mindcharger
You have to move your apache documentroot to point to: /PATH_TO_CAKE/app/webroot For ex, if you have cake installed on C:\Cake Change de DocRoot to C:\Cake\app\webroot This is easy to do...just edit Apaches httpd.conf file! Good luck On Mar 2, 7:48 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]

Re: sessions problem

2007-03-03 Thread mindcharger
Hello, Do you the PHP Sessions active? This is not CAKE Session, is PHP Session. To check if you have the PHP Sessions active go to your php.ini file, find the 'Session' section and check for something like this: session.auto_start = 1 //This will turn on the session session.gc_maxlifetime = 14

Re: Pure Flex

2007-03-03 Thread f.
Hi, I only once did a test with Flex, and I used Cake as the backend to supply XML responses. It worked fine... Provide an appropriate layout like this: '; ?> and generate the XML in your view, just like you would do with HTML. Never used AMFPHP... greets, f. On Mar 2, 8:41 pm, "randombli

Re: ajax editor and view

2007-03-03 Thread bernardo
On Mar 3, 8:45 am, "sanjeevdivekar" <[EMAIL PROTECTED]> wrote: > Hey, > > I am also in same trobule when i edit 2nd time i see "test message" in text box. > what u do with control.js? What you are seeing is the debug timing information that cake php adds when the debug level is set to 1. Rememb

Re: ajax editor and view

2007-03-03 Thread sanjeevdivekar
Hey, I am also in same trobule when i edit 2nd time i see "test message" in text box. what u do with control.js? On Mar 2, 8:20 pm, "dhalsim" <[EMAIL PROTECTED]> wrote: > I've checked this already but it is not the problem. > So I solve the problem in controls.js from script.aculous lib with a >

Re: CakePHP versus Symfony ?

2007-03-03 Thread Dr. Tarique Sani
On 3/3/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Symfony currently has a better datalayer then cake . It uses propel, > a ORM solution. with cake we still work with (unconvenient) data- > arrays Depends on how you look at it - there are situations where the data[ ] is a convinient th

Re: habtm loads associated data, but won't save...

2007-03-03 Thread jyrgen
yes, you're right. google can help, sometimes i just search the cake group... anyways, i think this point should be mentioned in the manual. it *does* tell about the order in which cake expects the models, but not how the appearance of a form (which is more or less a visual aspect) manipulates t

RE: cakephp plugin for eclipse?

2007-03-03 Thread Mariano Iglesias
I've been thinking about that as well. Going through a wizard that will ask you the stuff and then: 1. Fetch the latest build for the selected CakePHP version (1.1 / 1.2) 2. Set it up on the directory you specify. 3. Set up configure.php and stuff. That would build you the initial skeleton, an

validation problem with 1.2

2007-03-03 Thread Ámon Tamás
Hello, I have a problem with $html->tagErrorMsg() and helper tagIsInvalid() functions. The tageErrorMsg function have an if : $error = 1; if ($error == $this->tagIsInvalid()) { but the tagIsInvalid() always return with a string if there is an error messag and never true this if. Is this a b

Re: Thesis ideas

2007-03-03 Thread [EMAIL PROTECTED]
i hope picking the right hosting solution wasn't part of the thesis too it goes terribly slow On Mar 3, 6:34 am, "Riky Kurniawan" <[EMAIL PROTECTED]> wrote: > This is my thesis built with cake > > http://www.herowannabe.com/vyroo/ > > -- > http://riky.kurniawan.us > =

Re: cakephp plugin for eclipse?

2007-03-03 Thread Daniel Hofstetter
On Mar 3, 7:59 am, "Mariano Iglesias" <[EMAIL PROTECTED]> wrote: > I'm wondering what are we expecting from a CakePHP eclipse plugin? > > I mean you can easily create a new File New wizard by hooking plugin up to > the org.eclipse.ui.newWizards extension point and then implementing the > INewWizar

Re: CakePHP versus Symfony ?

2007-03-03 Thread [EMAIL PROTECTED]
Symfony currently has a better datalayer then cake . It uses propel, a ORM solution. with cake we still work with (unconvenient) data- arrays iirc the cake 2.0 release will contain an object-based datalayer (written by the cake team) On Mar 3, 9:11 am, "snowdog" <[EMAIL PROTECTED]> wrote: > Fo

Re: Thesis ideas

2007-03-03 Thread Daniel Hofstetter
You could contact companies working in the field in which you want to write your thesis and ask them whether they have a project you could do for them. That's at least the way I used to find such a project. In the end I could even choose between some cool projects. Another idea is to write a Cake

Re: CakePHP versus Symfony ?

2007-03-03 Thread snowdog
For me the most important is that Cake is much easier to use on shared server (doesn't need shell access), most of my websites for small/ medium companies are located on shared host. And of course has LESS configuration files... On 2 Mar, 19:39, "surfivor" <[EMAIL PROTECTED]> wrote: > Could anyo

Re: changing ACL tablenames

2007-03-03 Thread AD7six
On Feb 28, 2:31 pm, "symfony" <[EMAIL PROTECTED]> wrote: > Are there any possbilities for changing the tablenames of theacl > needed databasetables (aros, acos and so on) and of cause working with > them correctly? Why would you want to? AD --~--~-~--~~~---~--~---