Re: CakePHP and open-source JavaScript-based GUI toolkit qooxdoo

2006-04-12 Thread 100rk
As I said, I already have solution, I just have to rewrite it with prototype (as it is only official AJAX tool in CakePHP and I don't want to break any social rules here). qooxdoo - I'm just fascinated. I know Dojo, Bindows, NetWindows and some other JS GUI toolkits, but qooxdoo wins for several

Re: CakePHP Manual 0.10.x.2460

2006-04-12 Thread Mika
Gmail still won't let me send anything. I'll put them up on box.net as well and then paste the link here. Do you still want to make me a developer on the cakeforge group or should I just keep posting on box.net? --~--~-~--~~~---~--~~ You received this message

Re: Questions Re: App Distribution

2006-04-12 Thread 100rk
Cake will work on Apache with mod_rewrite Cake also works with Cherokee web server from http://www.0x50.org/ - it doesn't use .htaccess files, but it has it's own redirections configuration: http://www.0x50.org/doc/Redirections.html --~--~-~--~~~---~--~~ You

Adding a feature to help organize content

2006-04-12 Thread Jose Cedeno
Hi,I am aware from idling in irc as well as reading the documentaiton online, that right now it needs some organization: http://groups.google.com/group/cake-php/browse_thread/thread/9487afa02207f299 I was thinking that having a feature were people could say: I found this page helpful, or I would

Re: Editing thtml files in Dreamweaver

2006-04-12 Thread spacedz
Yep same problem for me. Added it to file types but it won't colour code. --~--~-~--~~~---~--~~ 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

Re: CakePHP and open-source JavaScript-based GUI toolkit qooxdoo

2006-04-12 Thread 100rk
Hi all! CQX project on CakeForge was approved, so if You want to see source code of this demo, it is published (as pre-pre-pre release :) here: http://cakeforge.org/projects/cqx --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

FileMaker database driver

2006-04-12 Thread bdb
I have hacked together a version of The Cake Blog Tutorial from manual.cakephp.org that uses a FileMaker database for data storage and retrieval. Currently it is very specific to the tutorial example, but I am working on making the functions generic so they can be applied to other projects I

Re: Backend/Frontend

2006-04-12 Thread zis
I have finally decided to do it in two apps. Here are some of my reasons: First and most importantly i have come to realise that i need a completely different listing of the data for admins to be able to edit, categorize etc.. I have many models that shouldn't be directly accessible to end users

Re: Backend/Frontend

2006-04-12 Thread zis
I have finally decided to do it in two apps. Here are some of my reasons: First and most importantly i have come to realise that i need a completely different listing of the data for admins to be able to edit, categorize etc.. I have many models that shouldn't be directly accessible to end users

Re: Advanced relationships and recursiveness

2006-04-12 Thread Jules
Hi ! Did you manage to resolve your problem ? 'cos I have the same issue with a HasAndBelongsToMany relationship ... Herlp ;-) Jules --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post

Re: Editing thtml files in Dreamweaver

2006-04-12 Thread oceanguy
Okay, here's the deal. If I add .thtml to Preferences-File Types, the file opens when double-clicked, but isn't colored and only allows Code view. If I follow the instructions in the above link, I can't double-click on a file (at least on my computer) but if I do a right-click Open With the

Re: bindModel() and saving hasAndBelongsToMany

2006-04-12 Thread CyclopsCED
The first thing I would think of is that HABTM relationships, to my knowledge, need both models to have a binding. Try adding the other model in your HABTM to the uses array and add that bindModel call under your current one and see if that helps.

Re: bindModel() and saving hasAndBelongsToMany

2006-04-12 Thread Chris Cassell
Try adding the other model in your HABTM to the uses array and add that bindModel call under your current one and see if that helps. No luck. I didn't have that relationship in the other model before I removed the static associations anyway. In my experience, there's really no need to have

Re: FireBug Extension

2006-04-12 Thread [EMAIL PROTECTED]
Just visited that site with FF 1.5, latest WebDeveloper, and latest FireBug running and no problems for me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

postgres (or i) not able to insert integer

2006-04-12 Thread bracchetto
i'm using the latest cake_nigthly version (1.0.0.2482). I 've created a table with postgres with idSERIAL and texttext I've created the model and the controller where i put var $scaffold When i go to insert a new line i get this error: Warning: pg_query(): Query failed: ERROR: invalid input

Re: CakePHP Manual 0.10.x.2460

2006-04-12 Thread Gustavo Carreno
On 4/12/06, Mika [EMAIL PROTECTED] wrote: Gmail still won't let me send anything. I'll put them up on box.net as well and then paste the link here. Well, it has to do for the moment... Do you still want to make me a developer on the cakeforge group or should I just keep posting on box.net?

Re: CakePHP Manual 0.10.x.2473

2006-04-12 Thread Gustavo Carreno
On 4/12/06, Mika [EMAIL PROTECTED] wrote: The Previous, Next and Back buttons seem to work for me. Are they not working for you? Well, on the reader itself yes, but I was talking about links on the pages. But never mind, it's probably more CHM like to not have them at all :) -- If you know

Re: some ACL stuff

2006-04-12 Thread nate
Hey Ryan, It seems like your system is simple enough that an ACL would not even be required. Where it *would* come in handy is if you created a situation where users could join groups, and create/edit blog posts collectively. But if you only have a single direct relationship between posts and

Re: CakePHP Manual 0.10.x.2460

2006-04-12 Thread Mika
Cool thanks a lot. Sorry but I couldn't get onto box.net earlier either. Man, it's just not my day. I'll update it tomorrow. Best wishes to you and your daughter. I hope all is well. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: CakePHP Manual 0.10.x.2460

2006-04-12 Thread Gustavo Carreno
On 4/12/06, Mika [EMAIL PROTECTED] wrote: Cool thanks a lot. Sorry but I couldn't get onto box.net earlier either. Man, it's just not my day. I'll update it tomorrow. Oky mate, no sweat !! Best wishes to you and your daughter. I hope all is well. Thanks, you're very kind !! -- If you know

Re: postgres (or i) not able to insert integer

2006-04-12 Thread bracchetto
i resolve using the function beforesave(), checking if the id is not a number --~--~-~--~~~---~--~~ 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

Re: postgres (or i) not able to insert integer

2006-04-12 Thread bracchetto
how can i take off the quote in the insert query? because in the function beforesave i put this $this-data['Tables']['id']='DEFAULT'; but the result query is INSERT INTO soggetti (id,text) VALUES ('DEFAULT','testo') but this in postgres fail because the value of the id must be without quotes, how

Re: some ACL stuff

2006-04-12 Thread [EMAIL PROTECTED]
very true, and in all reality i'm just doing a 'beta' version of my web app initially, and i'll probably use a simpler authentication schema, but as the Cake ACL documentation isn't extremely extensive (definitely useful, and totally digestible) I was wondering what would be the best

Help with how to do a query

2006-04-12 Thread spacedz
I'm designing my site and at the moment all news is posted via the phpBB forum; the main site just pulls out the right stuff and replies show up as comments. The problem is I'm finding it impossible to use Cake for everything and then continue to do this using its built in db handling. This is

Re: Help with how to do a query

2006-04-12 Thread Samuel DeVore
I would set DEBUG to 2 in core.php and see if the query is creating an error and start from there. Sam D On 4/12/06, spacedz [EMAIL PROTECTED] wrote: I'm designing my site and at the moment all news is posted via the phpBB forum; the main site just pulls out the right stuff and replies show

$hasAndBelongsToMany, findAll and $fields ... I'm becoming crazy ... help !

2006-04-12 Thread Jules
Hi all ! I need help on a simple issue ... well not so simple for me Let's resume the situation : 3 tables : Categories , Products and categories_products. Categories and Products have a n,m relationship so we've got the following models : * Pour Category.php * class Category extends

Re: Help with how to do a query

2006-04-12 Thread John Anderson
On Apr 12, 2006, at 2:53 PM, spacedz wrote: How would you suggest running the above query and getting the data set? Make a model for your phpBB posts, and assign it one of the tables listed in your query. Then just do something like: $this-PhpBBPost-query($reallyBigQueryGoesHere); --

Re: Help with how to do a query

2006-04-12 Thread spacedz
I'm not even sure which function to call it from. phpBB doesn't at all fit into the naming system so I need an equivalent of findBySql() to do it without making sure I've got a controller with the right name etc. --~--~-~--~~~---~--~~ You received this message

Re: Help with how to do a query

2006-04-12 Thread h3raLd
The model name corresponding to the table phpbb_posts should be PhpbbPost, so create a model named PhpbbPost (capital letter does matter), make it accessible by your controller, and then you can call: $this-PhpbbPost-query($yourQuery) and get your results. The query() method substitutes

Re: Editing thtml files in Dreamweaver

2006-04-12 Thread Mickiii
Did you do this step: --- 1. Make thtml files editable in the design view - Find the Extensions.txt file in Dreamweaver's Configuration folder and edit the line PHP,PHP3,PHP4,PHP5,TPL:PHP Files to read PHP,PHP3,PHP4,PHP5,TPL,THTML:PHP Files This tells DW to treat these

Re: some ACL stuff

2006-04-12 Thread nate
The general rule of thumb about ACO's are that you want to create one for each object that you want to control access to, and arrange them hierarchically such that there are as few links between the ARO and ACO trees as necessary. --~--~-~--~~~---~--~~ You

Re: some ACL stuff

2006-04-12 Thread [EMAIL PROTECTED]
would it be bad form to mix ACL with a specific access check - to go back to the blog example, which I know is a bit too simple to be appropriate, but - would it be wrong to set say all children of the 'members' ARO group had 'read' access to the blogs ACO group, adn then check if the logged in

Re: some ACL stuff

2006-04-12 Thread Darian Anthony Patrick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In an application not at all like a blog, I do both, as (to keep with your blog example) not all of my user's are allowed to modify their own blog posts, but I still need to determine whether a blog post belongs to the current user in order to

Re: Help with how to do a query

2006-04-12 Thread spacedz
Thanks guys, will give it a try. --~--~-~--~~~---~--~~ 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

Session not working if enclosed in if??

2006-04-12 Thread The_Nox
Can anyone tell me why this isn't working? function login() { if(isset($this-params['data'])) { $this-Session-write('Users.id','test'); } } But this is: function login() { $this-Session-write('Users.id','test'); } I checked with

Re: Global Variables and Arrays

2006-04-12 Thread wassimk
Thanks for the replies Mika and Jose. They helped out and everything is working great now. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: Session not working if enclosed in if??

2006-04-12 Thread Gustavo Carreno
On 4/12/06, The_Nox [EMAIL PROTECTED] wrote: function login() { if(isset($this-params['data'])) { $this-Session-write('Users.id','test'); } } If nothing gets posted, the $this-params['data'] array will not be set. Have you debug($this-params['data']) to get

Re: AppController Componed SQL Query Issue

2006-04-12 Thread scott lewis
On 12-Apr-2006, at 19.26, rpeterson wrote: Hey Everyone, I am trying to use $this-query() in a component called in the AppController and its telling me it is an undefined method ... anyone have any ideas on why that may be? ~rpeterson query() is a Method in Model. Controllers and

Re: AppController Componed SQL Query Issue

2006-04-12 Thread rpeterson
Yeh, I figured it all out, my though process was a little fuzzy :-P --~--~-~--~~~---~--~~ 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