Hi Grant,
was just digging into the mysql transaction problem...
It seems if you are using PHP5, you can directly use model->begin,
commit and rollback. Every unknown method of your model is directly
dispatched as a database query (cake uses the __call function to
"catch" unknown methods).
The mor
i think you only get to see your own post after someone else has
replied to it
--~--~-~--~~~---~--~~
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 uns
Sorry, $syhtml should be $html. I was just using a helper I've extended
from cake's html helper :)
So it should be:
css('styles'); ?>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Cake PHP" group.
To post to t
It's a very simple issue. You shouldn't overwrite / edit the
cake.generic.css file but instead produce your own css file. Let's say
you've created your own styles.css file. Save this file under your
webroot/css directory.
Then, edit your app/views/layout/default.thtml file and in the header
remov
On 11/9/06, Ismael S. Kafeltz <[EMAIL PROTECTED]> wrote:
> The ACM man did not work on ACM for months, so don't expect a update so
> early. You could use the old script if you wish. ( i don't know where
> to download old versions )
PhpNut_ has said that he will look into it but I think it is an i
I have just started working on CakePHP for a company and I'm trying to
get a hang of it.
However, I cannot seem to get a straight answer from my research about
implementing my own CSS file.
Do I have to overwrite/edit the cake.generic.css file? Or can I
redirect the url to the CSS to my own? If
better yet, you can also override AppController::flash()
function flash($message, $redirect_url = null, $key = 'flash')
{
$this->Session->setFlash($message, 'default', array(), $key);
if ($redirect_url != null) {
$this->redirect($redirect_url);
}
}
Thanks so much!
Hm, I have used bake but did not notice this feature.
On Nov 9, 10:12 pm, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> Actually there is something similar
>
> in the controller at the end of the method calling path can do this
>
> $this->Session->setFlash('The Role has been saved
Afternoon all,
This may be a stupid question but I would like to know as it would
make life somewhat simpler at the end of the day.
In a hasOne relationship address:
e.g. User hasOne UserDetail
Where the users table includes core user information and the
user_details table includes additional
Actually there is something similarin the controller at the end of the method calling path can do this$this->Session->setFlash('The Role has been saved'); see
http://api.cakephp.org/class_session_component.html#75c36eab6a62904b4378978cf72a307e you can also define layouts for thisthen somewhere in
If you haven't seen the RoR Screencast: Creating a blog in 15 minutes
with Ruby on Rails, check it out so you have some context to what I'm
asking about here:
http://media.rubyonrails.org/video/rails_take2_with_sound.mov
Now that you've seen how the flash method works within the RoR
controller, I
Hi. I also use gmail and never experienced such trouble.
Keep in mind that are not receiving the email that you are sending,
but the answers.
Olivvv
[EMAIL PROTECTED] wrote:
> Why does it sometimes take 12+ hours for a post to show up in a
> discussion? And other times (rarely) it shows up with
wp mu is just changeing the prefix of the tables. you can also set the
table prefix inside cake somewhere. maybe this is a possible way
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Cake PHP" group.
To post to t
Why does it sometimes take 12+ hours for a post to show up in a
discussion? And other times (rarely) it shows up within minutes.
sc
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Cake PHP" group.
To post to this
Disregard this thread, the cause of the problem was a small typo.
--~--~-~--~~~---~--~~
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
Search in google "Powered by CakePHP"
On 9 nov, 15:25, "Mikee Freedom" <[EMAIL PROTECTED]> wrote:
> There is a list of sites in the wiki somewhere as well.
> mikee
>
> On 10/11/06, nate <[EMAIL PROTECTED]> wrote:
>
>
>
> > Here are a couple that I know of:
> >http://www.pewterreport.com/
> >http:
> What's the best way to accomplish this?I'd stick that sort of stuff in
> AppController (/app/
> app_controller.php) as class variables or methods, or in /app/config/
> bootstrap.php.
What's the controller that's using the view
webroot/views/pages/home.thtml
?
There are other models/controll
HmmCan't he change the $useTable variable to reflect the name of
the table he is working with? Or does that var have to be set before
the class is loaded?
On Nov 9, 5:08 pm, "mozey" <[EMAIL PROTECTED]> wrote:
> unfortunat. But, it sure did help. thank you.
--~--~-~--~~--
Ok, so I figured out how to generate a list using different
fields, other than the id, as the key => value pair. But I still have
some issues.
* Is it possible to use multiple fields to make up the value of the
select box? Such that it would come out looking something like
field2value - field
unfortunat. But, it sure did help. thank you.
--~--~-~--~~~---~--~~
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 em
No problem.
Glad to be of assistance.
-MI
-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de dme69
Enviado el: Jueves, 09 de Noviembre de 2006 06:15 p.m.
Para: Cake PHP
Asunto: Re: login/logout - module
Thanks for your answer and ... Sorry.
--~--
One question, how I can do sorting in two dimensions. Now its go only
in vertical dimension.
--~--~-~--~~~---~--~~
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@googlegro
Thanks for your answer and ... Sorry.
On 9 nov, 21:25, "mariano.iglesias" <[EMAIL PROTECTED]>
wrote:
> Dominique,
>
> This topic has been covered several times on this group. Try searching
> for authentication, login, all words related. For example:
>
> http://groups.google.com/group/cake-php/sea
On 11/9/06, sbarre <[EMAIL PROTECTED]> wrote:
>
>
> I've been digging around in the archives with searches and I've come
> across a few people who have this problem, namely dealing with the
> CakePHP saving routines that aren't DB-keyword-aware..
>
> By this I mean the quoting of NULL and the inab
I've been digging around in the archives with searches and I've come
across a few people who have this problem, namely dealing with the
CakePHP saving routines that aren't DB-keyword-aware..
By this I mean the quoting of NULL and the inability to use functions
like PASSWORD() and other database
I tested your code but it isnt go. Ther is my code:
--
SQL Table:
===
name_tabel: section
id: int
name: varchar
position: int
Section Model:
===
Section Controller:
=
set('sections', $this->
Dominique,
This topic has been covered several times on this group. Try searching
for authentication, login, all words related. For example:
http://groups.google.com/group/cake-php/search?group=cake-php&q=authentication&qt_g=1
You will see it yields quite a number of related topics. Allways try
AD7six,
Thanks for your response. I checked the code. I am still not able to
solve this. Because this is happening when I edit a category also. If,
as you said, my existing category is being overwritten, then while
editing, I should end up in 2 categories with the same name. But what
happens is t
There is a list of sites in the wiki somewhere as well.
mikee
On 10/11/06, nate <[EMAIL PROTECTED]> wrote:
>
> Here are a couple that I know of:
> http://www.pewterreport.com/
> http://villagevoice.com/bestof/2006/
>
>
> >
>
--~--~-~--~~~---~--~~
You received thi
On Nov 9, 2006, at 10:00 AM, Erich C. Beyrent wrote:
>
> Silly newbie question here. I have followed the instructions in the
> manual to set up a default index page, with a new default.thtml
> layout,
> which echoes $content_for_layout.
>
> What I would like to know is where does $content_for
Hello all,
I'm quite new to cakephp and i want to know if there is a module to add
a login/logout function tp my application ?
Thanks for your help.
Dominique.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Ca
Silly newbie question here. I have followed the instructions in the
manual to set up a default index page, with a new default.thtml layout,
which echoes $content_for_layout.
What I would like to know is where does $content_for_layout get set? Is
there a default controller that gets called be
So... in short :
___ VIEW ( index.thtml ) __
sortable('items',array('onUpdate' => " function(t){new
Ajax.Request( '/items/order', {method:'post',
postBody:Sortable.serialize('items'), asynchronous:true})}"))?>
CONTROLLER ( ite
Damn...i did it... i was playing with
$ajax->sortable('items',array('url' => '/items/order')) ... for example
I use firebug to catch the request - the parameters are wrong... it
seems that they are not in UTF-8.
The ajax helper generates js that prints
parameters:sortable.serialize('items'
I just tried your link and it seems that the PHP IDE plugin hosted on
eclipse.org IS the Zend PHP IDE for Eclipse.
I'm sorry for the confusion created from my previous mail.
-Original Message-
From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Bert Van den Brande
Sent
I'm using Eclipse SDK 3.1.2 with PHPEclipse 1.1.8 and Subclipse 1.0.3,
and I'm playing with ant integration. Here's how my setup works right
now:
My workspace is at c:\web\projects. Inside c:\web\projects, I have a
cake folder with my default cake install. I made it a project just so
I could e
this worked.
thank you very much
--~--~-~--~~~---~--~~
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 [EMAI
That worked great! 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 group, send email to [EMAIL PROT
Here are a couple that I know of:
http://www.pewterreport.com/
http://villagevoice.com/bestof/2006/
--~--~-~--~~~---~--~~
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@go
Database host is set as localhost, exactly the same setting as used in
the when doing vanilla mysql_connect which works fine.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Cake PHP" group.
To post to this group,
Hi,
I haven't been able to find a page on cakephp.org that lists all the
sites powered by cakephp.
I believe in this framework and use it for a lot of my projects, but
some of my clients want to know the biggest applications that this
framework is supporting / capable of supporting.
For their s
> BUT i am confused where should I put the submit_sort?
> Creat a new js file? or PUT them in the index.thtml?
> I was created a new function in my controlloer called submit_sort( ),
> and paste your code. It was wrongl
I put in my view (note the wrapping
I'm sorry but this is completely out of scope for the purpose of this
group. [EMAIL PROTECTED] is for handling messages *REGARDING*
CakePHP development, not just general PHP. There are other groups for
that.
Furthermore, a very basic google search would yield results:
http://www.google.com.ar/se
I noticed while baking a classic 'status' model, that it creates tests
for 'statu', even though I have entries filled in for status =>
statuses in several places in inflections.php (and the model baking
itself seems to use it). Is this a bug in bake?
--~--~-~--~~~---~
Thanks for your patient!
BUT i am confused where should I put the submit_sort?
Creat a new js file? or PUT them in the index.thtml?
I was created a new function in my controlloer called submit_sort( ),
and paste your code. It was wrongl
THanks.
Asking so silly question.
f. wrote:
> Hi,
>
> > Sh
If I understood your explanation right then this is what happens:
the beforeFilter() method gets called before your action method so
$this->locked isn't set yet!
you could try to have a special class var for your controller that
stores the locked actions:
class EntriesController extends AppContro
I've tried to get a perfect plugin-set for eclipse and i was focused on having JSEclipse included, but unfortunatly the CSS support is rather poor on eclipse (there was a really good plugin but seems to be discontinued). I have tried to use the PHPEclipse but the code completion, especially how it
I think defining locked as a class instance var inside AppController
should solve the warning ?
On 11/9/06, Ismael S. Kafeltz <[EMAIL PROTECTED]> wrote:
>
> Cypher, i think you are right. This should work.
>
> I guess the problem is that you are *extends* the wrong class.
> Did you alter the /lib
I use the Zend Eclipse ( http://www.zend.com/phpide ).
Since I prefer not to have 1 shared Cake framework for all my projects
I haven't really tested the possibility of defining the Cake framework
as a project and then making my projects dependent on the
Cake-project.
But I've seen some tutorial
It is possible that you are suffering 2 problems:
One solution is here:
http://groups.google.com/group/cake-php/browse_thread/thread/f19fe8d0eecabadb/227f8de5ff37a5ad?lnk=gst&q=acm&rnum=3#227f8de5ff37a5ad
Second i discovery my self using Beyond Compare, the file db_acl.sql
whitch contain sql scr
Cypher, i think you are right. This should work.
I guess the problem is that you are *extends* the wrong class.
Did you alter the /libs/controllers/app_control.php file? Or you
created a new one in another place?
--~--~-~--~~~---~--~~
You received this message b
i'm using the cli client in ant:
--~--~-~--~~~---~--~~
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@googlegro
Hi,
> Should I creat a field called order in my, such as topics table?
>
Yes, you should.
What worked for me:
In my view, I have a div with the sortable items:
whatever...
I create the sortable js-code with
sortable('sortlist', array(
Hate to ask a simple question, but perhaps it will help. Did you make
sure that your database host was localhost? Or could you perhaps use
your local ip like 192.181.1.* ? Let us know what you are putting for
your database host.
--~--~-~--~~~---~--~~
You receiv
I found this at
http://www.phpbuilder.com/board/showthread.php?t=10304087 , hope it
helps.
--
From the user comments in the PHP manual for predefined variables
where $HTTP_RAW_POST_DATA is discussed.
It should be noted that $HTTP_RAW_PO
Hi all,
What /exactly/ is the scope being discussed..? The easiest way to make
something not generic/reusable is to make it do more than one thing.
On Nov 8, 4:25 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Wouldn't it be nice... if we had a cake authentication component (like
> othAuth
56 matches
Mail list logo