PhpNut has fixed this in the SVN head, update to that if you are still
having troubles.
-Mark
On Oct 14, 3:34 am, Christof Damian [EMAIL PROTECTED] wrote:
I noticed that this is fixed no in the repository. Can't wait for
RC4/final now :-)
2008/10/7 Christof Damian [EMAIL PROTECTED]:
I
This change was done, as Scaffolds were attempting to use too many
templates in addition there was the possibility for both separate
admin_action.scaffold as well as action.scaffold. This was not
intended as you cannot scaffold both admin and non admin actions at
the same time. As for merging
I get 98 passes no fails no exceptions on both my home computer and
work computer.
-Mark
On Oct 15, 11:31 am, Mathew [EMAIL PROTECTED] wrote:
* Failed
at [D:\work\TRUNK\php\cake_1.2.0\cake\tests\cases\libs
\configure.test.php line 440]
Adding permissions can be done through a web interface. You just need
to know what actions there are in your app, and what the inherited
permissions are. I can't think of any tutorial that will cover your
exact use case, but there are plenty of tutorials covering how to
implement an ACL
Also good to note that you should be building your form inputs with
the cake html and form helpers if you want the forms to work, as in
the tutorials.
-Mark
On Oct 16, 9:22 am, scs [EMAIL PROTECTED] wrote:
if your using cake 1.1 like you said above than your view has the
wrong extension.
testAction simulates a url request, there is no need to unset the
controller as it doesn't get set to the test case. Should the results
come back differently. Please explain more.
-Mark
On Oct 16, 11:40 am, [EMAIL PROTECTED] wrote:
I am not sure that i understand what you are testing? I
anything to get fresh results.
Any idea why I'm getting repeats then? Could it be caching or
something?
On Oct 16, 11:57 am, [EMAIL PROTECTED] wrote:
Well with urls always changeing wont the results change anyways?
On 10/16/2008, mark_story [EMAIL PROTECTED] wrote
look at Model::query() You can run arbitrary SQL through that.
-Mark
On Oct 17, 1:31 am, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
i want to convert my whole system in store procedure, so that place
guide me how can i call store procedure, how can i call view from
mysql.
I wonder whether nested requestAction() calls is a good design
decision. Sounds like a place for some refactoring / moving code to
models. But as for turning off authComponent, couldn't you check your
php_sapi_name() (http://ca.php.net/php_sapi_name) and go from there.
-Mark
On Oct 19, 4:09
You should not use the AdoDB driver for any database that does not
require it. It is by far the slowest database driver. From the code
you posted you are using MySQL. You should be using the native mysql
dbo object. The last time I tested it, I did so against mysql and it
was working.
-Mark
I'm hoping that was a facetious post, otherwise you are going to have
bigger troubles than just getting IE to behave.
Try positioniseverything.net, or googling something more useful that
'it', perhaps 'IE css bug' or 'IE css hacks'.
-Mark
On Oct 26, 1:29 pm, rogwei [EMAIL PROTECTED] wrote:
On Oct 27, 9:38 pm, teknoid [EMAIL PROTECTED] wrote:
Here's a test...
Create a file index.html in the web root of your server with the
content hello world.
Now take any framework and compare the speed it takes to render... the
index.html framework beats them all!
index.html framework is
Personally I'm a big fan of mootools. I learned it early on, and
really like how it doesn't require you to 'relearn' javascript.
Instead it gives you a good cross browser base, with some decent built-
in animation effects. Regardless of what library you end up choosing
you should learn the
A better question is why?
-Mark
On Nov 2, 11:55 pm, si-mon [EMAIL PROTECTED] wrote:
Hi all,
Is there any problem in using both JQuery and Prototype in the same
application?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
On Nov 3, 3:02 pm, 703designs [EMAIL PROTECTED] wrote:
I'd love MooTools if they chose to namespace the library to a MOO or
similar object and not change basic prototypes (even String is
modified!). Unfortunately, it's hard to trust if you're running it
around other scripts. I wonder how much
On Oct 30, 11:04 pm, Calvin [EMAIL PROTECTED] wrote:
Hi all,
I am finding difficult to understand why this isn't working...
?php
abstract class A {
protected static $property = false; # Q1
public static function method() { # Q2
return self::$property;
}
}
class
$ for jquery
stuff, most of the time you would be mixing them up. I would also
suggest to just drop one of them. :)
On Nov 4, 3:13 am, Samuel DeVore [EMAIL PROTECTED] wrote:
On Mon, Nov 3, 2008 at 11:48 AM, mark_story [EMAIL PROTECTED] wrote:
A better question is why?
Maybe
Also recently on the documentation side of things, John has been busy
adding cookbook links into the doc blocks. So when you look things up
on the API you can get to the related cookbook page very easily.
-Mark
On Nov 6, 5:22 am, soosa [EMAIL PROTECTED] wrote:
Thanks a lot guys, i will take
I closed your ticket, as I didn't have any troubles with using form
helper and saveAll(). Like teknoid said Model.1.field is the correct
format for multi record forms. I closed the ticket with additional
information. Perhaps this should be documented better?
-Mark
On Nov 6, 8:04 pm, Joel
The blank pages are segmetation faults in apache. On osx, I had to
download the 2.10dev version of xdebug from activestate before I got
it working. I've yet to get it to run on a windows machine though.
-Mark
On Nov 5, 11:43 am, Daniel Hofstetter [EMAIL PROTECTED] wrote:
Hi all,
I'm trying
I would agree with Rob on this one. Since the iCal is not a cache or
other temp file. I would make an extension based view for this. That
will keep things flexible. And iCal is just a specific way of looking
at the data much like HTML or CSV is.
-Mark
On Nov 11, 11:56 am, Rob [EMAIL
If you are getting a 'blank' as in white screen, probably a parse or
other fatal error. Turn on debug to 2 to see the errors.
-Mark
On Nov 12, 10:40 am, Liebermann, Anja Carolin
[EMAIL PROTECTED] wrote:
Hello everybody,
I followed this
I originally posted the Acl tutorial on my site http://mark-story.com
and the source is at the end of part 2.
-Mark
On Nov 13, 10:56 am, gfmailweb [EMAIL PROTECTED] wrote:
Is there somewhere I can download the source code to a completed 1.2
Blog tutorial including the ACL portions? That
How is a ul better than 'divitis'? 'listitis' uses more markup and
forms are not a list like a grocery list. I don' think that making a
UL improves the semantics of a form, just makes them different.
However, the form helper lets you change the wrapping divs. to
whatever you choose. Or you can
Since Cake is a PHP4 compatible framework we cannot support visibility
keywords in core. However, feel free to make changes to your copy :)
Currently there are no templates for Models or Controllers. So you
will need to edit core files to change the output of those tasks.
-Mark
On Nov 18,
If you are using 1.1 there is no App class and as such you must use
uses()
-Mark
On Nov 18, 3:10 am, Louie Miranda [EMAIL PROTECTED] wrote:
?php
App::import('Sanitize');
class CatalogsController extends AppController
{
*Fatal error*: Class 'App' not found in *
initialize() - before beforeFilter()
startup() - after beforeFilter()
-Mark
On Nov 17, 8:01 pm, validkeys [EMAIL PROTECTED] wrote:
Hey Guys,
I have a kind of complicated app and I don't think that the ACL would
have worked for me. So I created a component to control access. So
far, it
To resurrect this thread code coverage was broken for me on my new
computer. But by changing line 115 of /cake/tests/lib/
code_coverage_manager.php to
xdebug_start_code_coverage(XDEBUG_CC_UNUSED);
it started to work! Hope it solves someone else's issues too
-Mark
On Nov 9, 12:09 am, Dr.
For me a clean API that is easy to use is something that I would want
in a CMS. Many of the popular CMS have very complicated API's or
multiple API's which are confusing. As for theming, keep it simple.
I'm not familiar with the mambo code base, but I despise non PHP
templates. It just makes
This can be done with the ACL but you need to do the check manually.
It may seem like a good idea to have an ACL tree that looks like
controller/action/id
but that is setting yourself up for an epic fail. If you ever need to
add an action you need to copy all the record nodes and set new
-checkRows($dataRows, $userData)
or
SuperAcl-checkRow($row, $userData)
As long as you set some sort of convention it should work well.
-Mark
Thanks,
bye
me.
On Nov 20, 5:28 am, mark_story [EMAIL PROTECTED] wrote:
This can be done with the ACL but you need to do the check manually.
It may
that it is generally not necessary to
use the ACL Component to protect items at a record level.
Usually just using an author_id field will be enough.
-Aran
On Nov 20, 6:18 am, mark_story [EMAIL PROTECTED] wrote:
On Nov 20, 4:23 am, eMarcus [EMAIL PROTECTED] wrote:
Hi Mark,
Thanks
You can also use TreeBehavior-recover() to recover a corrupted tree.
As for your LOCK TABLES I would look inside Tree Behavior itself.
On Nov 24, 8:23 am, Rob [EMAIL PROTECTED] wrote:
i came up with solution to the issue described above, thou i need help
with cake-wise implementation.
There is no $this-exit() function. Perhaps you are thinking of $this-
_stop()? Also in 1.2 there is no need to manually call exit(). It
is called automatically by redirect().
Your redirect call seems suspect as well. I would just use $this-
redirect('/users/login'); Of course it is always
Many have tried this and it has not been historically successful. In
the land of forums there is this group, as well as many language
specific groups. There is also already http://www.cakephpforum.net/
and others. In addition there is the bakery and the cookbook. The
cookbook is more
Your fixture name needs to be 'app.user'. Also you only need to
manually load fixtures is you have var $autoFixtures set to false.
-Mark
On Nov 25, 5:04 pm, MattC [EMAIL PROTECTED] wrote:
This may or may not fix your problem but:
1) You test db should be empty. The framework will
PROTECTED] wrote:
mark_story: thanks - i've changed fixture to 'app.user' removed
$this-loadFixtures.
valikeys: thanks - i've removed the redundant App::import.
Test now is:
?php
class UserTestCase extends CakeTestCase {
var $fixtures = array( 'app.user' );
function setUp
I think selenium and the built in test suite have different goals in
some respects. Outside of CakeWebTestCase there is very little
support for browser-esque testing. The focus of the core test suite
is on functional and unit testing of objects and not on web testing.
I think you almost need to
Could just not use the generic css on an already started app?
-Mark
On Nov 29, 2:52 pm, Federico Rinaldi [EMAIL PROTECTED]
wrote:
Hi guys, I just wanted to ask what do you think about the css that comes by
default in a cake's application. As far as I can tell it is very helpfull as
it
Well testing times in debug mode is not really representative of
performance. The debug mode in 1.2 is purposefully more heavy than in
1.1. It does a lot more work each request. I would try some
benchmarks with debug off. Apache AB can help in this area.
-Mark
On Dec 8, 9:19 am, [EMAIL
Saying it is slower, without any indication as to how or why is not
really helpful. Running your application with debug 0 will always
be slow. As for 1.2 being slower than 1.1 that is entirely possible.
However, it does so much more as well.
If raw performance was your only concern you would
There are no namespaces in PHP at this time sorry. Class prefixes are
ugly and annoying to use. You can find a list of classes used by cake
at http://api.cakephp.org
-Mark
On Dec 8, 5:04 pm, bitchain [EMAIL PROTECTED] wrote:
Hi guys,
Just started out with Cake today and enjoying it so far.
How are your fixtures setup?
Are you using imports?
Are you initializing your models in setup() or startTest()?
Are you using ClassRegistry::init() or are you use new Model()?
-Mark
On Dec 10, 2:33 pm, Ed Howland [EMAIL PROTECTED] wrote:
Hi,
I've got simpletest installed but now I am having
, mark_story [EMAIL PROTECTED] wrote:
How are your fixtures setup?
Are you using imports?
Are you initializing your models in setup() or startTest()?
Are you using ClassRegistry::init() or are you use new Model()?
Hey Mark,
(i) Fixtures Setup (comments and wihitespaces stripped out
Should be fixed now! :)
On Dec 11, 11:10 am, Marcus rik...@gmail.com wrote:
On Dec 11, 5:01 pm, Ed Howland ed.howl...@gmail.com wrote:
Same problem here. The error message Database table not found
appeared with changeset 7870 of CakePHP.
So an earlier changeset might work for me?
Perhaps try editing the model data in afterFind(). Or changing it
before its saved in beforeSave(). Both of these methods would be in
your models.
-Mark
On Dec 12, 2:52 pm, ark0n3 nicolabeg...@gmail.com wrote:
Hi
I'm sorry to bother you with some newbye question, but I'm really
unable to
Ed, looks like those fails are on the schema and containable classes,
not the model. And as you found out bake doesn't search through every
related model to add fixtures from. It only goes one level deep, you
need to manually add all the missing fixtures.
-Mark
On Dec 12, 5:53 pm, Ed Howland
Try a recent svn checkout of the 1.2 branch. It should be fixed
there.
-Mark
On Dec 15, 3:31 pm, WebbedIT p...@webbedit.co.uk wrote:
Anyone? I have done searching of this group and it seems there was a
bug in 1.2 that was fixed ... so I guess I'm doing something wrong but
if the array is
If you click on a class you should get a list of its methods and their
parameters. For example,
http://api.cakephp.org/class_controller.html#903188d3de83bd65c78bb676f61b3039
should take you to Controller::redirect().
And the API is generated off of the source code, so it would be very
similar
Problem with scanning your filesystem, is that if you are doing it on
a high traffic site you will cause a lot of disk IO which can lead to
load issues. Caching to the database will prevent thrashing the disk.
-Mark
On Dec 16, 4:11 am, r4zv4n razvanbra...@gmail.com wrote:
Thanks for the
Are the tmp folders world writable? is debug off? Is it on a taxed
server? Is the slowdown in the queries?
-Mark
On Dec 16, 9:09 am, GeneSys bernhard.bo...@gmail.com wrote:
Hey Folks!
So I'm using CakePHP for a couple of months now. The company I am
working at asked me to write a new web
convinced that it
is cake alone that makes the app so slow.
What I will do next is to add a blank controller and profile the
scripts by use of XDebug. Maybe I'm getting to the root of all evil
that way ;)
Thanks for your ideas Mark!
Bernhard
On Dec 17, 5:57 am, mark_story mark.st...@gmail.com
HABTM is not relation you are looking for I think, I usually model
this with a table_1 hasMany joinTable, table_2 hasMany joinTable, and
joinTable belongsTo both table_1 and table_2.
-Mark
On Dec 18, 3:16 am, Colin co...@itnavigate.com.au wrote:
Hi All,
I have a model for HABTM like so:
id
A small project is the perfect place to learn a new tool. There is
less to learn with a small project, so it works as a good introductory
project. Sure you could do it faster with a finished project, but
that's not the point :) I started learning cake by building a monster
app, and I wished way
If you go with the $useDbConfig you can always have multiple database
connections connect to the same database and just implement different
prefixes. This gets around the need for multiple databases.
var $pizza = array(
'driver' = 'mysql',
'connect' =
Well you did put the debug off, so all nice error messages turn into
404's. Wouldn't be a good idea to leave all the nice errors so an
site visitor/attacker could see your mistakes :)
-Mark
On Dec 19, 5:52 pm, RyOnLife ryan.mckil...@gmail.com wrote:
Go figure. 3 hours of trying and the moment
Please open a ticket in trac :)
http://trac.cakephp.org
-Mark
On Dec 22, 12:44 pm, codershop coders...@gmail.com wrote:
I am using revision 7949, on the
branchhttps://svn.cakephp.org/repo/branches/1.2.x.x
In revision 7930 the return command was removed from line 676. This
causes the
$this-Auth-allow('users:index')
This will never work as Auth doesn't accept this format.
Also make sure that if you overloaded your beforeFilter() in your sub
classes of AppController that parent::beforeFilter() is called. As
far as I know Auth::allow() is working correctly.
-Mark
On Dec 22,
Both my tutorial and the book tutorial are mostly the same, because I
wrote both of them..
Chad you are either missing a node for the controller/action or the
user. If you make your users from mysql prompt this will definately
happen. If you jump ahead on the tutorial and make users before you
Yes this is correct. You need the conditions key, all the new style
calls require there to be a conditions key if you want to include
conditions.
-Mark
On Dec 30, 6:45 am, jason m ippatsu.ya...@gmail.com wrote:
i think it should be
return $this-find('count', array('conditions'=$conditions));
Steven, if you could give some concrete examples perhaps we could
improve the doc blocks :)
-Mark
On Jan 3, 11:36 am, Steven Wright rhythmicde...@gmail.com wrote:
Not one really specific thing. In general the Cookbook does not seem to
answer my questions so I find myself going to look at the
Its not bitching if you are willing to point out where the problems
are and perhaps offer some solutions to those problems. That's called
contributing in my books. As for the API it is automatically
generated via doxygen. But just because it is auto generated means it
should be poor. So
gearvOsh is correct in addition, when you have a public action
isAuthorized is never called. Why would it? you are visiting a public
url.
-Mark
On Jan 4, 1:14 am, Matt Williamson dawsdes...@gmail.com wrote:
Hey Guys,
I am trying to use the Auth component, but I'm pretty sure there's
some
need to define a with key and include the name of the Join model. It
was a bug that auto loaded the model in the past for you.
-Mark
On Jan 8, 6:17 pm, bunwich bunw...@gmail.com wrote:
Hi,
I've been playing with 1.2 final and was having problems calling -find
('all') on a HABTM join table.
On Jan 9, 1:56 pm, CakeAddict rno...@gmail.com wrote:
Hello all,
I recently found CakePHP and I'm in the process of moving my site from
Drupal to CakePHP and I need your help.
My goal:
==
Converthttps://www.egengine.com/v01to a CakePHP application(s).
First question? Do I need to
specify the id attribute?
-Mark
On Jan 12, 6:05 am, Chris Hawes m...@chrishawes.net wrote:
Hello,
I'm currently working on an e-commerce application.
On the product pages, I am generating a form to add products to the
cart. As such, each page can contain several forms.
I've created a
Currently fixtures are not that sophisticated. You get all or
nothing. One solution is to do what websta* suggested and have two
fixtures, or modify the fixture. But currently fixtures are pretty
unaware with regards to how many records they have / are inserting.
-Mark
On Jan 12, 3:49 pm,
Most non-shared hosting companies do provide a shell. You can
sometimes get a Java client with applications like cPanel or Plesk as
well. If you are just running bake and such most people will run that
locally. If you write shells that you need to run remotely like
maintenance scripts etc.
You components are missing because __mergeVars() which does the
variable merging only works with AppController / PluginAppController.
In all other situations related to inheritance you will need to
redeclare the components, uses and helpers.
-Mark
On Jan 16, 10:14 am, caminante
Oracle Apex is a very different type of solution from CakePHP. It
seems that Apex is a web interface for building applications, while
CakePHP is a programming framework. One requires no programming the
other requires much more. If you are comparing these two solutions, I
think you need to
You don't test private methods. You test your public interface, and
by testing your public interface your implementation is also tested.
As far as testing controllers I wrote a somewhat lenghty post on it
http://mark-story.com/posts/view/testing-cakephp-controllers-the-hard-way
As for testing
It has less to do with your path and more to do with your PHP is
knocking on a door, and nobody is home. You need to find out where
your mysql.sock is, and configure PHP to knock on that door instead.
-Mark
On Jan 19, 2:46 pm, bookme rarockthewo...@gmail.com wrote:
Thanks for your
Also since you are on macos check which php you are using. I bet you
are using the stock Apple PHP
which php
Should give you the path to the PHP that is the cli default.
-Mark
On Jan 19, 3:36 pm, leo ponton@gmail.com wrote:
If you're using XAMPP, I don't think it's a php/mysql config
Controllers are not intended to be 'utility' I think you're going
about things the wrong way. Components are intended to be 'utility
classes' and components can have components. Realistically the only
time you should be manually constructing a controller is for unit
testing. Outside of that
Dude, you only waited 2hrs. Chill out. This is a mailing list, if you
need insta-help use IRC.
-Mark
On Jan 20, 9:25 pm, Parris presid...@parrisstudios.com wrote:
come on... someone has to know the answer to this... are you all just
using request action or something along those lines?
Couldn't you just compare dates? Compare the last time the person
logged in with that of all the most recent posts. Then in the session
all you need to do is track which ones have been read, and unhighlight
those in the view. I don't think there is really a need to store this
in the database.
Believe me the $50 for textmate is some of the best $50 I ever spent.
But you are looking for a free, fast, good editor. Normally you only
get to pick two. Perhaps you should checkout text wrangler. Its free
and fast, and mostly good.
-Mark
On Jan 23, 10:41 am, leo ponton@gmail.com wrote:
You are using a scaffold. This is not going to work as far as I
know. At least I never tried to use debugKit with a scaffold.
Scaffolds require their own view class and it is highly probably that
the view class from the scaffold is replacing the debug view. Which
will result in no toolbar.
This is not an appropriate function for a framework. Implementing
these types of features at the framework level leads to excessive
bloat. All the tools you need are already in core. You just have to
put them together :) There are number of tutorials and sample
applications around if you
That's strange, debug kit should add its own CSS into the head of
the document. And it should be capturing the sql log as well. Not
sure why this is happening. I haven't been able to get that to occur
for me, so I don't really know what is wrong.
-Mark
On Jan 26, 9:04 pm, Ben
On Jan 26, 6:10 am, Jelmer goo...@spininhetweb.nl wrote:
Hi all,
I use saveAll to save a 'wordset' and it's associated words. In fact,
when reading the record (recursively), I create an extra field in the
wordSet model that contains the associated words, seperated by a
newline, for easy
Yes. As long as the copyrights remain in the files you can do
whatever you wish with the files. Bundling them in a commercial app is
fine. Check out http://en.wikipedia.org/wiki/MIT_License and
http://www.opensource.org/licenses/mit-license.php
-Mark
On Jan 27, 10:36 am, Arne-Kolja Bachstein
On Jan 28, 1:30 am, Marcelo Andrade mfandr...@gmail.com wrote:
On Tue, Jan 27, 2009 at 6:02 PM, brian bally.z...@gmail.com wrote:
The API pages were just changed minutes ago (I know, because I was
requesting something as it was changing) and it's a huge improvement,
IMHO.
Mad props and
You should be able to install both SVN and Git with ease through
MacPorts. That's how I installed them, was pretty easy.
-Mark
On Jan 28, 7:09 am, leo ponton@gmail.com wrote:
Should I be using one rather than the other?
Will CakePHP eventually migrate to GIT?
Here I didn't mean
This has been fixed in the svn head. :)
-Mark
On Jan 30, 7:11 am, Papagurana maas.tors...@googlemail.com wrote:
Hello,
I recently updated from RC2 to 1.2.1.8004 and I've got problems when
doing a saveAll with two new datasets.
Example:
1. Model Profile belongsTo User
2.
I'm not sure, I've never tried moving the app folder in conjunction
with DebugKit. Currently, DebugKit doesn't directly include View (it
uses App::import() ), so I don't really know how that error is being
raised. Perhaps try the head revision? Its available on both
thechaw.com and github.com.
Oh noes!
honestly, I only care about making the best framework we can. Every
frameowkr
On Feb 1, 7:11 pm, yusuf widi wmo...@gmail.com wrote:
Hi guyz... i got this somewhere on the net...
http://www.phpframeworks.com/top-10-php-frameworks/
Why they put cake php on the fifth place? i dont
Wow I'm a total tard. Way to press cancel, instead of send on that
last message. Let this be a lesson to all on how not to use gmail..
Anyways, might as well finish that thought. What I was trying to say,
was that is that people love comparisons and top ten lists. If you
can itemize and
On May 28, 12:58 pm, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
With debug=2 the queries are exaclty equal except for the DESCRIBE
operation on the joinTable.
Perhaps it'is a my feeling.
Exist a instrument for evalute the time loading of a scripts?
Is it possible to use eAccelarator with
On Jul 4, 11:46 am, FluF [EMAIL PROTECTED] wrote:
This is what i'm trying to do
class FooController extends AppController{
var $name = Foo;
var $useTable = false;
};
class Foo extends AppModel{
var $name = Foo;
var $useTable = false;
private $text = ;
public function
parentNode is required for AclBehavior to work, I just posted the
first of two articles on using Auth and Acl to my site, should check
it out if that is what you are using the Acl for.
http://mark-story.com/Posts/view/auth-and-acl-an-end-to-end-tutorial-pt-1
-Mark
On Jul 7, 10:40 am,
On Jun 24, 5:33 pm, floob [EMAIL PROTECTED] wrote:
I've been going at cake for a bit over one month, and I've developed a
love/hate relationship with it. I apologize if this is a rant ...
cake documentation is a touchy subject for me, and I believe my
experiences may help you.
On Jul 8, 4:37 pm, Sir Tabs [EMAIL PROTECTED] wrote:
Two simple questions, with hopefully easy answers:
1) The render() function and it's paramaters
---
I've been reading forums, snippets of code, this group and the API,
and I still get
Fixtures are used to make database tables. If you are planning on
using database sessions this will work well. However, as to making a
Session Object. I'm not sure what you are trying to accomplish, if
you need examples of testing Session Classes in Cake, there are many
core tests for each of
On Jul 9, 11:44 am, mark_story [EMAIL PROTECTED] wrote:
On Jul 8, 4:37 pm, Sir Tabs [EMAIL PROTECTED] wrote:
Two simple questions, with hopefully easy answers:
1) The render() function and it's paramaters
---
I've been reading
On Jul 10, 12:52 pm, Sir Tabs [EMAIL PROTECTED] wrote:
Now I think I have the feel for the process: each action that is
called attempts, through automagic, to render the screen with it's
particular view file. If I use Ajax to call the particular action, and
use the 'update' option and specify
This is a javascript problem and has nothing to do with cake.
Basically when your HTML response is injected into the page, the
script tags are not parsed and evaled. There is an option to turn on
scriptEval or parseScripts for this somewhere in prototype. I don't
know prototype well enough to
On Jul 11, 11:07 am, NOSLOW [EMAIL PROTECTED] wrote:
I think the second paramter, PHPBB_Login, should be all lower case
just to get the file to load. Then when instantiating the class
PHPBB_Login, keep the case as it's defined inside the file.
Based on the examples
Global variables in general are the spawn of satan. However both
constants and using Configure::write('var', $value) are excellent
replacements as they prevent the collisions and spaghetti code that
globals can help create.
http://book.cakephp.org/view/39/configuration
-Mark
Try setting $this-Order-recursive = 2 before doing the find. Since
order doesn't directly relate to Shop it doesn't come up in the find
results with default settings.
-Mark
On Jul 16, 5:42 am, iWorm [EMAIL PROTECTED] wrote:
snip
--~--~-~--~~~---~--~~
You
1 - 100 of 586 matches
Mail list logo