More detailed explanation and examples in the API doc would be
seriously helpful especially to newer users.
I wish it had comment section like PHP doc site.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" g
The basisc select A -> select B part is pretty much like:
http://www.devmoz.com/blog/2007/04/04/cakephp-update-a-select-box-using-ajax/
My question is if anyone tried to do select A both controls select B
and C at a time.
In my project I'm resorting to hide select C via Javascript when
select
Ok, another attempt to pull some wisdom.
observeField is so great, it makes ajax 'just works.'
Select A changes the content of select B on the fly beautifully, until
I have to add select C. So, select A changes select B, then select B
changes select C is no problem, it's no different from select
Hello,
I'm trying to build 3 dependant ajax select boxes with observeField.
So, select A, select B, and select C.
I'm almost successful to do A changes B, B changes C is almost fine
with 2 observeFields for A and B.
Now I need to add condition so A changes C, or A changes both B and C.
I tried
yeah, i figured out that later. Only, "NOT sth IN ('a', 'b')" was
kinda unnatural to me in the mind of SQL, i was used to "sth NOT
IN('a','b')" way.
On Aug 30, 9:11 pm, Rafael Bandeira aka rafaelbandeira3
<[EMAIL PROTECTED]> wrote:
> > Only, unfortunately, I found out cake can't yeild expressio
On Aug 22, 10:28 pm, Mariano Iglesias <[EMAIL PROTECTED]>
wrote:
> 'not' => array('Model.field' => array( 1, 2, ...))
That's what I meant; you have to express in that way instead of
somehow accustomed typical SQL way.
--~--~-~--~~~---~--~~
You received this mess
It's just current implementation doesn't take 'NOT' keyword with the
use of IN() for array, i guess, and yields the same result anyway...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to th
Yeah, I always wrote in SQL like:
`id` NOT IN(1,2,3)
but:
NOT `id` IN(1,2,3)
oh well.
On Aug 21, 5:19 pm, teknoid <[EMAIL PROTECTED]> wrote:
> NOT IN is possible, but your syntax is not correct...
>
> See the "NOT" array:http://book.cakephp.org/view/74/complex-find-conditions
>
> On Aug 21,
I know I'm not answering to the question but a field that needs to be
unique generally hold the same requirement on an edit?
For the real answer, it's working here. Sorry for not helping..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
t really understand
> encoding at all. So how exactly do I save a a file without the BOM?
>
> Does it require special software, or what? I'm on windows.
>
> On Jul 14, 11:39 pm, haj <[EMAIL PROTECTED]> wrote:
>
> > So, I basically saved all UTF-8
So, I basically saved all UTF-8 files without BOM and now things works
beautifully.
--~--~-~--~~~---~--~~
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
Ok, it looks like this php bug is involved. I have been ignorant about
this totally..
http://bugs.php.net/bug.php?id=22108
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send
Well, I might find a light in some direction... the model file was
written and saved in UTF-8 (all else are UTF-8, too, tho) but when I
change this to not UTF-8, it looks working... I feel this very
hairly...
--~--~-~--~~~---~--~~
You received this message because
Darn, I can't locate what's wrong!
Although I was mostly certain about not having extra space or funky
control code hidden somewhere in the code, I just copied 1.2 RC2 to a
new directory and set up only 3 files for the test - model/controller/
view. And they're like this:
article.php (model):
lucaspirola <[EMAIL PROTECTED]> wrote:
>
> > wow,
> > i got the same problem,
> > and that surprise because app
> > was fine...
>
> > any news about this problem?
>
> > thks!
>
> > On Jul 8, 11:00 pm, haj <[EMAIL PROTECTED]> wrote
Hi,
Using 1.2 and I'm doing a simple model saving page then $this-
>redirect(), I get the header error telling:
Warning (2): Cannot modify header information - headers already sent
by (output started at C:\Program Files\Apache Group\Apache2\htdocs\eco
\app\controllers\shippers_controller.php:1)
nd then a main for web.
>
> Try to - if possible - to execute this command on your command line:
>
> php -m and check if session is loaded
> php -i and check if the is a different ini path
>
> /Jippi
>
> -Original Message-
> From: cake-php@googlegroup
Hi,
I've been trying to call a controller via CLI. I basically followed
this Bakery tutorial:
http://bakery.cakephp.org/articles/view/calling-controller-actions-from-cron-and-the-command-line
so, copied index.php and change it to take command line args. Then
upon calling an action via ssh, I ge
I don't cal myself a heavy user of google group but I haven't
encountered any difficulty so far... I'm using ONLY web interface,
BTW.
This is much faster than yahoo group.
I think the biggest benefit of using google group is that it is part
of google, so searching can take advantage of google's s
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'
You made my day LOL
On Aug 31, 3:48 am, Grant Cox <[EMAIL PROTECTED]> wrote:
> I had that problem recently - the upload button wouldn't work if I
> just clicked it, but I found that really pressing it hard would
> usually do it. I took the button apart and found out the contacts
> were just dirt
Version below 7.2 doesn't yet use information_schema thing so if you
use such a bit older version you'd need to do something...
On Aug 23, 4:48 am, michael lucas <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I'm using cakephp with mysql right now, which is really simple also
> due to mysql "describe" func
> I can also add the post-submission code to look out for the string
> 'NULL' instead of an ID,
This is what I'd do ;p) I'm using 1.1, tho.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post
I'm having hard time imaging why the need for array layout like the
latter -- implementation or algorithm where this array needed may have
a rethinking.
...but, and I'm not math expert (well, this isn't a question of math
anyway), you could just...
1) sort the 1st array
2) you can now take first
I would drop MODULES table which seems meaningless to me and rename
MODULES_ROLES_USERS to MODULES instead. Then in MODULES model, define
Modules hasMany ROLES and USERS. When adding new module, use
generatelist() to make lists for Roles and Users.
On Jul 23, 11:20 am, rtanz <[EMAIL PROTECTED]>
Hi,
I developed an app under MySQL and Postgres 7.4. Now it has to run on
PostgreSQL 7.3 but I found that it can't work because PostgresSQL 7.3
doesn't yet implement information_schema thing...
I'm not yet absolutely sure but it seems at least I have to rewrite
"information_schema" query part in
PHP4 support is one of the most important features and advantages and
selling point of cakePHP. This is not for some CS student's research
homework. Work in the field and realise a significance of PHP4
support.
On May 28, 11:16 am, "R. Rajesh Jeba Anbiah"
<[EMAIL PROTECTED]> wrote:
> On May 28, 7
Will this help?
http://groups.google.com/group/cake-php/browse_thread/thread/58ea010f930fab6c/
On May 28, 2:06 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I am a newbie in CakePHP, just wanna know, how can I create multiple
> database connections?
> Hope anyone can help me, thanks in ad
ok, I re-read your message...
check out this basic tutorial:
http://manual.cakephp.org/appendix/simple_user_auth
This pretty much explains how to do with session and some easy login
system example. There is no authenication system in cakePHP itself.
For time-out thing, I've no idea - If I had t
mplicated (many permission levels, sections, etc) it would help
implimenting *that* part but not auth system at all.
Not sure I'm least helping tho...
On May 17, 3:01 pm, joe west <[EMAIL PROTECTED]> wrote:
> Dear Haj,
>
> Thank you for your reply. I have no problem parcing the XML
If you create an interface to the XML in PHP, forgetting cakePHP, then
integrate it in cakePHP. To keep the status learn the manual for the
simlest auth sample using session. Then you may want to integrate it
into ACL if the need be. CakePHP is not ready-to-go application which
can do everything w
Thanks for an educating post. It's always helpful not only for
questioner but for many lurkers quietly educating themselves :-)
On Apr 15, 5:34 pm, "nate" <[EMAIL PROTECTED]> wrote:
> The "SELECT COUNT(*)" query is used to determine whether or not the
> record exists. Based on the result of quer
I would simply add "is_approved" field to userAdmin table...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group,
I'm trying to use the same component right now and having problems
(I'm a noob Baker myself, BTW, so bear with me)
First, I'm using supposedly version 1.1 file (got by clicking 1.1
link) in which the comment inside says 1.0 but I assume it is 1.1.
I gues your code is directly copied from the pos
Aside from FAQ, is there "please add this to the manual" list
somewhere?
As a new learner, I found this kind of information:
http://groups.google.com/group/cake-php/browse_thread/thread/24a49fe06b1d7938/a81afff37d2400ff?lnk=gst&q=other+model&rnum=2#a81afff37d2400ff
is REALLY valuable and I don't
rtconner:
I think the "blog tutorial" pretty much satisfies problem 1 and 2.
Then it is a problem of the tutorial not getting big attention for the
beginner...
On Mar 9, 1:49 pm, "rtconner" <[EMAIL PROTECTED]> wrote:
> I'm pretty much a noob. I just started on cakePHP 2 days ago.
>
> Biggest que
Q: What really is vendors and how do I use it? (benefits explanation
in a big picture with simple damn example)
Q: What really is components? (manual explanation doesn't clearly
explain me what it is and why they exists)
Q: How can split big controller files (or other type files) and
manage?
Q: So
37 matches
Mail list logo