ld become
controller->usertype_index
but i'm noticing that the originally view gets called and the newly
modified action gets called without function parameters.
I'm assuming i'm not using this as intended, but wantd to see if
anyone else i
intends to render
> (I think the render() function might be the one to set that).
>
> On Mar 26, 9:10 am, Dan <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I'd like to change the action on the fly on a per user type basis - I
> > don't want to use
Games HABTM Categories
I need to $this->paginate('Game'); where Category.name = 'puzzle'
Is this possible? Tried using bindModel but can't figure it out.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP"
Thanks for the note but I can't get conditions to work because it's a
HABTM relationship.
I tried
$this->paginate('Game', "Category.name = 'puzzle'");
but it gives me
SQL Error: 1054: Unknown column 'Category.id' in 'where clause'
The query doesn't join Category to Game so it has no idea what
I think you need to use findAll not findBy
$this->set('articles', $this->Category->findAll('Category',
"Category.slug IN 'tutorials', 'photoshop'"));
not sure of the exact syntax so the above probably doesn't work but I
believe findAll is what you're looking for.
--~--~-~--~~---
I figured it out
$this->Game->bindModel(
array('hasOne' => array(
'CategoriesGame' => array(
'className' => 'CategoriesGame'
)
)),
Hi,
bit of a noob so this could well be my problem (isn't it always ;)
I'm doing a little date comparison such as you suggested
> 2)
> $conditions['Post.created'] = 'BETWEEN 2007-02-01 AND 2007-02-28';
> (iirc)
but not getting any results. So I dumped out the contents of the cake
generated S
Hi,
Bit of a noob so this could well be my problem ;)
I'm doing a little date comparison, as suggested on previous thread:
> 2)
> $conditions['Post.created'] = 'BETWEEN 2007-02-01 AND 2007-02-28';
> (iirc)
I'm doing exactly this but not getting any results. So I dumped out
the contents of the
2¢ for you if you are looking for the quick and easy fix for a low
budget project - look into Joomla / VirtueMart.
Zen cart can be a bit of a pain to work with and the community is not
quite as helpful as the Joomla / VirtuMart one.
- Dan.
On 01/04/2007, at 10:21 PM, keymaster wrote:
>
HI, this is a little strange.
Am using latest ver of firefox on XP.
I've got a div that is being generated by an ajax call, only depending
on which way I do it, the content's hrefs don't work.
If I generate it using an automatic javascript call the links are
dead, but if I generate it from a li
Okay, I'm the dummy!
I did not include {evalScripts:true} within the Ajax.Updater from
prototype.js.
Probably apparent what including it does to the dynamic content
*blush*
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hi,
At a loss on this one, I'm doing the following and the save is
successfull but it's creating 2 extra 'blank' rows each time in the
table
$this->Modelname->id = $id;
$this->Modelname->saveField('fieldname','data');
saves fine, but then creates 2 blank items in the table, each a few
seconds a
I've encountered major problem on one of our applications. Cake is
taking a very long time creating the resulting data array from a DB
query. Here's the scenario:
Models: Order has many OrderLineItem
Data: About 2800 Orders, each with one OrderLineItem
This is part of a function in the Order mod
On Jan 16, 4:57 pm, Miles J wrote:
> Why do you even need to grab 2800?
I need to load them to generate order statistics. Another reason would
be for a CSV export. 2800 is very small. We're in the process of
developing an app that could have hundreds of thousands of rows in
multiple tables with
No one has feedback on this? It seems like a MAJOR issue if you can't
load more than a few thousand rows from "has many" relationship tables.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to
Thanks for the replies and suggestions everyone. When I have a chance
I will dig deeper into this. I've implemented a workaround that is
fine for now. I was mainly curious if this was a known issue or just
poor implementation on my part. Pete's suggestion may be the solution,
I'll know after I try
I thought of a different way I could do ratings, I'm pretty new to
CakePHP and I'm not sure if it would be better.
I have users and games. I was going to have a ratings table, users
hasmany ratings and games hasmany ratings. In the ratings table I
would store what they rated the game. I want to
I'm using a view called 'www' to house the public pages
and using a routeing config to push the user there.
Is this an okay way to go?
Many thanks
Dan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
Hi Kevin,
Just to answer you before delving into clemos answer -which looks like
the right way ;)
"I'm not quite sure what you're doing exactly. "
That makes two of us ;)
" You have a view called 'www' "
Yep! Named just because is the public web folder for the site...at the
moment the www vie
Thanks Clemos!
That's pretty much what I've been aiming for ;)
Many thanks
On Feb 1, 5:20 pm, clemos <[EMAIL PROTECTED]> wrote:
> hi Dan
>
> you should start from here:http://manual.cakephp.org/chapter/configuration
> especially
> "Section 4 Advanced Rout
Hi,
I'm getting an "Undefined property" notice when using the standard
imap functions - specifically when I do
[snip]
$struct = imap_fetchstructure($mbox, $mid);
$parts = $struct->parts;
[/snip]
I'm guessing it's something trivial and a result of cake have a higher
warning notice than my previ
Hi
developing a very simple webmail app in cake and am having trouble
with the association between the MailMessage model and it's related
sender's Contact model.
I want to relate the MailMessage as 'belongsTo' Contact via the
MailMessage and Contacts email field - only I can't seem to work out
h
Doh! Found the answer in another thread - wasn't immediately clear in
the over docs but that's probably me.
setting
var $primayKey = 'override_fieldname';
will let you do just that :)
On Feb 11, 7:05 pm, "Dan" <[EMAIL PROTECTED]> wrote:
> Hi
>
>
Here is the code:
Rally->id = $id;
$this->set('rally', $this->Rally->read());
}
}
?>
Even though I've specified the primaryKey variable, I still get an
error due to the where clause looking for the field name "id" rather
than "rally_id".
Check out the new CakePHP Question
Alright, I got something working:
Model
Controller
class ProjectsController extends AppController {
var $name = 'Projects';
function manage($id=0){
$this->Project->id = $id;
$this->set('project', $this->Project->read());
}
}
?>
View
".$p
For this example, I'll be using the following table name: Rallies.
It's primary key is "rally_id".
Here's the model that works:
class Rally extends AppModel {
var $name = 'Rally';
var $primaryKey = 'rally_id';
}
However, I initially created this model:
class Rallies extends AppModel {
Hi,
I am trying out CakePHP on an existing (and messy) website to see if
it is going to be beneficial to use it for the new features from now
on. I have been creating a test model that allows admin to search
through users based on various fields (userId, name, email address,
orderId).
I have 3 ta
Structure:
Projects
- project_id
- project_name
Contacts
- contact_id
- contact_name
Contacts_Projects
- project_id
- contact_id
When reading the Cookbook, in a HABTM setting, I should add an ID
field to the Contacts_Projects table. Wouldn't this field enable the
possibility of having duplicate
On Oct 27, 3:07 pm, cricket wrote:
> On Wed, Oct 27, 2010 at 8:07 AM, Dan wrote:
> > Structure:
>
> > Projects
> > - project_id
> > - project_name
>
> > Contacts
> > - contact_id
> > - contact_name
>
> > Contacts_Projects
> > -
On Oct 27, 4:20 pm, Carlos Lavin wrote:
> It is "standard". However, CakePHP isn't built to manage multi-column PK's,
> always single columned
>
> 2010/10/27 Dan
>
>
>
> > On Oct 27, 3:07 pm, cricket wrote:
> > > On Wed, Oct 27, 2010 at 8:
I guess I had to use print_r($this->data) instead of the debugger.
On Oct 28, 8:24 am, Dan wrote:
> On Oct 27, 4:20 pm, Carlos Lavin wrote:
>
>
>
> > It is "standard". However, CakePHP isn't built to manage multi-column PK's,
> > always single colu
I'm doing this:
echo $this->element('sql_dump');
In the where clause of one of the statements, I have this:
ON ("ClientsProjects"."project_id" = '5' AND
"ClientsProjects"."contact_id" = "Contact"."contact_id")
I've searched my entire code base and cannot for the life of me find
where the hard co
I forgot to mention that I'm doing a find('list', $conditions).
Conditions do not contain any reference to an ID being set to 5. The
conditions is an 'OR' with multiple like statements.
On Nov 8, 10:20 pm, Dan wrote:
> I'm doing this:
> echo $this->element(
Basically, can containable work without having relationships
specified? Or does containable rely on those relationships?
In some tutorials, they specify to use recursive = -1 and then
containable to get more optimized SQL. I can't help but think, what's
the point specifying the relationships??
Ch
late models) and
> although not a Cake requirement I'd say it is paramount from a performance
> point of view in the database.
>
> Jeremy Burns
> Class Outfit
>
> jeremybu...@classoutfit.comhttp://www.classoutfit.com
>
> On 18 Nov 2010, at 12:29, Dan wrote:
>
>
'ProfileDataType'
> > )
> > )
> > )
> > )
> > );
>
> > Happy to be corrected, but I think recursion is redundant when using
> > contain, so n
Simply include your *.js in the layout - $html->script('name_here') -
and you're done for the jQuery stuff.
The other thing would be to create an ajax layout and assign it to the
proper controller function:
function something(){
var $layout = 'my_ajax_layout.ctp';
}
The layouts are in the app
I'm looking at running a custom parametrized query. Here's my test
model:
class Project extends AppModel {
var $name = 'Project';
var $primaryKey = 'project_id';
function testInClause(){
$sql = <
m. If it
> does, though, I'd think that probably should be:
>
> $params = array(1,2) ;
>
> On Fri, Nov 19, 2010 at 11:49 AM, Dan wrote:
> > I'm looking at running a custom parametrized query. Here's my test
> > model:
>
> > class Project extends AppM
And from the documentation, the params aren't sanitized since I'm not
using Cake's ORM?! Anyway to get the Pg object and prepare the
statement instead?
On Nov 19, 1:26 pm, Dan wrote:
> I figured passing an array for one of the parameters would do the
> trick, but alas :)
&
Here is some code:
Model:
class Project extends AppModel {
var $name = 'Project';
var $primaryKey = 'project_id';
function customFunction($id=0){
$sql = "custom sql... where project_id = ?";
$params = array( customValidation($id) );
So far, I'm simply doing this:
$myarr = $this->query($sql, $params, false);
return $myarr[0];
I have to figure out what to do when there are no records returned.
The index is wrong when that happens.
On Dec 23, 2:50 pm, cricket wrote:
> On Thu, Dec 23, 2010 at 8:38 AM, Dan wrote:
I thought I understood the advanced configuration of CakePHP...
however, I keep getting the error stated at the bottom of this
email...
Cake core: c:\cake\
The rest: c:\Apache2.2\htdocs\app
My config file:
/**
* The full path to the directory which holds "app", WITHOUT a
trailing DS.
*
*/
Always upgrade on a development server and test first. Upgrading can
break things you wouldn't expect. For example, the recent change of
the alphanumeric validation rule to support i18l characters broke the
automatic Javascript error checking I use (the new regex isn't valid
in JS). Instead of ove
r, and call Content->Contain('Score.user_id =
$user_id')
3) Use bindModel(...) to add the association to the Content model in
the controllers that use it
Is there a better way I should be going about this?
Thanks,
Dan
--~--~-~--~~~---~--~~
You received
Hello,
I'm trying to find a way to determine if a route prefix will be used for a
given url. The url could be a string (like /myApp/admin/Posts/delete/3) or
an array of options, like array('controller'=>'Posts', 'action'=>'delete, 3,
'admin'=>TRUE).
I found that Router::url($the_given_url) wil
Thanks everyone. I already tried Router::parse, but it doesn't show me a
"prefix".
In my case, I have this array for my url : array('admin' => TRUE, 'action'
=> 'edit', $picture['Picture']['id'])
If I use it with $this->Html->link, I can see that the url : is
http://127.0.0.1/testcake/admin/pi
I just found the solution. So for those who would have the same problem, I
used also the Router method normalize.
So I chain Router::parse(Router::normalize(Router::url($array_url))).
The result is now :
*array*
'controller' => string 'pictures' *(length=8)*
'action' => string 'edit' *(lengt
I would like to write a Helper which would check if a given link is
authorized for the current user.
I'm using CakePHP 2.0. I'm using the AuthComponent with controller
authorization. So my authorization logic goes into isAuthorized callbacks.
The idea would be to have a helper used in this mann
We're in the process of upgrading our existing 1.3 install to 2.0.
After running the upgrade shell, I got this error when trying to load
the main page:
Fatal error: Cannot redeclare config() in /Applications/MAMP/htdocs/
rdi_dev/lib/Cake/basics.php on line 43
When trying to bake, I get the follow
Hi, I need some help...
I have this form with 3 fields:
echo $this->Form->input('visit_type_id', array(
'label' => 'Tipo Visita',
));
echo $this->Form->input('start', array(
'id' => 'start',
'label' => 'Inizio',
'dateFormat' => 'DMY',
'timeFormat' => '24',
'interval' => 15,
'minYear' => 2
dAll('post = ' . $id));
}
But... because of my first problem I can't really check the result. Am
I in the right direction?
Thanks in advance!
Regards,
Dan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
going to code plain PHP again!
Thanks a lot,
Dan
--~--~-~--~~~---~--~~
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 grou
action or something like that?
No, it was a SQL error. I still can't find out if there's a official
way of naming tables and columns in the DB. I used 'post_id' but Cake
wanted 'id'. But now everything is okay :)
Again, thanks a lot!
Dan
--~--~-~--~~---
Oops..! This: "I still can't find out if there's a official
way of naming tables and columns in the DB"
should have been
"I still can't find out if there's a official
way of naming columns in the DB".
I know models are dependant on the table names :)
--~--~-~--~~~-
Hi Gabriel,
You'll have to set the recursive property of the Product model to
fetch the associated countries. You should also make sure that the
correct relations are set in your three models ( Product, User,
Country).
Here's a quick overview of how recursion works with CakePHP's models:
http://
Currently using $this->Model->read() fetched data in this format:
Model
-> Record
Related Model
-> Record(s)
Is it possible, when using $this->Model->read(), to grab records in
this format?
Model
-> Record
Related Model
-> Record(s)
-> Related Model
->Record(s)
TIA
--~--~--
0, 1:30 pm, "FF (dan)" <[EMAIL PROTECTED]> wrote:
> Currently using $this->Model->read() fetched data in this format:
>
> Model
> -> Record
> Related Model
> -> Record(s)
>
> Is it possible, when using $this->Model->read(), to gr
re you talking about recursive?
> Take a look at the manual page:http://book.cakephp.org/view/439/recursive
>
> Regards,
>
>
>
> On Thu, Nov 20, 2008 at 11:30 AM, FF (dan) <[EMAIL PROTECTED]> wrote:
>
> > Currently using $this->Model->read() fetched data in th
You mentioned saveAll, yet your code doesn't look like it's using saveAll,
did you catch this?
On Thu, Nov 20, 2008 at 7:47 PM, Lukas <[EMAIL PROTECTED]> wrote:
>
> Any ideas?
>
> On Nov 18, 1:13 am, Lukas <[EMAIL PROTECTED]> wrote:
> > Still, I cant make it work :(
> >
> > For testing, i have cr
Hi, all! I've been using Cake for a couple days now and am very
pleased with it. I joined this group to advocate that the patch in
this trac ticket be rolled into 1.2:
https://trac.cakephp.org/ticket/3003
It seems there's been a fair amount of guerilla testing of it already,
as several people
Hi, all! I've been using Cake for a couple days now and am very
pleased with it. I joined this group to advocate that the patch in
this trac ticket be rolled into 1.2:
https://trac.cakephp.org/ticket/3003
It seems there's been a fair amount of guerilla testing of it already,
as several people
ctually, I happen to store my local sqlite db right outside the app
dir, but anywhere within the webserver's chroot (if your server uses a
chroot) should work. It's configurable.
On Nov 23, 12:49 pm, WidgetMan <[EMAIL PROTECTED]> wrote:
> Hi Dan,
>
> I too have been extreme
If you're going to be having a lot of static pages, it may be worth
your while to use Cake's Folder and File objects. You can loop through
the .ctp files assign the routes dynamically.
Here's a quick snippet that will go through all of the .ctp files in
the pages directory. This will be in app/co
line as the https://trac.cakephp.org/ticket/2761 but it should be solved a
long time ago :)
Suggestions are welcome!
Sincerely,
Dan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To pos
I'm doing a simple forum which should support nested replies. So, I
decided to use the Tree Behavior.
models/forum_entry.php
-
-
The tree in my database looks like thi
's part of the
> Model class.
>
> Cheers,
> Adam
>
> On Jul 2, 7:49 pm, Dan Soendergaard <[EMAIL PROTECTED]> wrote:
>
> > I'm doing a simple forum which should support nested replies. So, I
> > decided to use the Tree Behavior.
>
> > models/
nk you for your help, it's greatly appreciated!
On Jul 2, 2:18 pm, Adam Royle <[EMAIL PROTECTED]> wrote:
> And put this in your ForumEntry model.
>
> var $order = 'ForumEntry.lft ASC';
>
> On Jul 2, 9:00 pm, Dan Soendergaard <[EMAIL PROTECTED]> wrote:
>
with. Any good ideas?
On Jul 2, 3:54 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Jul 2, 11:49 am, Dan Soendergaard <[EMAIL PROTECTED]> wrote:
>
>
>
> > I'm doing a simple forum which should support nested replies. So, I
> > decide
Hah! It's not a problem at all, got it working using your sweet
TreeHelper ;) Amazing work, thanks!
On Jul 2, 4:09 pm, Dan Soendergaard <[EMAIL PROTECTED]> wrote:
> That looks good, and you're right. However, I'm not an MPTT expert so
> it was obvious to use recursion
I've written this behavior which I typically use for file uploads.
It's short and pretty easy to use, maybe you'll find it useful. You
can set the directory in which the file should be saved by setting the
option "destination".
If you attact the behavior like this,
$this->YourController->Behavior
If you haven't yet, reading up on Cake's built-in ACL (http://
book.cakephp.org/view/171/access-control-lists) should get you off to
a pretty good start. If not, the bakery has plenty of alternatives you
can poke around with (bakery.cakephp.org)
At the company I used to work for I started on a ba
being sent to the server when I drag
an item, and the Java Console doesn't show any errors... So, I'm
completely out of ideas of what the problem could be.
The HTML being sent to the browser looks like this
http://bin.cakephp.org/view/389641311
Any help is appreciated :)
Sincerely
> I think the problem is that you use $item['Item']['id'] for your item-
> IDs and not an incrementing number. But I am not sure, maybe it's only
> the format, you could try "item_" instead of "item-", you can also set
> the format as option with a regular expression.
Wow! I simply changed "item-
Adding my new site:
www.choclopedia.org
--~--~-~--~~~---~--~~
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 [
Another couple things you could do to speed up your site:
1) Minify or pack your javascript files and then combine then into a
single file (you could use prototaculous)
2) gzip your CSS and javascript
3) Load your javascript and css files from a subdomain (example:
static.tveed.com)
I've noticed
@bittersweet
I was in the same boat as you. I felt a little wary of using the beta
for my client work; however, I gave in, and so far, I have had no
problems and have been amazed with 1.2.
On May 5, 8:35 pm, bittersweet <[EMAIL PROTECTED]> wrote:
> Hi,
>
> It's been a year since Cake 1.2 rolled
Do you have a specific color picker in mind? There are plenty of good
color pickers for JQuery and Prototype. Most of the time it's just a
few lines of code to implement, so you could pop that into your own
helper.
http://plugins.jquery.com/search/node/Color+Picker
On May 12, 9:16 pm, mustan9
Hi!
A school project of mine, written in Cake, contains a list of events.
So far the events are accessible as RSS feeds and on the web-site,
however, I thought that it would be cool to implement iCal output.
First, I tried to do it using RequestHandler (which I had just learned
to use yesterday)
Maybe this is what you're looking for?
http://bakery.cakephp.org/articles/view/visualize-schema-task
On May 17, 5:16 pm, dandreta <[EMAIL PROTECTED]> wrote:
> Then, to seeing if I have understood it well. For my example, I have
> two classes:
> ---
ty->find()? If yes, how do I tell it
that I want the count of users for each activity?
Thanks in advance :)
Sincerely,
Dan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this
);
> $popularActivities = $this->Activity->find('all', array(
> 'conditions' => '1=1 GROUP BY Activity.id HAVING num_users > 0',
> 'order' => 'num_users DESC',
> 'limit' => 10,
> 'recursi
27;[EMAIL PROTECTED]';
$this->Email->from = 'sporter <[EMAIL PROTECTED]>';
$this->Email->template = 'match';
$this->set('user', $data);
$this->Email->send();
}
What
Turned off safe mode and now it's working. :)
On 21 Maj, 16:56, Dan Soendergaard <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I changed a couple of methods in one of my controllers and suddenly
> receive the following error,
>
> Warning: Configure::include() [configure.includ
Auth->user());
}
else
{
$this->set('user', null);
}
}
public function isAuthorized()
{
return true;
}
}
?>
Thanks in advance :)
- Dan
--~--~-~--~~-
Thanks! So simple, I don't believe it... But it works :)
On 29 Maj, 23:47, francky06l <[EMAIL PROTECTED]> wrote:
> Did you copy the PagesController in your application ? If so, create
> the beforeFilter and call parent::beforeFiler ..
> hth
>
> On May 29, 10:47 pm
i have been wondering about his also !
dan :-)
On 09/04/07, Sergei Gerasenko <[EMAIL PROTECTED]> wrote:
>
>
> One question that has been bugging me is the different between hasOne
> and belongsTo.
>
> For example, let's say I have a table named "students"
thanks very much, sometimes you just need a quick pointer from someone to
check you're going in the right direction,
cheers again,
dan
On 09/04/07, sumanpaul <[EMAIL PROTECTED]> wrote:
>
>
> student belonging to an ethnicity.
> think as u will relate in the real wor
r slots, ie the final minutes
drop-down selection should only offer 00 and 30.
I am assuming i need to do something in $optionAttr, but i can't see any
documentation anywhere on how to do this. I only want to override the
'minutes' drop-down, whi
helper makes for the parts you want to change.
>
> On 4/9/07, Dan Ballance <[EMAIL PROTECTED]> wrote:
> > >
> > > HtmlHelper::dateTimeOptionTag ($ tagName,
> > >
> > >
> > > $ dateFormat = 'DMY',
> > >
> >
: Undefined class name 'date' in...
Can anyone explain how or where i can add an additional class to my
application ?
many thanks in advance,
dan :-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP&
from being portable.
Any help greatly appreciated,
dan :-)
--~--~-~--~~~---~--~~
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 th
sites - I hope CupCake will let me get basic database driven sites to
clients even quicker,
nice one,
dan :-)
On 17/04/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Hi, this is Jason, author of CupCake CMS. (Lumad CMS is the project
> name in CakeForge, renamed becaus
ajax related attributes, but I need
to pass a class or an id for css styling of my ajax page.
Can anybody help me with this?
dan :-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post
I haven't done that before, but to me, that seems like a very logical
way to do it.
On Jun 4, 7:00 am, gerbenzomp <[EMAIL PROTECTED]> wrote:
> I've started a new project, and in that site everything should belong
> to the Site model. So articles, posts, users, products, etc. all
> belong to a si
rray('spaces' => $spaces);
}
}
?>
array(
'with' => 'SpacesUser'
),
'Document' => array(
'with' => 'DocumentsUser'
)
That doesn't help much, I've tried it and it gives errors like this:
Model "Space" is not associated with model "name" [CORE/cake/libs/
model/behaviors/containable.php, line 340]
for alle fields that I specified for Space.* in the contain options.
Also, an invalid query is now being created whic
entioned in
the first post. I also renamed the function and made some convenience
functions. Might as well work with the parts that I can get working :)
On Feb 28, 11:14 pm, mscdex wrote:
> On Feb 28, 2:07 pm, Dan Soendergaard wrote:
>
> > That doesn't help much, I've tried it
Gedit :)
On Feb 28, 9:14 pm, adam wrote:
> I'm using Eclipse with PDT, but Dreamweaver for making layouts.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-p
, mscdex wrote:
> On Feb 28, 6:10 pm, Dan Soendergaard wrote:
>
> > No, the function is in my model so calling $this->Space->find();
> > results in Undefined property: Space::$Space.
>
> Sorry, I had forgotten it was a model function and not in your
> controlle
1 - 100 of 132 matches
Mail list logo