a quick and dirty solution, add this 3 lines to the bake task in the model
to push the fields (line 746):
$data['useDbConfig'] = $name-useDbConfig;
$data['name'] = $name = $name-name;
} else {
$data['name'] = $name;
}
*
Hello guys,
Cracking my head over this.
I have no problem using the CakeDC search following the example,
however how does one specify that all the search fields in $filterArgs
should be in 'AND' conditions ?
by default it is 'field1' or 'field2' or 'field3', how do I make it
'field1' AND
Hehe, typical case of rtfm Sorry! :)
On Wednesday, March 14, 2012 5:27:31 PM UTC+1, euromark wrote:
http://book.cakephp.org/2.0/en/appendices/2-1-migration-guide.html
Am Mittwoch, 14. März 2012 15:44:03 UTC+1 schrieb Rico:
And /lib/Cake/View/Helper/AppHelper.php too actually
On
?php
App::uses('Xml', 'Utility');
class RssController extends AppController{
var $feed_url = 'http://www..';
function index(){
$xml = Xml::build($this-feed_url);
$parsed_xml = Set::reverse($xml);
return $parsed_xml['rss']['channel']['item'];
}
}
--
Our newest site
someone says del webroot/.htaccss, but i got:
Internal Server Error
apache error is :
[Thu Mar 15 11:10:15 2012] [error] [client 127.0.0.1] Request exceeded
the limit of 10 internal redirects due to probable configuration
error. Use 'LimitInternalRecursion' to increase the limit if
necessary.
I'm also struggling with debugging via xdebug and Eclipse PDT - tried
several links I found via Google but nothing worked so far.
Most likely this is related to fancy URLs as I'm able to debug simple php
pages without problems...
Could someone point me to a working tutorial on how to set up
Hi all.
i'm using TreeBehavior in one of my Models and everything is working ok.
just one question:
generateTreeList returns a list containing ALL the entries in the table.
i want the treeList just for the category with id = 20 and his childrens
how can i do?
--
Our newest site for the
i forgot to say i've already tried the conditions argument but the
function will return just the first layer of results
Il giorno giovedì 15 marzo 2012 16:49:30 UTC+1, Ernesto ha scritto:
Hi all.
i'm using TreeBehavior in one of my Models and everything is working ok.
just one question:
Hi Ernesto,
When you asked your question you expected a solution? Or just you wanted
someone to tell you : I know what is wrong with your code. and then not
telling you anything more.
Because I came here with the same question as you on the beginning and when
I see your second reply
Muka, you are correct, it was just a copy/paste from some of my code and I
changed somethings to Choice but forgot to change the $this-Article
On Wednesday, March 14, 2012 12:57:41 AM UTC-7, muka wrote:
Il 14/03/2012 08:07, andrewperk ha scritto:
Whenever I want to access a tables data from
Hi,
I have a Topic model, which in turn $hasMany Post. In my TopicsController,
I am doing a find() on the Topic ID to retrieve a single topic and then
using Containable to get all the posts for the topic. I would like to use
the Paginate component to limit the number of posts returned when
Thanks to all.
I want to generate reports using PDF and Excel format. Please help me
how can I achieve this.
--
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
with their CakePHP
12 matches
Mail list logo