OK - just realised what the problem was. I restructured a legacy database in
accordance with Cake conventions, but when I added the "child" columns, I
simply appended "_id" to the parent table name, instead of "singularising"
it, e.g. using "part_id" to reference parts.id. All now fine!
--
View
Really nice work, I got it working today. The feature of gradually moving
from .ctp to .mustache files is great!
The limitations are a little bit annoying as you mentioned... to create a
'helper' .php file just to get default functions working correctly (methods
css, script etc.).
*Is there a
Hello, I just wondering how can a plugin modified some files. Here is the
case. Let's say I have menu.ctp and have a form (form A). Then I build a
plugin. How can I make this plugin insert new menus to the current file
(menu.ctp)? Then, how can I make this plugin to add some additional fields
t
I have a layered image on my webpage, made up of small images layered onto
a larger one.
Is it possible to merge/flatten the images so that I am just left with one
that can be downloaded? If so, how would I go about it?
Thanks,
Tom
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Hi, I just installed Cakephp on a shared host at a2hosting.
How do I set the root directory in app/index.php ??
/**
* Get Cake's root directory
*/
define('APP_DIR', 'app');
define('DS', DIRECTORY_SEPARATOR);
define('ROOT', dirname(__FILE__));
define('WEBROOT_DIR', 'webroot');
define('WWW_ROO
Ive added unix_socket to my database.php
'unix_socket' => '8973',
but Im still getting
Cake is NOT able to connect to the database.
Database connection "Mysql" is missing, or could not be created.
SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket
'8973' (2)
any other
Cake is NOT able to connect to the database.
Database connection "Mysql" is missing, or could not be created.
SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket
'' (2)
I have a cake instance up on heroku that uses the amazon servers, and so I
refected the server in da
Thanks Stork - looks good to me - will give it a try - thanks very much.
Tom
On Tuesday, 3 July 2012 17:26:25 UTC+1, stork wrote:
>
> Just change last line of APP/webroot/index.php and call dispatcher with
> your custom request class.
>
> #APP/Lib/Network/AppRequest.php
> App:
hanges there? I
> think I remeber doing something like this with the Dispatcher and cake
> automagically used the one from the app. The problem I had back then was
> that I had to copy the whole class instead of just putting an extended
> class there.
>
> On 07/03/2012 03:01 PM,
ake/Network/CakeRequest.php - however, I know
it is bad practice to modify files in Lib as changes will be overridden if
CakePHP is upgraded.
Is there a way to override CakeRequest (and for that matter any other Lib
file) at the App level?
Thanks,
Tom
--
Our newest site for the commun
rs when using a path to the
specific plugin directory).
(P.s. This is cake version 2.1)
Tom
--
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 related questions
quot; and "admin_add". Is it possible to set the layout
for the respective views to one from my admin plugin?
For example, Plugin 1 -> admin_add action uses the default layout from
my "admin" plugin and renders the admin_add view inside it.
Tom
--
Our newest site for t
://github.com/cakephp/cakephp/commit/3f984b68facd9ba3c1eaa49d87d2bd115a87ce61
Thanks
Mark Tom Sawyer
m...@tomsawyer.com.br
--
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 related questio
Ok, interesting: the problem appears to be related to the types of joins I
have.
There are three tables: FacetedItem, Facet and FacetedItemsFacet. You can
obviously see that this is a HABTM situation, however, because the nexus of
Facets and Items is where the value lies, I have to access the
Thanks for your reply. I had an inkling it was something like that, but the
Model's already in use elsewhere. So I'm not sure why it wouldn't be able to
find it. Do you suppose the fact that the Model is sitting in a subdirectory
of the /models directory is causing an issue?
Anyway, including i
Ok, here's what I've done. I've used PHPs get_class_methods() function to
list out the methods available. Here's what's strange: I get two different
results from two different contexts.
When I use my Component in a standard HTTP call, I get a list that includes
my functions:
[0] => getItem
Can someone help me out with this? This seems to be a scoping issue,
somehow.
For example, when I had these two values echoed out, I get true for the
function I created, but false for the AppModel subquery function:
$subquery= method_exists($this->fi, 'subquery');
$userdefined
ive functionality to warrant a special helper
like paginate. I suppose it would extend paginate. Additionally
searches are, I suspect, one of the areas in which DBs differ
significantly from one another.
I might try to implement these additions, but I wanted to get feedback
first to make sure:
a)
Here's the thing: these files and folders are supposed to be managed by
Cake. I'm not required to *create* the directories, other than making sure
that the app/tmp/cache directory is created. All of the basic caching
directories are there and they're all set to 777. The directories that come
pr
And yes, by the way: I've attempted to clear those files. Actually, the
error seems to be indicating that the CakePHP system was unable to create
the folders (they do not, in fact, exist).
Seems like, beyond my problem, a patch should be developed to work around
this problem: if there is a prob
This isn't enough information to gaurantee a correct response. However,
offhand, I'd say that you've got your ACLs blocking both the action that is
the initial request AND the login function. Hence, with
$this->redirect($this->referrer()), you end up ping-ponging back and forth
until the server
Bumpty-bump. Anybody got any guesses?
--
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 related questions.
To unsubscribe from this group, send email to
cake-p
Yeah, I actually wrote a script to open a random file and output the results
elsewhere on the server, just to be sure this wasn't the case. It worked
fine.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.c
Apache/2.2.8 (Ubuntu) DAV/2 PHP/5.2.4-2ubuntu5.17 with Suhosin-Patch
Cake 1.3.11
--
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 related questions.
To unsubs
Sorry, no. That's just me editing out the entire full path to the dir for
the sake of security.
--
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 related quest
Hmm... No luck, any other ideas? I've been using CakePHP for over a year and
never had this problem. I upgraded to the latest version of CakePHP, maybe
that's the problem, somehow? But I don't have a similar problem on my dev
server, so that's strange.
--
Our newest site for the community: Cak
Thank you for your reply. I'm going to see how that works.
--
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 related questions.
To unsubscribe from this group,
I guess I'm a bit confused as to why a flamer's rant against CakePHP seems
more important to the community here than answering a question? Where have
all the admins gone?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions si
Ok, I have two separate Cake applications, both experiencing this error. And
in the one case, its a brand-new installation. I quite literally just
uploaded the files and setup permissions on the tmp directory.
I'm running an Ubuntu Linux server. The other installation has been running
without i
Bumps. Can anybody help me out with 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 related questions.
To unsubscribe from this group, send email to
ca
I am calling a Model inside of a Component to use as a faceted search
Component. However, in two different contexts, I'm getting widely different
results.
The function seems to work fine when I'm loading a page, however, when using
the AJAX call, I'm getting the "You have an error in your SQL s
I'm a bit confused, of course...
I'm trying to use a Model in a Component, so I'm registering it like this:
/*
// __facetConditions: Assembles subqueries for each facet/value pair
// @var arr $facets: Array of facet/value pair arrays
// @data arr $conditions: Model-usable array of subqueries.
*/
p
php
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> On 2 Mar 2011, at 17:10, Tom van den Berk wrote:
>
> > This is the file: invoiceline.php
>
> > On 2 mrt, 18:07, Jeremy Burns | Class Outfit
> >
This is the file: invoiceline.php
On 2 mrt, 18:07, Jeremy Burns | Class Outfit
wrote:
> What is the name of the model file?
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakeph
This is the function call:
$this -> InvoiceLine -> saveValue($invoiceId, $key, $value);
This is the MODEL:
array
(
'className' => 'Invoice',
'foreignKey' => 'invoice_id'
)
);
public function saveValue($invoiceI
If you would have read the question properly, you would have known the
function is of no consequence.
The fact that the function name is passed as SQL is. The function is
never even reached because a die();
in the first line has no effect.
If something is not clear, please ask me in a normally, or
Hello Everybody,
I am having a problem with CakePHP models. I have several in use but
only one gives me an error when i add a function and call it from a
controller. I have a model called Invoice with a saveValue function
which works like a charm. I also have model with the same function but
this
Create a database table with the correct fields, perhaps called
'Settings'.
You can then create (or bake) a model and controller to go with the
table.
The controller only needs an edit action. The action should get the id
for the model from the applications configuration, rather than a
variable p
> If Controller->save($this->data) fails, how can I determine what happened?
I meant Model->save() fails...
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Group
I am still new to CakePHP and I am now debugging an app I created a while
ago. If Controller->save($this->data) fails, how can I determine what
happened? Is there an error code I can get to somehow? I suspect data is
missing that is required not null in the database...
Check out the new CakePHP
Thanks for the help everyone. The problem was of course really simple.
Totally forgot to add this to my layout...
I was thinking the issue was bigger than it actually was.
How embarrassing!
On Oct 24, 4:13 pm, Tom wrote:
> Day 3 on using CakePhp and I like it. But I am running into
Day 3 on using CakePhp and I like it. But I am running into the
problem with generating static pages.
I have an about page represented by about.ctp
The page will render and will execute this php code:
set("title_for_layout", "My Title"); ?>
But If I add any other html in this file nothing shows
Please help!
I want to update vatnumber after selecting client but don't work
... tests_controler.php
---
function update_input()
{
$xvalue = '123';
$this->set('xvalue', $xvalue);
$this->render('/tests/ajax_value','ajax');
}
... /tests/form_test.ctp
-
Please help,
I want to observefield and update multipe divs update but don't now
how!
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To po
I got error in this code (cakePHP 1.3):
$options = $this->Html->link( $this->Html->image("cal.png"),
'cal.png',
array('onClick'=>"return showCalendar('".
$htmlAttributes['id']."', '".$this->format."'); return false;"),
array('escape'=>false));
view
h4>
label('category_id',
__('Category', true).':*');?>
input('category_id',
array('label' => false, 'options' => $categories, 'empty' => '--' ));?
>
Hi,
I'm looking for a way to send a notification to my address when a
fatal error occurs during execution. Is there an established way
to do it with CakePHP?
It is very useful to get notified automatically if the database
goes down or there is a serious error somewhere in the code (a
certain cond
I can't find bug in this source code? Help!
/Nothing happens when I select a client/
Thanks.
---
/views/elements/activity_filter.ctp
---
Select Activities
create('Activity', array('type' => 'get', 'action'
=> 'select')); ?>
input('
I wrote something like this code:
class ActivitiesController extends AppController {
var $name = 'Activities';
function index(){
$year = 2009;
$month = 12;
$day = 15;
}
function add(){
}
}
how ca
I don't know how to pass value index -> edit -> index ->edit
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send e
How to set (where?), read and change global variable in controllers?
Pleas help!
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post
Hi, I need help.
How to view and select only projects for selected client?
CREATE TABLE IF NOT EXISTS `projects` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(200) NOT NULL,
`client_id` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
CREATE TABLE IF N
to CakePHP 1.2 RC2 or something and try the
same code again and see what happens...
Tom Chapin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php
the checkbox but i don't want to do this if $out is at the end by
design and this will break something. I have had no issues so far but
this may break somethign i have not come across yet.
I am using version 1.2.0.7296 RC2
Thanks,
Tom
[EMAIL PROTECTED]:~/jobzone$ git diff cake/libs/view/helpers/
How can i read from the aroaco table values associated with an
aro(aco)?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe
e, but for some reason, none of them had any
files available to download. Strange.
-Tom Chapin
On Sep 30, 6:17 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
> Try Neutrino CMS its fantasic; that uses auth. I downloaded some time ago; I
> have not used it on any projects though;
se or improve on, I think it would be so
useful. I have a number of projects that I've dreamed up and have half-
built, and if I could just plug in a working user registration/login/
management piece, I could practically launch 3 different web apps
right now.
Any ideas?
Thanks,
Tom
Sure that's not the problem here.
I don't know how to get back my array in my JQuery function (in my JS
file).
Something that might looklike this :
{name:'!', width:120, editable: true, edittype: "select", editoptions:
{value:$Array}}
I don't know the syntaxis
--~--~-~--~~
Thanx, but i would like to use it with Jquery.
I have a filled array in php, and in a js file i've got :
jQuery(document).ready(
function()
{
var lastsel;
jQuery("#list2").jqGrid(
{
url:'/comms/grid',
datatype: "json",
colNames:['!'
Hi, i would like to know how to transfer an array in PHP to JSON ? and
see it with JSON
--~--~-~--~~~---~--~~
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
meter in the
Routes.connect?
My regexp are pretty good so not too worried about that.
Cheers
Tom
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send em
use setSource to point to the user table and use it with the
useModel of the AuthComponent ?
Thanks,
/Tom
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send emai
The problem is more cosmetic where I have a line box around the
errors. I need to be able to detect errors before I use form->error()
otherwise I have a visible box with no content. I am hoping I missed
something in API doc that behave like the old
HtmlHelper::validateErrors.
--~--~-~--~--
tly exist. Can anyone suggest a
clean way of doing this ?
i.e
if(form has errors) {
if($form->isFieldError(...)
echo $form->error(...)
..
}
Thanks,
Tom
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ca
.APP_DIR.'/'.$webrootDirName.'/';
The question is what else this will break and if there is no
workaround without hacking the core - this must be a common problem ?
Thanks for any help,
Tom
--~--~-~--~~~---~--~~
You received this message becaus
Two new sites added:
Property rental - ownersapartments.co.uk - cakephp 1.1
Alloy wheels - swtyres.co.uk - cakephp 1.2
Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild
- or copy & paste it into your browser's address bar if that doesn't
work.
--~--~-~--~
her services to get a more complete picture, but it just took
some time to figure out what was causing javascript problems.
On Jan 25, 4:05 am, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
> Hi Tom,
>
> That good work indeed very expansive too.
>
> Seems to not be worki
Yep. Trying to get help from the jQuery folks, it's mostly a JS
problem.
Should try to get this done before my classes wind up.
On Jan 22, 4:21 am, "Eric C Blount" <[EMAIL PROTECTED]> wrote:
> It blew up.
>
> 1) Not typing anything in the search box and submitting yields several
> error messages
ckbox...
MusicBrainz... Amazon, iTunes, etc.
Check it out. It might blow up, tell me if it does.
Tom
--~--~-~--~~~---~--~~
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@g
ng is totally stable & flaw-free, I'd like to start working
with export, more advanced features, badges, etc.
Tom
http://www.workingidea.com/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP&q
Wait - maybe? Ob_clean in the controller seems to do the trick.
Thanks!
On Oct 12, 12:29 pm, "tom" <[EMAIL PROTECTED]> wrote:
> Ugh, I don't know about this. I've tried ob_clean() at the start of the
> template, and disabling all helpers, components, and models
a extra line feed
> somewhere, but tracking it down might be very difficult. They are
> somewhere, I wonder if someone has any tricks to find them? some
> awk/sed magician in the house perhaps
>
> On 10/12/06, tom <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> >
Tried both - no errors being reported, and deleting the contents of TMP
makes no difference. Still two lines of whitespace.
On Oct 12, 11:26 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 10/12/06, tom <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hmm.. no whi
Not sure what you mean?
On Oct 12, 11:20 am, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> clear the buffer first?
>
> On 10/12/06, tom <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Hmm.. no whitespace in any of the default helpers or components, o
11:01 am, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
> Right but it could be in a helper, a component, a config file, a
>
> you might also try using output control
> buffershttp://us2.php.net/manual/en/ref.outcontrol.php
>
> On 10/12/06, tom <[EMAIL PROTE
Anywhere else whitespace is already present? Where's this ajax layout
anyway?
On Oct 12, 4:30 am, "meek" <[EMAIL PROTECTED]> wrote:
> Looking at the image source, I'm pretty sure there's some extra
> whitespace in there. - two newlines before the 'PNG' is outputted.
> Maybe you have some newlines
I had noticed that before and checked: no newlines before
On Oct 12, 4:30 am, "meek" <[EMAIL PROTECTED]> wrote:
> Looking at the image source, I'm pretty sure there's some extra
> whitespace in there. - two newlines before the 'PNG' is outputted.
> Maybe you have some newlines outwith the tags?
The tutorial is at http://wiki.cakephp.org/tutorials:dynamic-image
On Oct 12, 3:10 am, "BlenderStyle" <[EMAIL PROTECTED]> wrote:
> Can you post the link to the dynamic images URL please?
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
Good catch, but I just set DEBUG to 0, so no comment now, and there's
still no image.
On Oct 12, 2:21 am, "AD7six" <[EMAIL PROTECTED]> wrote:
> look at the page source: there is a html comment for the render time
> which makes it an invalid png.
>
> That comment is only present if you are debuggi
I'm trying to display a png image - a sparkline, in this case, and it
just doesn't work. I've tried following the dynamic images tutorial
word-for-word, with no luck either. The result is here:
http://dev.we-run.com/runs/graph . Any ideas?
I can't quite figure out what's going on.
Thanks.
--~-
Also, calculation of pace, distance, and duration are now actually
correct!
--~--~-~--~~~---~--~~
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 unsubsc
I added a day of 'slack' so that shouldn't happen again (although I
haven't been able to replicate it exactly)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to c
Hmm... perhaps something with the timezone (runs made in the future are
automatically called "Plans." I'll probably change this behavior)
I'll try to get that sorted out tommorrow.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
This now has a friendly confirmation message & a link to log in.
--~--~-~--~~~---~--~~
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 t
#1 is fixed...
--~--~-~--~~~---~--~~
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 PROTECTED]
For mor
Hah, yeah, a bit of debugging still left in there. And you know that
all the menu options are still available after you log in... it just
doesn't have a friendly "Account Confirmed" message right now.
Thanks for testing!
--~--~-~--~~~---~--~~
You received this me
er in this thread or through the form on the
website. I really, really appreciate any comments, bug reports, and
anything.
Thanks,
Tom
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
T
I've also updated to the latest stable just to see that wasn't the
problem.
--~--~-~--~~~---~--~~
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 unsubsc
dumping $this->data at the last possible step (beforeSave()) gives this
array:
Array
(
[User] => Array
(
[first_name] => Jonny
[last_name] => Greenwood
[location] => London
[email] => [EMAIL PROTECTED]
[password] => 10f507e71
Okay, so I'm running at debug level 2, and dumping $this with every
pageload, and validating the data before calling User->save(), but it
still isn't working. Any wisdom here?
if($this->User->validates($this->data))
{
echo "validates!";
//print
Hi,
Over at the good ol' weblog I've posted the quick instructions for
getting Sparklines and CakePHP to work together:
http://notes.we-run.com/sparklines-in-cakephp . If anyone has knowledge
as far as caching, that might be useful (will it handle images)?
Otherwise, check it out.
--~--~--
Yeah, I was going to post it on my in-progress blog (
http://notes.we-run.com ) but TXP was messing up, and then as a
snippet, and the registration process was taking a while. I'll post it
elsewhere soon.
--~--~-~--~~~---~--~~
You received this message because you
It's not public yet. I'm writing an online running log, which will take
a month or more to get production-read.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to
Quite a few of the things I expected to be very difficult with CakePHP
have actually been "a breeze." Well, not a breeze, but doable. Anyway,
no fanfare. Here's how to integrate mapping with your application.
Add the data fields
I'd recommend fields called "latitude" and "longitude," of the type
Sat, 20 May 2006 19:05:03 -0700 (PDT)
X-Google-Token: Q-qongwAAADg7nf6g5qoBqWWWNwSJmzr
Received: from 71.1.171.195 by g10g2000cwb.googlegroups.com with HTTP;
Sun, 21 May 2006 02:05:03 + (UTC)
From: "tom" <[EMAIL PROTECTED]>
To: "Cake PHP"
Subject: Outputting Im
Is there a way to debug SQL queries anywhere?
--~--~-~--~~~---~--~~
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 ema
'dependent'=> false,
'foreignKey' => 'place_id'
)
);
$this->set('places', $this->Run->Place->generateList());
$this->set(
Wait, so do you call generateList() on the model that you're using, or
the model which it is associated with?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to ca
Hi, I'm working on making a nice input field for a certain Model, and
it has a hasOne association to another type of data (and vice versa,
that data has a belongsTo relationship). Is there a quick way to make
that nice dropdown menu that the scaffolding provides? Like, where the
values of the asso
Also, urls on the Manual page are changing... they should probably be
static.
--~--~-~--~~~---~--~~
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 unsub
1 - 100 of 105 matches
Mail list logo