Hi LikeSoy,
Never used MS Sql, and I wish I could say something more constructive
than 'bummer'.
If MS Sql doesnt understand OFFSET you could either
Based on the pagination settings, retrieve results i - j from the
complete result set of your find all
or
Find the limits of the result set that
Hi Frank,
See the link refering to exactly that from the bakery:
http://bakery.cakephp.org/leafs/view/7
Alternatively view any individual title
http://www.noswad.me.uk/Demo1/Titles/
The code for any demo on my site is available from the demos tab so you
can see the controller and view files.
H
Hi,
In order to evaluate the framework, I have developed the "blog example"
of the Cakephp tutorial using Apache 2.0 + php 4.3.11 on my Desktop.
And I have found that it can save me more time.
Unfortunately, my hosting service work under "Windows + IIS" , so I
made suggested (
define Apache fal
Hi,
I can't give you an estimate, but I can tell you that I've been running
1.2 since weeks and it has felt very stable so far, which is impressive
since there hasn't even been a dev release. However, trac is saying that the dev
release is aimed for the end of this month which is awesome, but
I do not like to set release dates.But lets say sometime before the end of the year...You can use 1.1.x.x now, with cake the upgrade process is minimal.-- /*** @author Larry E. Masters* @var string $userName
* @param string $realName* @returns string aka PhpNut* @access public*/
--~--~-~
Thanks for the reply, John, and sorry if I ask more than simple
question. But I'm really confused how to use Cake correctly and
properly.
I've visited http://cakeforge.org and other places too. I were looking
up some codes or pre built applications, but I didn't know how to
implement it or how to
I have a selectTag with list(for eg names). On changing, I need to call
a url with the name selected.
echo
$html->selectTag('user/name',$allnames,0,$selectAttr=array("onchange"=>"echo
$html->redirect( .)"));
can some one please help me with ths?
Regards,
GS
--~--~-~--~~---
Hello,
I'm interested when Cake 1.2 will be released? Just estimated date.
Asking because I want to start some project and don't want to build it
on the old version.
Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
mike091 wrote:
> Currently have $this->params['data']['Enquiry']['status'] = 'booked';
> in my appointments controller.
>
> I need to change the status field in my enquiries table when a record
> is edited. I can get it saving to a status field in the appointments
> table but not in enquiries.
frocco wrote:
> I want to display two tables on the same page.
> They must both have pagination.
>
> How can I do this with CakePHP?
Here's how I did it (with the current CakePHP 1.1.8.3544 and the latest
pagination component & helper scripts and whatnot from the Bakery).
My AppController cla
Hi Roby.
What you are asking for is nearly a whole application.
One important thing to understand with Cake is that it is a framework for building applications, not an application itself.If you are looking for a prebuilt application you can checkout some of the projects on CakeForge
http://ca
Hello everyone, I'm a new member here and I'm a beginner in PHP and
CakePHP. I want to learn more about CakePHP because I'm going to use it
in my paper. So far, I try to understand the tutorial in CakePHP's
manual but I didn't get it much. I've troubled especially with the
mechanism. So, please he
I don't know also kain, maybe autorender only occurs when the header
sent is a (x)html header? I thought I didn't needed it also. maybe it's
a bug.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
T
I'm curious if there are suggestions for basic strategies in using
Exceptions in Cake. I know that's a very general question but it seems
there is nothing in this group regarding questions except for a few
unanswered questions.
Thanks
--~--~-~--~~~---~--~~
You r
$posts = $this->Post->Comment->findAllByUserId($user_id,
array("DISTINCT Post.id", "Post.title"));
--~--~-~--~~~---~--~~
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@goog
On Oct 18, 2006, at 4:26 PM, mike091 wrote:
>
> Hi,
>
> Have quite a simple question:
>
> Currently have $this->params['data']['Enquiry']['status'] = 'booked';
> in my appointments controller.
>
> I need to change the status field in my enquiries table when a record
> is edited. I can get it s
Hi,
Have quite a simple question:
Currently have $this->params['data']['Enquiry']['status'] = 'booked';
in my appointments controller.
I need to change the status field in my enquiries table when a record
is edited. I can get it saving to a status field in the appointments
table but not in en
Hello,
I want to display two tables on the same page.
They must both have pagination.
How can I do this with CakePHP?
Thanks
Frank
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to thi
I'm wondering if anyone can point out a handy way of using Cake
functions to query for Posts that have Comments with a user_id of x.
Here's a quick sketch of what I'm talking about:
Post
hasMany = 'Comment'
Comment
belongsTo = 'Post','User'
-
My objective is to make a page that has all
scott lewis wrote:
> This far from an ideal solution, but it might be workable...
>
> Schema:
> runs
> idINT
> exec_id INT
> ...
>
> execs
> idINT
>
> exec_type1s
> idINT
> exec_id INT
>
Sonic Baker wrote:
> Woops,
>
> Sorry, forgot to include the link. Here you go:
>
> http://www.architecturejournal.net/2006/issue8/F6_Nordic/default.aspx
>
from that article:
"Development of the Nordic Object/Relational Database Design involved a
year's worth of iterations, a simplified metadata
cool site. Thanks!
On Oct 18, 2:53 pm, "Mikee Freedom" <[EMAIL PROTECTED]> wrote:
> morning mate,
>
> best place to look these days is the bakery:
>
> http://bakery.cakephp.org/articles/view/94
>
> or if you can't find it there try the old wiki
>
> http://wiki.cakephp.org/tutorials:sending_email_
morning mate,
best place to look these days is the bakery:
http://bakery.cakephp.org/articles/view/94
or if you can't find it there try the old wiki
http://wiki.cakephp.org/tutorials:sending_email_with_phpmailer?s=phpmailer
HTH
freedom
On 19/10/06, xhenxhe <[EMAIL PROTECTED]> wrote:
>
> I'm
I'm really new to Cake. I use phpMailer for sending mail. I was
wondering if it has been integrated into cake in anyway, or how I would
go about integrating it?
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
Couldnt you just encrypt the App related files (objects, controllers
and views etc.) which you created within the Cake framework specific to
your application? At least then there is no copyright issues as it is
your code.
That way the client simply cant modify the application you have built
for
Thank you guys for your precisions, I've modified the document, thanks
to you.
I'll will let you know when the benchmark is published!
Jérémy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To po
On 10/18/06, nate <[EMAIL PROTECTED]> wrote:
>
> Just to clarify:
>
> Chris, yes you're right, using an underscore is just a convention, and
> while we can't disable access to object methods that begin with an
> underscore from being accessed by you within your own application code,
> it is baked
Well, I don't want to do *all* your work for you, but this may be of
help:
http://cake.insertdesignhere.com/files/cakephp.xls
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group,
Just to clarify:
Chris, yes you're right, using an underscore is just a convention, and
while we can't disable access to object methods that begin with an
underscore from being accessed by you within your own application code,
it is baked into the Dispatcher to disallow calling controller methods
https://trac.cakephp.org/browser/branches/1.2.x.x/cake/libs/controller/controller.php#L943
A simple usage example might look something like this:
class PostsController extends AppController {
var $paginate = array(
"order" => "Post.created", "limit" => 20, "conditions" =>
array("pub
It was exactly what i was looking for...
Thank you, it worked.
I wish this information was documented in cake-api =/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send em
First off, CakePHP _HAS_ code generation (see the bake script).
I believe that skills needed should be OO and general knowledge about
PHP.
Ajax / Javascript FX requires an external library to be downloaded and
extracted to the js folder on the web root dir. You already have
built-in functions th
Nah, $page was getting passed ... I tracked it all the way into the db
libraries and realized the problem:
I'm using SQL Server, which doesn't use OFFSET and has no real
equivalent function. The dbo_mssql library translates the request as
TOP, which returns the first 10, 20 or whatever.
I guess
Recursive 0 still includes belongsTo and hasOne relationships (IIRC).
set recursive to -1 to remove all associations and only query the
direct model with no joins.
HTH,
AD7six
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
Hi 2000Man,
This may serve as a reasonable start for such functionality:
http://bin.cakephp.org/view/16387673
HTH,
AD7six
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, s
Hello people.
I was wondering about this piece of code:
$aux = $this->PessoaFisica->find("PessoaFisica.cpf =
'{$this->data['Form']['cpf']}'", array('cpf'), null, 0);
pr($aux);
which outputs this:
Array
(
[PessoaFisica] => Array
(
[cpf] => 123
)
)
Fine, but my
Hello Leo,
What about using the query in a method inside your model ?
Sten
--~--~-~--~~~---~--~~
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 unsubscr
Dave asked:
> But is there some way to have a subdirectory in *both* repositories?
You may like to try git for local development and see whether its
svnimport tool pulling from Cake's SVN works well for you. I feel git
really is much better than svn at handling multi-centred development.
> It
This is actually a continuation of:
http://groups-beta.google.com/group/cake-php/browse_thread/thread/ed9d441a4b9141ef/bdac07fb5959629c
I see how I can use svn:externals to have a subdirectory (i.e. cake)
point to another repository while keeping my own files versioned in my
own repository. But i
Hi Bakers,
Does anyone has a working example for rico livegrid. I am trying to
implement it but I am not a js programmer and wondering how other
bakers have integrated it with CakePHP
Regards
--~--~-~--~~~---~--~~
You received this message because you are subscr
MJ Ray wrote:
> Can you publish it in a web format (html, text, PDF, even CSV...) please?
Ok, here it is :
http://www.jchatard.info/cakephp.html
Jérémy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" gr
Hi there,
When I create a FooController in Cake which extends AppController then,
when both have a $uses array specified, these two $uses are merged by
Cake.
But when I have a FooController extending FrontController which itself
extends AppController and I specify a $uses for all three, only the
Jérémy wrote:
> You can find the sheet at http://www.jchatard.info/cakephp.xls
Can you publish it in a web format (html, text, PDF, even CSV...) please?
Thanks,
--
MJ Ray <[EMAIL PROTECTED]> www.ttllp.co.uk +44-870-4321-9-10
Web, localisation, koha, databases, GNU/Linux and statistics.
Regist
just to clarify, if autorender is set to true $this->render() can be
skipped in default installations?
or at least this is the behaviour I've always encountered; why he needs
a render() ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
44 matches
Mail list logo