Hi,
I set-up cake and I have a problem that google can't answer,
I am stuck on this and I can't find an answer.
For http://mysite/users/ It works
For http://mysite/users/add
`Create the class AddController below in file: app/Controller/AddController.php`
But this is a method from Users
Hi,
I set-up cake and I have a problem that google can't answer:
http://mysite/users/add
on this URL: http://mysite/users/
--
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
Make sure you call parent class, If you over-right the `isAuthorized` method.
return parent::isAuthorized($user);
Maybe this helps you,
Cheers
Paul
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
/app/webroot/
Options FollowSymLinks
AllowOverride All
/Directory
/VirtualHost
And mod_rewrite.c is included.
Cheers
On Tue, Jul 3, 2012 at 8:02 PM, Cosmin Paul cosmin.p...@gmail.com wrote:
Hi,
I set-up cake and I have a problem that google can't answer:
http://mysite
Hi,
Did anyone have some problems with debug in cake v.1.3.7 ?
Set: Configure::write('debug', 2);
No debug at all... copy paste cake (v.1.2.6), activated at the next refresh.
I've search the change-log but didn't find something relevant and I don't
have time to debug the framework.
Cheers,
Yap, this is it.
Thank you
Cheers,
Cosmin
On Mon, Mar 7, 2011 at 10:46 PM, Sam Bernard sambern...@gmail.com wrote:
Are you referring to the sql log that used to appear at the bottom of the
page?
According to
This is correct :
$this-paginate('Product');
On Wed, Sep 16, 2009 at 7:10 AM, borcho boris.nenc...@gmail.com wrote:
Hi,
I am new to CakaPHP and I cannot figure out how to paginate products
listed under a category (many to many relationship) and also use
category table fields in the same
') {
$query['order'][$i] = 'RAND()';
}
}
}
return $query;
}
}
}
hth
grigri
On Sep 10, 2:36 pm, Cosmin Paul cosmin.p
I like this,
Thanks you !
On Thu, Sep 10, 2009 at 11:47 AM, WebbedIT p...@webbedit.co.uk wrote:
If you are showing a select list then it seems overkill to also hide a
load of links and add a javascript behaviour to then click on one of
those hidden links.
Just add an observer to the
Because I use the query to mysql for some math.
CakePhp dose't let me use
$paginator-sort('Initial Monthly repayments','initial_monthly_payment');
CODE
php
$initial_monthly_payment = MATH FORMULAS;
/php.
SQL FIELDS QUERY
.
.
$initial_monthly_payment.'` as
My employer wants a drop down for sorting the results instead of links.
I want to do this by launching a js function that make a click on the
appropriate link that is hidden.
It is this the right way to do it ?
And if so, haw can I insert a ID in the a href that $paginator-sort
set on the
For pagination with relationships I use this:
CODE
function ReturnMyArrayForPagination(){
.
.
/* conditional code */
.
return array(
'MortgageDetail' = array(
'limit'= 10,
I have buttons that are a little complicated, like this :
CODE
foreach( arr with buttons ){
p id=mortgage_filter_p_?php echo $name; ?
span class=checkbox chk_unselected id=mortgagesSort_span_?php
echo $name;?/span
input type=checkbox name=morning_dep
Right :), my bad English.
I red the change logs, I will try to talk to him and get some
arguments for his decisions.
Thanks
c05min.
On Fri, Aug 28, 2009 at 3:30 AM, Alexandru Ciobanuics.cake...@gmail.com wrote:
On 8/26/2009 1:27 PM, Cosmin Paul wrote:
Hi,
I am a programmer from a 7 gays
Export from Flash a html page with Flash in it, then paste your code
in other page.
Hope this helps you,
Chears
On Fri, Aug 28, 2009 at 9:45 AM, Matias_castromattias.cas...@gmail.com wrote:
Does anyone know hoy to embed a flash animation (.swf) into a layout??
I can't get html object to
yes, we work with cake for a medium to big size app, and it is OK.
CakePHP is a rapid development framework for PHP that provides an
extensible architecture for developing, maintaining, and deploying
applications. Using commonly known design patterns like MVC and ORM
within the convention over
Check if you call the right model for pagination, or you can have some
vars that takes other values.
On Thu, Aug 27, 2009 at 10:36 PM, MLmlaut...@gmail.com wrote:
Does anyone know how to have multiple blocks (multiple tables for
example) of paginated data on the same page? There seems to be 2
Hi,
This is haw I paginate and it works OK,
I have 3 join tables ( I can set different type of joins ),
Did you understand what is happening ?
PHP CODE
function MyFunctionThatReturnPaginateArrayInfo {
code code code
...
return array(
'MortgageDetail' =
Hi,
I am a programmer from a 7 gays team, and I have recently finisher my module.
When I uploaded my work to stage one server, I have a bug in sql
query generated by cake:
It appends the model name to an alias code
MortgageDetail`.(`interest_only_rate + 0 `) as interest_only_rate,
/code. This is
Make your db schema, and use cake command line tool for a first draft
and admin part, and after that make the front end.
On Wed, Aug 26, 2009 at 3:21 PM, Persivo Cunharicky...@gmail.com wrote:
Hi, people
i wanna show commentaries in my site and i would like be possible
answers them. What i
20 matches
Mail list logo