Re: nested condition

2008-08-30 Thread Rafael Bandeira aka rafaelbandeira3
Only, unfortunately, I found out cake can't yeild expression like: sth NOT IN('a','b') Yes it can, use 'not' = array('sth' = array('a', 'b')) And you could write those conditions like this 'conditions'=array( array( 'or'

Re: find group parameter problem (GROUP BY problem)

2008-08-29 Thread Rafael Bandeira aka rafaelbandeira3
Should I open a bug report for this? If you're sure about it, yes --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from

Re: Initialization function on the model core

2008-08-28 Thread Rafael Bandeira aka rafaelbandeira3
On 28 ago, 15:46, villalvilla [EMAIL PROTECTED] wrote: Wrong! have you tried that? Yes... as with any object in PHP... I have tried it before posting this, trust me, and due to the Model constructor specifications it fails! that's why i've done this hooking! Are you nuts or something?

Re: Initialization function on the model core

2008-08-28 Thread Rafael Bandeira aka rafaelbandeira3
in a class... Oh man, go read php.net... come on... as you can see, i thought you were telling me that it was possible to call a function in the declaration of a variable in a class Sorry for your loosed time, Rafa regards On 28 ago, 21:18, Rafael Bandeira aka rafaelbandeira3 [EMAIL

Re: Initialization function on the model core

2008-08-28 Thread Rafael Bandeira aka rafaelbandeira3
in a class... Oh man, go read php.net... come on... as you can see, i thought you were telling me that it was possible to call a function in the declaration of a variable in a class Sorry for your loosed time, Rafa regards On 28 ago, 21:18, Rafael Bandeira aka rafaelbandeira3 [EMAIL

Re: Complex ACL Auth

2008-08-28 Thread Rafael Bandeira aka rafaelbandeira3
Paste your code and your approach, a test approach at least. I don't think someone will actually *do* it for you. But many people can point out what you're missing --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Database relationships etc

2008-08-22 Thread Rafael Bandeira aka rafaelbandeira3
Oh, I almost slept, you should try to more clear and less verborragic, so many explanation just messed up things more and more... And you should do 2 things when you can't speak a language : 1) look for groups with the same language of yours and 2) say your nacionality, so members from the same

Re: OrderedBehavior - Order your lists in a TreeBehavior like manner, but only for one level.

2008-08-20 Thread Rafael Bandeira aka rafaelbandeira3
I propose we should think of how we can use the Bakery to become our ultimate resource for articles.  I have a couple of simple ideas and if anyone is also interested,  I'll start a thread about this topic so we can give positive feedback, ideas and encouragement to the Bakery developers

Re: CakePHP and widgets

2008-07-20 Thread Rafael Bandeira aka rafaelbandeira3
Andy Dawson's mini controllers still work the best for me - despite the name it really is a combination of Components and Elements Why not to use some model tricks inside a helper? Form helper does it... Grab your model whithin the ClassRegister and serve yourself... I've already done the

curl_exec and auth component (one for the brainiacs)

2008-07-16 Thread michaelmcandrew (aka Milky Joe)
Hi all, I've got so far with debugging this but can't get any further. Appreciate that this post might not have the info you need, but it would be great for some pointers on how I could go about solving this - I've hit a wall. I'm using cURL to make a call to a paypal server. It works fine

Re: inserting more layers into cake php

2008-06-21 Thread Marcin Domanski aka kabturek
hey On Jun 20, 4:24 pm, Ian Zepp [EMAIL PROTECTED] wrote: Unlike Zend (with uses an Action suffix to designate controller actions), Cake doesn't have any such thing and instead uses a blacklist of 'private' controller actions (defined in the dispatcher). We don't ? We've got something that is

Re: Build #s for CakePHP Applications

2008-06-09 Thread Larry E. Masters aka PhpNut
$userName * @param string $realName * @returns string aka PhpNut * @access public */ On Sun, Jun 8, 2008 at 11:37 PM, Grant Cox [EMAIL PROTECTED] wrote: I have the major and minor numbers hardcoded in my application configuration file, and the actual revision appended using AD7Six's snippet

Re: Script protection

2008-06-09 Thread Larry E. Masters aka PhpNut
. http://www.opensource.org/licenses/mit-license.php http://en.wikipedia.org/wiki/MIT_License -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On Mon, Jun 9, 2008 at 4:26 AM, Smelly_Eddie [EMAIL PROTECTED] wrote

Re: Cake variables in url

2008-06-05 Thread aka
Ah and sorry, the cake version used is: 1.1.16.5421 (its an oldy, i know) On 5 jun, 11:59, aka [EMAIL PROTECTED] wrote: Hi there, Was wondering if someone has any idea on this: I've build an multilingual application and i'm using the cake sessions to store the language choice. Now for some

Cake variables in url

2008-06-05 Thread aka
Hi there, Was wondering if someone has any idea on this: I've build an multilingual application and i'm using the cake sessions to store the language choice. Now for some reason cake is showing allot of extra stuff in my url/ e.g.

Model::find(). Condition handled as an integer when it should be handled as a string

2008-06-05 Thread aka
Hi! Found this strange behavior when I was tracking down a bug on my Cake application. The easiest way is to reproduce this is to create the following sample application. 1. Set up the database: 2. Create the following table to the database CREATE TABLE `cars` ( `id` int(11) NOT NULL

SSL requestSecure gives blank page

2008-05-22 Thread michaelmcandrew (aka Milky Joe)
Hi there, anyone know what I am doing wrong? I have SSL set up on my server, and without using the Security component, everything works fine. I can see both these URLs: http://www.carbonretirement.com/baskets/directPayment https://www.carbonretirement.com/baskets/directPayment (You won't be

Re: api.cakephp.org

2008-05-21 Thread Larry E. Masters aka PhpNut
. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On Wed, May 21, 2008 at 8:41 PM, Mr-Yellow [EMAIL PROTECTED] wrote: Stuff like this really makes me wonder. Like all the broken links in the bakery. -Ben

Re: SVN based comments

2008-05-18 Thread Larry E. Masters aka PhpNut
/viewvc/*checkout*/svn/trunk/contrib/client-side/svn_apply_autoprops.py?revision=20787content-type=text%2Fplain Hope it helps, -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On Sun, May 18, 2008 at 12:31 PM

Re: Cookbook overhaul proposal

2008-05-12 Thread Marcin Domanski aka kabturek
You can use one of the workarounds presented here on the group for the pdf version but you may expect improvements soon (in speed and in other formats) On May 12, 7:51 pm, Mathew Nik Foscarini [EMAIL PROTECTED] wrote: While this subject is open. I would like to be able to download the manual,

Re: I'm very confused by your approach to internationalization.

2008-05-03 Thread Larry E. Masters aka PhpNut
?php$value = '[EMAIL PROTECTED]'; sprintf(__('User with e-mail address %s', true), $value); ? -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On Sat, May 3, 2008 at 1:07 PM, Ivans [EMAIL PROTECTED] wrote

Re: I'm very confused by your approach to internationalization.

2008-05-03 Thread Larry E. Masters aka PhpNut
Sorry should have been... sprintf(__('User with e-mail address %s already exists in our database. Please try to use another e-mail address.', true), $value); -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public

Re: SIte Homepage loading very slowly

2008-04-16 Thread Larry E. Masters aka PhpNut
. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On Wed, Apr 16, 2008 at 1:36 PM, Indian Baker [EMAIL PROTECTED] wrote: Hi Guys, We've built a site using cake 1.2x and it works fine overall.. The only issue is the homepage

Re: SVN based comments

2008-04-15 Thread Larry E. Masters aka PhpNut
* @param string $realName * @returns string aka PhpNut * @access public */ On Tue, Apr 15, 2008 at 3:11 AM, Haris [EMAIL PROTECTED] wrote: How can I build SVN based comments that'll fetch SVN details from the repository(or .svn files) and append them to the updated files/file. This is similar

Re: SQL-log showing when layout does not have $cakeDebug; defined?

2008-04-09 Thread aka
Ahh thanks for the replies. The name of that variable is a bit misleading :) Should read the documentation (and the source code) more carefully I quess. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group.

Re: What is wrong with my mo-file? Was:... Cake does not parse .mo files

2008-04-08 Thread Larry E. Masters aka PhpNut
Martin, I have already fixed this in the core. Please update to the latest branch 1.2.x.x from svn. Related ticket: https://trac.cakephp.org/ticket/4420 -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On Tue

Re: Howto secure a form / posted data from tampering?

2008-04-08 Thread Larry E. Masters aka PhpNut
and the form helper to create your forms. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On Tue, Apr 8, 2008 at 7:37 AM, Marcelius [EMAIL PROTECTED] wrote: Thanks for your anwsers! @Bert: Think that method is pretty

SQL-log showing when layout does not have $cakeDebug; defined?

2008-04-04 Thread aka
Hi! I'm using the latest stable release (1.1.19.6305). I don't know if this is intended or not, nut when I make a following layout: html head /head body ?php echo $content_for_layout; ? /body /html The SQL-debug still shows on my page like i would have placed ?php echo $cakeDebug; ? inside my

Re: What is wrong with my mo-file? Was:... Cake does not parse .mo files

2008-04-01 Thread Larry E. Masters aka PhpNut
$userName * @param string $realName * @returns string aka PhpNut * @access public */ On Tue, Apr 1, 2008 at 4:38 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Those variables are undeclared because they come from the extract statement and DO contain values. So I changed the topic to reflect

Re: session in component

2008-03-10 Thread Larry E. Masters aka PhpNut
vendejp, Nice try but... bob should use this instead. Place this in your component: var $components = array('Session'); Then you will have $this-Session available in your component. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka

Re: WTF!!!! Deleted tickets

2008-02-25 Thread Larry E. Masters aka PhpNut
to the ticket. 5) Be patient while we review these tickets and decide if it is really a bug, or a lack you your understanding of the framework. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On Mon, Feb 25, 2008

Re: Model primarykey

2008-02-25 Thread Larry E. Masters aka PhpNut
aka PhpNut * @access public */ On Mon, Feb 25, 2008 at 5:55 AM, Mr-Yellow [EMAIL PROTECTED] wrote: Um.. I fixed some bugs today and provided the patch. The ticket was deleted. So much for open source. -Ben On Feb 26, 12:37 am, nate [EMAIL PROTECTED] wrote: On Feb 24, 8:13 pm

Re: Is it possible to validate a file upload?

2008-01-11 Thread Marcin Domanski aka kabturek
not empty. Use custom validation to check if ['Remarks']['tmp_name'] is not empty, ['error;[ == 0 , and ['size'] != 0 etc HTH, Marcin Domanski aka kabturek http://tumble.kabturek.info/ --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Fixtures problem in Cake 1.2

2008-01-11 Thread Marcin Domanski aka kabturek
the test case: http://bin.cakephp.org/view/1981319085 fixtures: http://bin.cakephp.org/view/988525363 works like a charm :) HTH, Marcin Domanski aka kabturek http://tumble.kabturek.info On Jan 11, 4:44 pm, ivlcic [EMAIL PROTECTED] wrote: Robby, can you share your working code with us, because

Re: Pagnation with multiple Models

2008-01-11 Thread Marcin Domanski aka kabturek
, Marcin Domanski aka kabturek On Jan 11, 3:05 pm, Johan @ Notitia.nl [EMAIL PROTECTED] wrote: Hi, I'm building a search controller which has to retrieve data from multiple tabels. Normaly that wouldn't be a problem if you have set the correct association at the models. The big problem

Re: How to connect multiple databases?

2008-01-11 Thread Marcin Domanski aka kabturek
://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/ Marcin Domanski aka kabturek, http://tumble.kabturek.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email

Re: CakePHP weekly summaries

2008-01-05 Thread Marcin Domanski aka kabturek
Great Jippi! You're my hero ;) --~--~-~--~~~---~--~~ 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

Re: Auth Component W/ Remember Me Cookie (1.2 beta)

2008-01-05 Thread Marcin Domanski aka kabturek
Hey Baz I dont like useing user/pass - i rather use id, if something will be compromised then i would have to change my hash/login system only and no user data would be lost ( we have an cookie encryption functionality ya know) I did it this way - when the user is loggged i check if hewants to

Re: Cake 1.2 Console - Fatal Errors - Possible Bug?

2008-01-04 Thread Larry E. Masters aka PhpNut
help would be greatly appreciated! - Cake Fan -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ --~--~-~--~~~---~--~~ You received this message because you are subscribed

The Show Is Back!

2008-01-04 Thread Jeff Loiselle aka phishy
Dry your eyes (we know you've been crying), The Show is back! While I've been busy living it up in the US Virgin Islands trying to figure out how to get a decent Internet connection, The CakePHP Team has been busting their butts throughout the year (and even the holidays) to help you make your

Re: bakery hates me

2008-01-03 Thread Marcin Domanski aka kabturek
1. If you read my first post you'll notice I'm bagging out an article that was approved on the bakery. Did anyone click the link and read the article - if so, who agrees with my response? Yep thought the same thing when i sow it. 2. What version of cake is the bakery running on?

New Year, New Beta

2008-01-01 Thread Larry E. Masters aka PhpNut
://cakeforge.org/frs/?group_id=23release_id=371 1.1.19.6305 Change log: https://trac.cakephp.org/wiki/changelog/1.1.x.x -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public

Re: Class, filename and naming conventions

2007-12-20 Thread Marcin Domanski aka kabturek
mhm sorry but you're aware of the fat models , thin controllers idea ? imo let's stick to it. in you example you should have a controller with admin_actions and using the same model. If many of the structures are the same then just put them in the same model and call them from admin/user

Re: dependent=true not working

2007-12-16 Thread Marcin Domanski aka kabturek
when delating do you set the 'cascade' param ? On Dec 16, 6:37 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Here is my model class Question extends AppModel { var $name = 'Question'; var $validate = array( 'question' = VALID_NOT_EMPTY,

Re: How can I build a Forum with Cake?

2007-12-16 Thread Marcin Domanski aka kabturek
Exactly like any other app: create tables, bake models, views , controllers, edit the generated stuff to suit your needs :) On Dec 15, 10:31 pm, 703designs [EMAIL PROTECTED] wrote: Can someone help me out? I'd like to build a forum using CakePHP. I'll end up documenting my efforts in a

Re: Model Queries inside Model Objects?

2007-12-15 Thread Marcin Domanski aka kabturek
$this-findBy* from the User model you can access the associated model using $this-AssociatedModel- find... you should stick most of the model/query stuff inside models (fat models, thin controllers) loading models is an option but it really depends on the situation - generally you shouldnt load

Re: CakePHP and VBulletin

2007-12-13 Thread Marcin Domanski aka kabturek
As it happens, I have recently done this. I'll send an email off list for you to contact me. -Simon Hey Simon - don't be shy - share Your solution here:) not that i'm interested but many people would find it usefull. You can also get feedback about your solution. As for the integreation i

Re: Using PHP 5 Functionality In Your App

2007-12-07 Thread Marcin Domanski aka kabturek
http://www.gophp5.org/ :) On Dec 6, 7:22 pm, Sliv [EMAIL PROTECTED] wrote: I was wondering if developers out there who are writing CakePHP apps in a PHP 5 environment are using PHP 5 functionality in their app(s) or are choosing to stick with functionality available in 4 or 5? Since Cake is

Re: Best Practices/Method - Search to Return Results (With Paginate)

2007-12-05 Thread Marcin Domanski aka kabturek
http://wiki.kabturek.info/paginating_search_results HTH On Dec 5, 3:57 pm, Baz [EMAIL PROTECTED] wrote: Got a quick question. I'm trying to implement a custom search on a model that returns based on the user's criteria. Basically I have a bunch of if statements and build up a query before

FOSDEM 2008 Brussels , Belgium 23-24 February

2007-12-03 Thread Marcin Domanski aka kabturek
with some mates. It might be a good opportunity for European bakers to meet. Hope to see some of you there :) -- Marcin Domanski aka kabturek http://tumble.kabturek.info --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Replace for VALID_NOT_EMPTY?

2007-12-01 Thread Marcin Domanski aka kabturek
Hey 'nonEmpty' = array( 'rule' = VALID_NOT_EMPTY 'required' = true, 'allowEmpty' = false, 'message' = 'You must to put something.' ) looks like you didnt' replace VALID_NOT_EMPTY ;) here is what i use: 'field' =

Re: published/unpublished mode with search conditions

2007-11-24 Thread Marcin Domanski aka kabturek
Hey, You can look at the Soft Delete behavior as an example - it ads a default condition 'deleted' = 0 to all queries if you don't have a 'delete' key in the conditions. btw for me supporting strings isn't worth the extra code complexity ;) On Nov 24, 4:05 pm, Adam Royle [EMAIL PROTECTED]

Re: solution to 500 errors running 1.2 on dreamhost and others

2007-11-21 Thread Larry E. Masters aka PhpNut
with gettext being compiled in your version of PHP, there is a known issue with the Zend Optimizer. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ --~--~-~--~~~---~--~~ You received

Re: AuthComponent problems when using with Admin Routing

2007-11-17 Thread Marcin Domanski aka kabturek
hmm you can A) make an empty action admin_login to redirect B) spcify 'admin' = false in the login url in the auth component (not tested but should work) hth, kabturek On Nov 16, 7:34 pm, glassy [EMAIL PROTECTED] wrote: Hi all, I'm starting to use AuthComponent and I'm also using Admin

