Carlos Mauricio Samour wrote:
> How do I save more than one ModelB at te same time?
>
>
Hi Carlos and everyone. I am totally enjoying baking with Cake and
thought I could throw in my
2 cents and help out. And I hope to get an answer on some of the
questions I have posted
in the past :)
So Car
Hi
When will there be official mysqli support in Cake? I tried rolling my
own but I don't have much of a test harness to make sure it works
properly. Are there any test harnesses for the dbos in Cake?
Thanks.
--~--~-~--~~~---~--~~
You received this message bec
Luigi wrote:
> Are there any plans for official mysqli support? The pasted code here:
>
> http://cakephp.org/pastes/show/770e73e77e4d7a3d32c2f3de3f175512
>
> doesn't work whenever I try to use Model->read().
>
> Thanks.
Try this one:
http://cakephp.org/pastes/show/c21bbe15e42013daead93ec1f9f067
Wow - the new site looks really great!
--~--~-~--~~~---~--~~
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 [
The only other files is app/webroot/css/cake.default.css-- /*** @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 th
Sweet, that worked. Thanks!
(ha, I see you fixed a variable name typo...)
Where there any other changes in the app folder? Soul reason I kept the
app folder separate was for quick updates and ability to use a
centralized cake library.
--~--~-~--~~~---~--~~
You re
Replace the app/config/inflections.php file with the new one.-- /*** @author Larry E. Masters* @var string $userName* @param string $realName* @returns string aka PhpNut* @access public*/
On 5/1/06, guice666 <[EMAIL PROTECTED]> wrote:
So, it would appear I got the 1.0 right upon release, but alas
So, it would appear I got the 1.0 right upon release, but alas the
update wasn't as transparent as one would have hoped.
I went from .10.8.2152 to 1.0.0.2685.
I have my app folder in a different location. I noticed changes to the
wwwroot/index.php file, so I redid my modifications to the three
c
Awesome! I just noticed the site changes myself. Looks like I got onto
the right right after everything posted. the modify timestamps are no
more than a couple hours old. 0.o
I do have a suggestion for the new docs; it *needs*
navigation links. It's a pain to read everything and then having to
s
Thanks for the tip. I've finally gotten my Korean website working with
it as well.
--~--~-~--~~~---~--~~
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
We made it! 1.0 is here. The first officially stable version to be released by the Cake Software Foundation, includes all the features we had in .10 but with final bug fixes needed to make 1.0 fantastic. We hope you all enjoy
1.0 and don't be afraid to submit any bugs if you find them. We will do
And one more post to clarify, I assumed that ALL of your models would
have those fields present ('created_on', 'created_by', 'updated_on',
and 'updated_by'). If a subset of models only need to record that
information, I'd override the afterSave() method in a base class that
extends from AppModel,
btw, I use othAuth for my projects, and this solution should work the
same for either rdAuth and othAuth.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-p
I am in need of doing this exact thing myself. Here are some
suggestions after taking a quick look at the Model/Controller/Dispatch
classes... I am in no way an expert in CakePHP internals, but being
pretty comfortable with OO design I would suggest the following:
Add a public variable to AppMode
make sure they are of type datetime and also if you have any files in tmp/cache/models or persistant toss themOn 5/1/06, saavedrajj <
[EMAIL PROTECTED]> wrote:sorry...:"in order to update the values of these fields without our intervention"
--~--~-~--~~~---~--~~
You
Thanks You really have been of great help!
On 5/1/06, Chris Cassell <[EMAIL PROTECTED]> wrote:
>
>
> > $this->ModelA->ModelB->save (array ('ModelB' => $modelb2));
> > $this->ModelA->ModelB->save (array ('ModelB' => $modelb3));
> > ..This code first saves the data of $modelb2 and then replaces it
> $this->ModelA->ModelB->save (array ('ModelB' => $modelb2));
> $this->ModelA->ModelB->save (array ('ModelB' => $modelb3));
> ..This code first saves the data of $modelb2 and then replaces it
> with the data of $modelb3. How do I save $modelb3 to a new 'ModelB'?
Add
$this->ModelA->ModelB->create
> Was just wondering (after searching google for some time) if there was
> an easy way to use the scriptaculous effects with the ajax helper?
check out Graham Bird's tutorial http://grahambird.co.uk/cake/tutorials/ajax.php
jb
jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (A
[EMAIL PROTECTED] wrote:
> You could also edit your gmail settings once you get your account setup
> to forward all messages to your other email account.
Yes, I had done that. But, you cannot post messages to this list then,
because "you are not a member of the list" when sending...
-Scott
-
sorry...:
"in order to update the values of these fields without our intervention"
--~--~-~--~~~---~--~~
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
Hi, according to the CakePHP manual, when we add these fields
on our database tables, we add some extra cakePHP funcionality
in order to update the values of these fields with our intervention,
I added these fields in my tables but CakePHP only update
correctly the "modified" field, the "created"
How do I save more than one ModelB at te same time?
On 5/1/06, Chris Cassell <[EMAIL PROTECTED]> wrote:
>
> I had to solve this problem myself. Here's what I do--perhaps not the most
> elegant, but it does work. (This code is off the top of my head and may need
> some tweaking)
>
> In your view s
Thanks Sam, I'll try that out!
Mike
--~--~-~--~~~---~--~~
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 [EM
Sorry hit send too fastlink("Final", "/job_materials/release/{$JobMaterial['JobMaterial']['id']}",array("update" => "form-target", "url" => "/bare/job_materials/release/{$JobMaterial['JobMaterial']['id']}",'complete'=>"new
Effect.Appear('form-target');")); ?>here is an example from an old thingso
it's an easy task
On 5/1/06, immure <[EMAIL PROTECTED]> wrote:
>
> Hi bakers,
>
> Was just wondering (after searching google for some time) if there was
> an easy way to use the scriptaculous effects with the ajax helper?
>
> I want one of my $ajax->links to fade out an old item, and load the
>
Hi bakers,
Was just wondering (after searching google for some time) if there was
an easy way to use the scriptaculous effects with the ajax helper?
I want one of my $ajax->links to fade out an old item, and load the
new.. is this going to be an easy task, or am I in for the long haul?
Cheers,
I thought on the Wiki there was a tutorial for an Error Component or
something of the like. Search thru the Wiki. Also, checkout
cakebaker.wordpress.com because it could be outlined in one of his
posts there.
But I would think that component is the best way to go. Making an
Error component tha
DO NOT MODIFY CORE FILES
--~--~-~--~~~---~--~~
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 PROTECTE
In my opinion, Paypal sucks for trying to integrate with and get
results back from. Also, you don't need SSL in order to accept
payments with Paypal. What you would need is their IPN system and make
a CakePHP method to accept that information and relate to database.
(Instant Payment Notification
Please state exactly what you mean to do and you can receive better
help. Also, others in the future reading these posts can get better
help as well. Right now it is hard to tell if you are asking about
something like $uses variable. Or if you are talking about something
like requestAction and
$this->Model->execute() can run completely custom queries.
So, you could run "SELECT COUNT(*)" queries directly against the
database and get the results. Just turn on debugging to see how
specifically MySQL will return the results into array format in
CakePHP.
I used the following query.
$
Also, you might try changing it back but instead setting your security
to medium. That stops the constant session id changing and only
creates a new session for each new "user".
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
I have seen transaction support while mulling around the CakePHP code
the other day. Do a codebase search for transaction and something
should appear. Not sure if it was the lastest trunk or the latest
ver2.0 trunk that I saw it in.
Also, I doubt since you don't know about it (you seem up on th
You don't have to do the $this->ModelA->ModelB->save(). You can simply
put $this->ModelB->save(). Just make sure that in the model your
method is in that your $uses variable has ModelB and ModelD included.
But yes this is simliar to the solution that I used.
And also similiar to the solution i
You could also edit your gmail settings once you get your account setup
to forward all messages to your other email account.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, s
Put the fields created and modified into your tables. CakePHP looks
for those fields and populates them automatically.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send e
We are currently performing some maintenance on the servers. Please
be patient, you may have problems accessing the CakePHP sites.
Happy baking.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
T
Scott asked:
> So, is there a way for someone to subscribe w/o
> using their gmail account?
Try emailing [EMAIL PROTECTED] but beware!
Googlegroups seem to have banned some top-level domains, will reject
all messages even if you seem to successfully subscribe and it won't
answer mail from bann
I had to solve this problem myself. Here's what I do--perhaps not the most
elegant, but it does work. (This code is off the top of my head and may need
some tweaking)
In your view set your inputs with their various modelname/fieldname name
attributes:
echo $html->input ('ModelA/date');
echo $html
Hello,
I'm currently looking into implementing created_on/by & updated_on/by
in my CakePHP based webapplication and I am wondering what the best way
to implement this would be.
I need:
* on creation (of a Model record?) : fill created_on/by
* on save (of a Model record?) : fill updated_on/by
I'
Also make sure that the curl extension is enabled in your php.
--~--~-~--~~~---~--~~
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 thi
Carlos Mauricio Samour wrote:
> In the examples I read in the wiki using the add action I only see one
> model being use. What is the best way of using more the one model that
> uses hasMany reletionships into a view?
> In my add_new form I want to use 3 models.
> When I press the Save button it o
Sorry to be somewhat off-topic, but how does one join this group with a
non-gmail account? I don't use gmail on a day-to-day basis, and it's a
royal pain to have to login to gmail, just to be able to post/reply to
messages on this list. So, is there a way for someone to subscribe w/o
using their
In the examples I read in the wiki using the add action I only see one
model being use. What is the best way of using more the one model that
uses hasMany reletionships into a view?
In my add_new form I want to use 3 models.
When I press the Save button it only sends the data of the first model
an
> Flash doesn't redirect if you have DEBUG set > 0.
Thanks, didn't know this one!
> PHP doesn't have rights to save the cookie.
>
> If you put this somewhere (like at the end of your index.php file):
>
> echo "session id is ".session_id();
>
> and the id keeps changing, it's quite likely that
45 matches
Mail list logo