Probably you have some other error, like a missing database.php file,
or invalid database connection.
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
"CakeP
http://book.cakephp.org/view/37/Apache-and-mod_rewrite-and-htaccess
Also, really double check your database.php file.
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 Goog
Also, make sure the database is setup correctly and you have the
correct database.php file in the config folder.
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 Gro
I would highly doubt this is a problem with the code. More likely it's
some server setting. Check your php.ini make sure its correct, and
also make sure apache settings are configured correctly.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related
I vote for Vegas. That's one of the few place I could show up to. I'm
guessing there are cheap flight in/out of there for most cities around
the country.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message bec
should work as is. you are a bit weak on details, but perhaps
something is causing the default layout not to be used? perhaps put
"var $layout = 'default';" in your controller?
On Oct 27, 10:40 pm, Jennifer wrote:
> I have created a new template file, called it default.ctp in app/views/
> layout
Do I have it right that there is $modelPaths, $behaviorPaths,
$controllerPaths, $componentPaths, $viewPaths, $helperPaths,
$pluginPaths, $vendorPaths, $localePaths, and $shellPaths... but no
datasourcePaths?
Fun.
--~--~-~--~~~---~--~~
You received this message beca
I think the issue is PHP and not Cake.
To demonstrate the problem, try this...
public function setStuff($foo, $bar, $something_else) {
$foo = $foo;
$bar = $bar;
$something_else = $something_else;
$this->controller->set(compact('foo', 'bar', 'something_else'));
}
And I have no idea why P
Yeah, I agree. 'beforeFind' does not come up with any results of the
method beforeFind. It's a bit strange, especially given that it's
worked well for so long.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP"
I think you misunderstand what the containable does. Your complaint is
with model bindings in general, and not with this behavior.
In any case, I'll leave you to expiriment and learn, but I wanted to
tell you, to do an inner join in cake you use the config..
'type'=>'INNER' in your binding defini
> CakePHP is a developers framework, true, its inherently going to be
> slower than pure HTML etc; indeed. What has me shaking my head is
> looking at all the other frameworks going from 1.x to 2.x increasing
> their performance with each major release whereas we've gone backwards
> at a 1:2 (1:4
On Dec 1, 4:00 pm, Elricho <[EMAIL PROTECTED]> wrote:
> Good suggestion. I'll uncake this component into a php script and run
> that way.
FYI you can still use cake, cake does crons very well. Look it up in
the docs/bakery.
--~--~-~--~~~---~--~~
You received this
just do var $useTable = 'tr_instuctors' in the model.
On Nov 30, 5:37 pm, Billes <[EMAIL PROTECTED]> wrote:
> So just started using CakePHP, and i'm getting this error:
>
> Error: Database table tr_instuctors for model Instructors was not
> found.
>
> As you may notice, tr_instuctors is spelled
> doing an App::Import gives you some advantage?
Less code. You don't need any component like you have written.
Also, one thing I don't see which you should think about.. what if you
don't want to display all of the fields of the Model, maybe just some
of them, or what if you want some columns to
You have to use an INNER join.
var $belongsTo = array(
'Competition' => array('className' => 'Competition',
'foreignKey' => 'competition_id',
'type' =>
'INNER'
)
);
--~--~-~--~~
withcake.com
On Nov 25, 6:31 am, stewsnooze <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm interested in finding out whether we could get someone from the
> community to help on an existing application an agency built for us
> which we want to extend and also run well. The help could range from
> advi
The powers that be in cake frown upon that, but I do the exact same
thing as you, and it works well, so I've kept with it for years now.
On Nov 28, 9:36 pm, "php.baker" <[EMAIL PROTECTED]> wrote:
> Thanks Adam. I was able to confirm on the TortoiseSVN group that
> global ignores will not work as
I have my own Ext helper. I'm not sure if I'll release it or not, but
I've found it best just to spit out the code needed to generate the
given Ext component, and not worry about onReady, etc..
Also, your implementation depends on passing in the modelFields, which
is probably the MVC way to go. I
var $uses = array()
On Aug 27, 1:53 pm, BiraRai <[EMAIL PROTECTED]> wrote:
> How to does one tell cakephp controller not to use a database table?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To po
what field you want to populate the view part with?
anyways ..
> $this->displayField = 'name';
> $this->find('list');
On Aug 26, 11:37 am, Michael <[EMAIL PROTECTED]> wrote:
> First, I am rather new to cakephp and still getting my head around
> some of its ideas.
>
> So, I am working on getting
Yes you can do that, no problem. Just gotta use the $useTable var in
the models.
--~--~-~--~~~---~--~~
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 unsub
really? i guess you could do htmlspecialchars($form->textarea(...));
On Jul 9, 1:53 pm, Vixy <[EMAIL PROTECTED]> wrote:
> Hello, I just started using cakePHP and im working on a social netowrk
> with it. The problem is, when i put html codes in the $html->textarea
> fields, it actually outputs th
Oh cool. That is a nice update.
On May 13, 12:12 pm, Gwoo <[EMAIL PROTECTED]> wrote:
> use $this->Model->id. You do not need those other methods. The model
> is set to the proper id after a save.
--~--~-~--~~~---~--~~
You received this message because you are subsc
Router::connect('/admin', array('controller' => 'dashboard',
'action'=> 'index', 'prefix'=>'admin'));
On Mar 8, 5:53 pm, Kyle Decot <[EMAIL PROTECTED]> wrote:
> I have turned on admin routing and I have put the following in my
> routes.php file:
>
> Router::connect('/admin', array('controller' =
FYI, It might be a good practive not to use the '?>' to close off your
php files. PHP closes when it hits the EOF anyways. I've seen some
projects that do this, it works well.
On Mar 7, 3:50 pm, Guy Rutenberg <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've came across a problem (which was completely my
Ya Novice Programmer, don't listen to me. It's not recomended.
Nate:
You be happy to know, one of my favourite bootrap functions ..
function user($key = null) {
global $AUTH_COMPONENT;
return $AUTH_COMPONENT->user($key);
}
--~--~-~--~~~---~--~~
You received
global $SESSION;
$SESSION = $this->Session;
screw this not getting at the session from the model crap, there are
exceptions to every rule and this is one of them
On Mar 6, 6:33 pm, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote:
> Auth should go in controller, that said you can assign the sessio
->find('list', array('conditions'=>$conditions))
On Mar 6, 11:43 am, Greg Baker <[EMAIL PROTECTED]> wrote:
> Anybody know how to use Model->find('list') but supply conditions to
> that?
>
> Or
>
> Anybody know how to generate a similar list using another method so I
> can use conditions?
--~--~--
$this->Session->active()
should fix your problem.
On Feb 25, 3:35 pm, Paolo <[EMAIL PROTECTED]> wrote:
> Hi all!
> I created a simple user authentication form, using session. The user
> must insert name and password and then if these correspond to a know
> combination the user is logged in. To c
Jim, if you are new to cake.. nate is like that with everyone.. don't
take it personal.
--~--~-~--~~~---~--~~
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
you using this syntax.. ?
myfunction = function(param) { ... }
On Feb 25, 3:49 pm, francky06l <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am messing around for a while trying to set a javascript function in
> a view rendered with ajax call. I have played around with the
> cacheEvents, codeBlock
App:import is very new in the most recent versions of cake (last month
maybe). loadModel was indeed used full time before that for this task.
On Feb 25, 4:00 pm, boyracerr <[EMAIL PROTECTED]> wrote:
> Thanks; I've tried that before, but I get:
>
> Fatal error: Class 'App' not found
>
> I've had t
What version of cake. I think you are going to have to use the 'with'
association.
$this->Tag->(WithModel)->findCount(array('tag_id'=>$tag_id));
On Feb 25, 8:35 am, roryy <[EMAIL PROTECTED]> wrote:
> hi I have a question about counting fields.
>
> I have these tables: tags, posts and posts_tags
If you are putting things into $this->data - yeah that is where cakes
magic is. Cake has claimed the variable data as it's own.
If you don't like the automagic, then just dont use $this->data. Code
like that below works very well for me, when I dont want to use the
automated for filling.
$user =
I am a long time user of 1.2... let me say.. It changes so often, and
there are so many bugs that sometimes 1.2 is a real pain. The bugs
don't cause things not to be secure though.. they are just things that
flat out don't work that you think are supposed to work.
But on the other side...
The bug
You got it right.
--~--~-~--~~~---~--~~
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 mo
ya, but if that type option is supposed to work
.. blah ... should continue this in trac?
https://trac.cakephp.org/ticket/4085
On Feb 22, 3:51 pm, Baz <[EMAIL PROTECTED]> wrote:
> Didn't I just post an alternative?
>
> On Fri, Feb 22, 2008 at 2:33 PM, rtconner <[
ore responses to this that I can see in my email,
> but not in the group)
>
> Basically, you do a dummy hasOne bind and in your find do a condition:
> "Where Dummy.id IS NOT NULL"...
>
> On Fri, Feb 22, 2008 at 12:37 PM, rtconner <[EMAIL PROTECTED]> wrote:
>
> &
e norm is to use the conditions to pass in
> your group by
> clause.https://trac.cakephp.org/browser/branches/1.2.x.x/cake/tests/cases/li...
>
> When has this not proved sufficient? Do you have a specific example?
>
> On Feb 21, 6:51 pm, rtconner <[EMAIL PROTECTED]> wrote:
&
why not just use findAllThreaded() ?
--~--~-~--~~~---~--~~
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 [EMAI
Oops.. I read your question wrong.
Cake uses the Session for other things besides your login data. For
example flash messages are stored in the Session also.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP"
$_SESSION is a php construct. Cake can't do anything to stop you from
using it. Not that you should use it. You should use the Session
component whenever possible. But if it's not, I think you can get away
with things like echo $_SESSION['User']['username'] if you've stored
$this->Session->write('
I have no found a good way to do GROUP BY queries or INNER JOIN's in
cake.
Was wondering if any of you have come across these and how you handled
them. I have not been able to do either of them in conjunction with
the find() method in any normal way.Perhaps I am missing something?
I'd love to find
you need to make two models (one for each type of user). then paginate
2 models on one page as you would normally paginate two models on one
page.
On Feb 21, 12:19 am, manuj <[EMAIL PROTECTED]> wrote:
> I have one table name users
>
> In this I like to paginate two different users list one is fro
Usually it's Mariano, he's approved most of my articles. Though, I
think gwoo approved one of them.
On Feb 18, 10:21 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Feb 18, 2008 12:17 PM, dr. Hannibal Lecter <[EMAIL PROTECTED]> wrote:
>
>
>
> > As far as I can understand it, comments can be
What version o'cake?
Anyways.. you want the $scope parameter on paginate
http://api.cakephp.org/1.2/class_controller.html#6f79c1eed018894aede112c294087345
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" gr
Cake has changed the config a bit. So if you've just upgraded.. make
sure you upgrade your config file in the app also.
This is the default on a new cake install...
Cache::config('default', array('engine' => 'File'));
--~--~-~--~~~---~--~~
You received this messag
http://bakery.cakephp.org/articles/view/advanced-pagination-1-2
On Jan 27, 10:56 pm, bhushan A <[EMAIL PROTECTED]> wrote:
> Hi all
> I have achieved 'pagination' and 'search' differently. Means when i
> am putting my search criteria in text field then records are getting
> displayed as per se
tutorial is a bit old.
As far as I know.. now (with 1.2) you have to add /cake/console to
your operating systems global path. Then anywhere on your system you
can just type >cake bake to bring up the console and bake the app of
whatever folder you are in.
--~--~-~--~~~
As far as I know.. best practice is to use unbindmodel() to unbind
product from comment right before you do the read()
On Jan 24, 12:35 pm, Buckyball <[EMAIL PROTECTED]> wrote:
> Hello to all,
>
> just started to play around with cake and I like it.
> Now I stuck a little concernig accociations
>
It's stored in cakes cache.
You gotta go through your tmp directory and delete all the files in
it. But don't delete the folders because cake won't re-create the
folders, but if the folders are missing cake won't work properly.
--~--~-~--~~~---~--~~
You received th
not sure if this is the best way.. but it is *a* solution.
just put this in app/error.php
http://new404url.com');
exit;
}
}
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this gr
Np :) I wouldn't expect you to read every little rejected bug report
on trac.
On Jan 18, 1:45 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Jan 18, 2008 3:43 PM, rtconner <[EMAIL PROTECTED]> wrote:
>
>
>
> > Ya I had this out with nate already.
Ya I had this out with nate already. I've given up. I think my
solution was to set the hash type to none.
https://trac.cakephp.org/ticket/3364
On Jan 18, 1:38 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On Jan 18, 2008 3:32 PM, rtconner <[EMAIL PROTECTED]> wr
ust fine. If you have a _better_
> alternative, then please suggest.
>
> Otherwise, quit whining. It's not compiled code; it's PHP. If you don't like
> it, open up the bloody file and hit the delete key move on.
> --
> Baz L
> Web Development 2.0http://WebDevelopm
I'll just say, I love any and all complaints about that auto hashing
thing. I think it's silly and annoying and shouldnt be part of cake.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to th
I guess you could overwrite the paginate() and paginateCount() methods
in the model.
On Jan 18, 10:38 am, Arne-Kolja Bachstein <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> does anyone know if there is a chance to paginate data thats not
> fetched from the database/a model using the paginator compon
Oh and this is on the latest svn beta.
--~--~-~--~~~---~--~~
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 [EM
So why doesn't this work? I made a paste to explain what is wrong, but
if it expires I'll puts my paste below...
http://bin.cakephp.org/view/217319035
===
/*
It's very simple - Tip HABTM Category.
Behavior I get is
-If I select a category, it will get added to the HABTM relationshi
No "Cake Approved" method at least.
I have my own solution to this, I made the my auth component a global
and have a function to access the current logged in user data from
anywhere (view, helper, or model). I know many would frown on this,
but it has made developement very easy for me. I care ab
This blog post might be worth your time.
http://www.ad7six.com/MiBlog/TrackWhoMakesDBChanges
On Jan 15, 12:21 pm, "DJ Spark" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Every model in my project does have a 'created_by' and 'modified_by'
> field, storing some user ID.
> Currently, I'm using a control
Lol, Nate - you are harsh. If you were a high school teacher
"when i integrated by parts, i could not simplify it enough"
"ahahaha you moron, if you simply used substitution you would have
found the anti derivative and would have easily solved it"
*student sobs*
On Jan 12, 7:52 pm, nate
I dunno why it says App::import. I believe (from whay I know) you
should be using ClassRegistry::init now.
On Jan 10, 6:15 am, lordG <[EMAIL PROTECTED]> wrote:
> Hi Conankun,
>
> Did you get a solution to this? Sounds like the App class is not being
> loaded (sorry for stating the obvious i think
Yeah if anyone find's a great way to do this .. lemme know. For me, I
just toss some if statements into my config that recongnize the url
and pick a db config based on it. Not the best idea.. I know.
I think *best* case scenario is to not commit the database config
file. And have deploy scripts t
If nothing else you can manually write some queries and implement them
by overwriting the pageinate and paginateCount methods in the model.
I can't reallly think of a better way to do this at the moment.
On Jan 8, 9:55 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> Normally I don't post questi
To respond to your email...
There should be a file: /app/app_controller.php
If it does not exist, copy it from the cake folder.
Inside that class declare the helper that you wish to use. From there
that helper should be available in all controllers.
--~--~-~--~~~---
two things..
1. If the view can see it, so can the element
2. if this is an element you are going to use all over the place
(multiple controllers) you might as well just add the helper to
app_controller class.
On Jan 7, 4:22 pm, DrLaban <[EMAIL PROTECTED]> wrote:
> Hello all!
>
> I've been doing
Seems to work well for php.net. Well I think they call it "notes".
On Jan 7, 2:31 pm, "Kjell Bublitz" <[EMAIL PROTECTED]> wrote:
> Hmmm... I have a problem with a "comment"-function.
>
> Comments encourage discussions - Discussions have nothing to do with
> documentation.
>
> If theres a comment
Yep, NP.
This is functionality that IMO should be in the cake core. But, what
do I know?
On Jan 7, 11:57 am, cmbg <[EMAIL PROTECTED]> wrote:
> Thanks! This is very helpful!
>
> On Jan 7, 10:54 am, rtconner <[EMAIL PROTECTED]> wrote:
>
> > Perhaps this bakery ar
pha), removed it after checking component.php's
> source code and the init() function. Thanks a lot
>
> On Jan 7, 1:56 pm, rtconner <[EMAIL PROTECTED]> wrote:
>
> > You sure that code ever worked? Or better yet, did you post all of
> > your code? That should not have w
You sure that code ever worked? Or better yet, did you post all of
your code? That should not have worked on any version of cake that I
am aware of.
In any case.. add this method to the component, and I think you'll be
ok.
function initialize(&$controller) {
$this->controller = $controller;
}
O
Perhaps this bakery article will help you.
http://bakery.cakephp.org/articles/view/anything_for_layout-making-html-from-the-view-available-to-the-layout
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" grou
A comments section on the Docs pages is enough for me. Any info
missing by the docs themselves can be filled in as users leave
comments. I asked John about this once, he said they've got it
covered. So now.. just gotta wait for the official docs system to get
released.
I suppose that'll be out fa
http://groups.google.com/group/cake-php/browse_thread/thread/d097212f45f9f5ab
--~--~-~--~~~---~--~~
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
One time gwoo wrote some quick code that would make find return
objects instead of arrays. I turned it into a behavior. Seemed to work
pretty well at the time. It should still work (not sure though,
because of all the recent changes to cake core). Give it a try.
http://bin.cakephp.org/saved/24245
Use a component. Use the startup or initialize functions in the
component to auto run some code every time the component is loaded.
Both have access to the controller and all data sent to it (if you do
things right).
On Jan 4, 10:45 am, Daniel Mark <[EMAIL PROTECTED]> wrote:
> Quick question..
>
Nevermind, got it.
text('1.name');?>
text('Product.1.name');?>
along with $this->Product->saveAll($this->data);
Glad to finally have this functionality :D
I still gotta figure how validation works with this though.
--~--~-~--~~~---~--~~
You received this message
Nevermind, got it.
text('1.name');?>
text('Product.1.name');?>
Glad to finally have this functionality :D
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-p
Anyone have a quick example of how to use the new multiple records
features?
--~--~-~--~~~---~--~~
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
You might need to use updateAll and deleteAll a lot. I'm not 100% sure
but I think the normal save() method should still work without a
primary key.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To
Luke, Generally I use Bake as a starting point. I bake all my CRUD,
and then customize look and feel and behavior. Rarely do I have a site
that fits square onto a CRUD setup, there are always little behaviors
and things that need fixing up.
--~--~-~--~~~---~--~~
You
In theory the following code should work. I don't know if it will or
not though, because I'm not sure how deep you can set the recursive
flag.
OrderProduct=>recursive = 4;
OrderProduct->find(array("OrderProduct.fromDate > '2007-10-01'",
'Group.id'=>3))
On Nov 26, 11:15 am, keymaster <[EMAIL PROT
If it was me, I'd have a Model with no table attatched and then add a
function to create the tables in it
--~--~-~--~~~---~--~~
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
've always implemented with a component only.
>
> So yes, it can be easier. But still, models should not be tied to the
> session, and *I think* doing so is a hack. What happens when you want
> a process to be accessible from command line, or a cron job?
>
> On Nov 22, 3:01
Ya Grant not to argue with you, but if you are going to make a
statement like that, you make me think you have not done much cake
programming. (Though for how long you've been around I'll assume
otherwise)
I need data from the session in the models all the time. It's usually
a modified_by or crea
http://www.ad7six.com/MiBlog/Blogs/view/Trees
--~--~-~--~~~---~--~~
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
Uhm..
Creata Model
Create a second model and HABTM relate them
Then create a Third mode and HABTM relate it to the second one.
On the first model, set recursive = 3 and do a find. Note how data
from the third model is not there.
--~--~-~--~~~---~--~~
You received
No one else has ever had this problem? Odd. Three people in my office
have come across this same thing. None of us could find a cake way to
solve it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
T
Why does this not pull the related HABTM data of a HABTM relation?
Recursive = 4 or 5 or 6 or whatever does not help. This is really
sticking in my craw.
Right now I have to loop through the related HABTM relation and for
each one find its HABTM related items. Is this the only way?
--~--~---
Yeah somehow.. you gotta find a way to pass the SESSION ID around in
urls. No idea if cake has built in support for this.
On Nov 8, 7:28 pm, Steve Boyd <[EMAIL PROTECTED]> wrote:
> Is it possible to use $this->Session properly if the user doesn't have
> cookies enabled?
--~--~-~--~~
You need to drop a echo $form->error('Article.contenu'); in there
somewhere.
--~--~-~--~~~---~--~~
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
I think you have to do..
$uses = array('Pluginname.Modelname');
On Nov 7, 10:54 pm, Aaron Shafovaloff <[EMAIL PROTECTED]> wrote:
> I have a plugin which has two models of its own. I've followed the
> directions to creating a plugin to the T.
>
> In the plugin's own app_controller file I have th
I'm pretty sure this Helper will help you guys out..
http://bakery.cakephp.org/articles/view/anything_for_layout-making-html-from-the-view-available-to-the-layout
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cak
You want to search Pieces and list the lessons related to those
pieces?
$this->Lesson->Piece->recursive = 1;
$this->Lesson->Piece->findAll(array("Piece.name LIKE '%asd%'"));
or to just get all lessons and thier related pieces
$this->Lesson->recursive = 1;
$this->Lesson->findAll();
On Oct 25,
Oh. I was wondering...
On Oct 23, 11:14 am, Gwoo <[EMAIL PROTECTED]> wrote:
> You will see the belongTo and hasOne.
>
> If you dont want anything use $this->User->recursive = -1;
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Go
http://api.cakephp.org/1.2/class_model.html#d45dbbc6a13d9921731abf738623bb01
On Oct 22, 2:24 pm, carSign <[EMAIL PROTECTED]> wrote:
> Is there a way to change the config variables inside my model on the
> fly.
>
> For example. If a user visits:
>
> http://www.example.com/videos/rent/toy_story
>
gratzi
On Oct 19, 5:41 pm, AD7six <[EMAIL PROTECTED]> wrote:
> On Oct 20, 1:03 am, rtconner <[EMAIL PROTECTED]> wrote:
>
> > Does anyone know, is there a way to code the following behavior
>
> > typinghttp://site.com/adminrouteintothe browser will render a
Does anyone know, is there a way to code the following behavior
typing http://site.com/adminroute into the browser will render a 404
then i set up apache to direct http://admin.site.com to point to the
admintroute folder and this is where the admin stie would reside.
thanks,
rob
--~--~---
What version of cake?
Nate left this code for 1.2: http://bin.cakephp.org/saved/21687
--~--~-~--~~~---~--~~
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
You couldn't read 6 posts down even? It's still on the first page.
On Oct 12, 1:40 pm, j-rod <[EMAIL PROTECTED]> wrote:
> Just saw this version 1.2.5750 in the API section. Does this mean
> there will be a new release soon?
--~--~-~--~~~---~--~~
You received this
1 - 100 of 275 matches
Mail list logo