Re: Extending the Form Helper to change output HTML?

2007-11-15 Thread Marcin Domanski aka kabturek
in 1.2 to change the tags you create app/config/tags.php with your custom tags. Here's PhpNut paste how to use the new tags http://bin.cakephp.org/saved/24048 And here is a sample tags file from rtconner http://bin.cakephp.org/saved/24472 as for the setFlash - you *did* look at the api right ?

Re: model transaction on multiple models

2007-11-15 Thread Marcin Domanski aka kabturek
In doing this, the changes for every model rolled back fine. Does it seem incorrect (maybe just conventionally) to use a model to control the transaction over all the other models? Or is there a global type of transaction I should be using? AFAIK there is no global types of transactions.

Re: jQuery $.ajax() and on success result processing?

2007-11-15 Thread Marcin Domanski aka kabturek
Hi I'm new to jQuery, but I wonder if it is possible to return a result via controller that jQuery can handle on success? Maybe send the data in JSON ? (see the javascript helper) or PHP built- in json extension... I'm trying to POST data to an add method, and on success loading the view

Re: Auth/ACL problem: You are not authorized to access that location.

2007-11-12 Thread Jeff Loiselle aka phishy
Hey guys, I've been working on an ACL plugin if you're interested. http://bakery.cakephp.org/articles/view/acl-management-plugin Regards, jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To

Re: Installing cake on top of another cake application

2007-11-11 Thread Marcin Domanski aka kabturek
Hey Cake newbie here so I would very much appreciate it if you could help me out with my problem. just got a few questions. I'm running cake on a shared hosting site and I was just wondering if I can host another cake application on top of a working cake app. Do you have the possibility to

Re: Building a forum plug-in

2007-11-04 Thread Marcin Domanski aka kabturek
On Nov 3, 7:23 am, Cheeze [EMAIL PROTECTED] wrote: I've seen many projects with a lot of talk at the beginning but nothing concrete was done about it. or the codebase wasn't released ;) Perhaps the guys who really need should start something first? And if there are people who want more

Re: Cake Translation Application plugin

2007-11-04 Thread Marcin Domanski aka kabturek
On Nov 4, 8:24 am, julian [EMAIL PROTECTED] wrote: If not I guess i am going to have to write one, any one interested in helping? I thought about such app some time ago. i have a draft of the db etc So if you really want to write something (and have time to do it ;) contact me so we can think

Re: prpblem baking models

2007-10-23 Thread Larry E. Masters aka PhpNut
Upgrade the 1.1.18.5850, that fix is not correct and was closed as invalid since the issue had already been corrected in the core. http://cakeforge.org/frs/?group_id=23release_id=343 -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka

New CakePHP Releases

2007-10-22 Thread Larry E. Masters aka PhpNut
-- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send

Re: CakePHP miniFORUM

2007-10-21 Thread Marcin Domanski aka kabturek
Implementing the basics would be very easy with cake.. ive made some very simple forum additions already... but the power of the forums is the admin/moderator area and all these funtions... I sow somewhere a dbdesigner diagram of PhpNuts plans to build one but i think he's busy with 1.2 now :)

Re: Form manipulation

2007-10-17 Thread Larry E. Masters aka PhpNut
Have you tested that it is in fact possible to remove fields from a form when using the SecurityComponent? -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On 10/16/07, 2000Man [EMAIL PROTECTED] wrote: Hi

Re: Form manipulation

2007-10-17 Thread Larry E. Masters aka PhpNut
or their values either. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group

Re: Modules?

2007-10-11 Thread Marcin Domanski aka kabturek
On Oct 10, 3:24 pm, stefanb [EMAIL PROTECTED] wrote: Thank you for the second half of your reply. The first half didn't help me at all. The first part should help you realize that you should first invest some time by looking at the manual. If you don't have time to do it why do you think ppl

Re: Linking to non-admin portion of site with HTML helper...

2007-10-11 Thread Marcin Domanski aka kabturek
Yeah tthat's the way. i used 'CAKE_ADMIN' = 'false' but as it is deprecated then i use 'admin' too :) On Oct 10, 8:25 am, Geoff Ford [EMAIL PROTECTED] wrote: Try ?php echo $html-link('Home', array('controller'='docs', 'action'='index', admin=false)); ? Note tested though. Geoff

Re: Dedicated server: which Linux distribution?

2007-10-11 Thread Marcin Domanski aka kabturek
gentoo for performance , debian for stability i heard many ppl use CentOS but i don't have much experience with it. imo you can't go wrong with debian and centos. greets, On Oct 10, 7:16 pm, cakeFreak [EMAIL PROTECTED] wrote: Cheers MJ Ray! Anyone about CentOS? Dan

Re: public function, but not action

2007-10-10 Thread Larry E. Masters aka PhpNut
? -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On 10/10/07, stefanb [EMAIL PROTECTED] wrote: No, I did not try to access them via browser. I think you're missing my point. I don't want to use underscore on my

Re: CSS Vendors folder (Cake 1.2, latest alpha)

2007-10-09 Thread Larry E. Masters aka PhpNut
Fran, This will be supported soon with the new media view class that has ben added to the 1.2 branch. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On 10/9/07, Fran Iglesias [EMAIL PROTECTED] wrote: Hi

Re: CakaPHP in SOA

2007-10-04 Thread Marcin Domanski aka kabturek
or maybe disable the autocreation of session in core.php ? hint - AUTO_SESSION = false On Oct 2, 11:45 pm, CodeSith [EMAIL PROTECTED] wrote: Anybody uses CakePHP in SOA environment? I want to write some REST based web services using CakePHP. To get it going is pretty simple. I will use

Re: Missing adodb.inc.php File?

2007-10-01 Thread Larry E. Masters aka PhpNut
That file is not part of the CakePHP core, it is part of the adodb distribution. You must install this library in app/vendors -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On 10/1/07, Cory Dee [EMAIL

Re: CakePHP Live Broadcast: Be There Or Be Square

2007-09-20 Thread Jeff Loiselle aka phishy
I like your ideas brother. I'll take them to heart. Thanks! --~--~-~--~~~---~--~~ 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

CakePHP Live Broadcast: Be There Or Be Square

2007-09-18 Thread Jeff Loiselle aka phishy
To The Show! Regards, Jeff Loiselle aka phishy --~--~-~--~~~---~--~~ 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

Re: Why does this shitty Ggroups need 10 mins to post?

2007-09-15 Thread Larry E. Masters aka PhpNut
. No. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On 9/15/07, Danijel Kurinčič [EMAIL PROTECTED] wrote: but why not use a proper forum? --~--~-~--~~~---~--~~ You received

Re: Is this error related to PHP version?

2007-09-15 Thread Larry E. Masters aka PhpNut
If the code you pasted is the exact code you are using you are missing the ''. Code should be: if ($this-User-save($this-params['form')) -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On 9/15/07, CakeONaut

Re: CakePHP @ php|works

2007-09-12 Thread Larry E. Masters aka PhpNut
Felix, When and where do you plan to have the meetup? I am about 3 1/2 hours drive and might be able to make a trip to be there. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On 9/12/07, Felix Geisendörfer

Re: Fatal errors using bake

2007-09-12 Thread Larry E. Masters aka PhpNut
This is fixed in the latest branch. You can also grab the nightly release to get the fix. http://cakephp.org/downloads/index/nightly/1.1.x.x -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On 9/12/07, quonn

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.thinkingphp.org

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 workkbench

Re: New Collaboration App developed on CakePHP

2007-09-05 Thread Marcin Domanski aka kabturek
Hey nice app :) Did you think about writing a case study on the bakery ? Couple of things: * I would use a standard feed icon :http://www.feedicons.com/ with the right size (or resize the one you use now - resizing by browser doesn't look too good) * the image that show the examples (when nothing

Re: override dbo

2007-08-30 Thread Jeff Loiselle aka phishy
Adwin, I wrote the Oracle DBO. The version in the latest 1.2 nightly works and is supported. As Chris Hartjes said, if you have any problems with that version, submit a ticket to Trac. I would love to get more Oracle people on board. Please let us know if you have any further problems. Regards,

Re: 1.2 updateAll does no validation

2007-08-24 Thread Marcin Domanski aka kabturek
You are aware that you can call Model-validate() yourself? On Aug 24, 4:17 am, Dani [EMAIL PROTECTED] wrote: Wouldn't it be cool if updateAll had a validate parameter just like save? By the way, what's the purpose of updateAll() if it's not save()-ing a lot of rows at once? Happy coding!

Re: new With Associations in a HABTM

2007-08-21 Thread Marcin Domanski aka kabturek
, but the beforesafe errors on saving a post and the Post and Tag are not accessible from the view. Any further help would be appreciated ! Thanks in advance, Max On 20 aug, 10:48, Marcin Domanski aka kabturek [EMAIL PROTECTED] wrote: have you created the model ? On Aug 19, 5:04 pm

Re: new With Associations in a HABTM

2007-08-20 Thread Marcin Domanski aka kabturek
have you created the model ? On Aug 19, 5:04 pm, doekie [EMAIL PROTECTED] wrote: In the OCPHP sheets (http://www.cakephp.org/files/OCPHP.pdf) there was an example of the use of the new With Associations in a HABTM. So it must be easy to get values out-of the join-table in CakePHP 1.2 var

Re: new With Associations in a HABTM

2007-08-20 Thread Larry E. Masters aka PhpNut
gwoo wrote that not me :) The PDF you are referring to is upcoming features that may or may not have been fully implemented -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On 8/20/07, DLMax [EMAIL PROTECTED

Re: Advice on Complex Model setup

2007-08-12 Thread Marcin Domanski aka kabturek
are you using 1.2 ? search a little for the 'with' key in the association properties of a HABTM - you can define a model for the join table. and then you have a join table with id , ingredient_id, recipe_id , quantity. i would do it that way if i understood you right :) On Aug 13, 1:14 am,

Re: i18n and 1.1

2007-08-05 Thread Larry E. Masters aka PhpNut
Just use 1.2 if you plan to do something like this. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On 8/5/07, nitifixis [EMAIL PROTECTED] wrote: Can I backport the i18n.php and l10n.php 1.2 libs to 1.1

Re: Is this not a security issue?

2007-07-30 Thread Larry E. Masters aka PhpNut
string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On 7/30/07, morecakepls [EMAIL PROTECTED] wrote: Hi What if my table is named User and there are three fields called Username, Password, Secretvalue. I present the user a form to change the username

Re: I need to use frame works

2007-07-10 Thread Larry E. Masters aka PhpNut
string $userName * @param string $realName * @returns string aka PhpNut * @access public */ --~--~-~--~~~---~--~~ 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

The Last Alpha Cake

2007-07-09 Thread Larry E. Masters aka PhpNut
* @returns string aka PhpNut * @access public */ --~--~-~--~~~---~--~~ 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

Re: Does cakephp support transaction now?

2007-07-08 Thread Larry E. Masters aka PhpNut
in the group. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post

Re: cake, Ajax, and jquery

2007-07-08 Thread Larry E. Masters aka PhpNut
* @param string $realName * @returns string aka PhpNut * @access public */ --~--~-~--~~~---~--~~ 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

Re: Undefined Variable Problem

2007-07-08 Thread Larry E. Masters aka PhpNut
change: $product_id = $this-$data['Product']['id']; to: $product_id = $this-data['Product']['id']; -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On 7/8/07, r557 [EMAIL PROTECTED] wrote

Re: cake, Ajax, and jquery

2007-07-08 Thread Larry E. Masters aka PhpNut
him from this list. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ On 7/8/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I read the manual. It is a shame that you guys don't spend as much time writing

Re: MIT license vs. CSFL license

2007-07-06 Thread Larry E. Masters aka PhpNut
* @returns string aka PhpNut * @access public */ On 7/6/07, keymaster [EMAIL PROTECTED] wrote: I read posts related to this subject, but never saw these two licenses compared, to really bring out the differences. I'm trying to understand the practical differences between the MIT license

Re: 1.2 Pagination SQL Injection

2007-07-04 Thread Larry E. Masters aka PhpNut
* @returns string aka PhpNut * @access public */ --~--~-~--~~~---~--~~ 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

Re: 1.2 Pagination SQL Injection

2007-07-03 Thread Larry E. Masters aka PhpNut
* @var string $userName * @param string $realName * @returns string aka PhpNut * @access public */ --~--~-~--~~~---~--~~ 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

Re: 1.2 Pagination SQL Injection

2007-07-03 Thread Larry E. Masters aka PhpNut
a little before trying to inform others with false statements like: Sanitization is also not promoted in the community nor in source, IM*H*O. -- /** * @author Larry E. Masters * @var string $userName * @param string $realName * @returns string aka PhpNut * @access public

<    1   2   3   4   5   >