for the help,
- Ed
On Tue, Oct 11, 2011 at 1:37 PM, Miles J mileswjohn...@gmail.com wrote:
That doesn't make sense. Including a file *anywhere* in the
application imports it into the scope, this is part of PHP, not
CakePHP.
Try doing an absolute path include to the SDK from within your
is only available within that controller and not
accessible
to the rest of my controllers.
- Ed
On Mon, Oct 10, 2011 at 9:12 PM, Miles J mileswjohn...@gmail.com
wrote:
If its for models, use ClassRegistry::init().
If you are including files, use App::import().
If you
If its for models, use ClassRegistry::init().
If you are including files, use App::import().
If you are adding a file to the lookup, use App::uses().
https://github.com/cakephp/cakephp/blob/2.0/lib/Cake/Core/App.php#L549
On Oct 10, 9:20 am, CrotchFrog crotchf...@gmail.com wrote:
I'm still
Myself.
On Oct 5, 9:28 am, Saransh Sharma saranshsh...@gmail.com wrote:
yeah selenium
On Wednesday, October 5, 2011, iphone5 wrote:
Do you guys use Selenium or something similar for testing front end?
--
Our newest site for the community: CakePHP Video Tutorials
your work on it.
Sharon
On Oct 3, 6:23 pm, Miles J mileswjohn...@gmail.com wrote:
No that should do it. I was just stripping HTML since it was BB code
only.
@Webbed - Yeah, my site is a bit outdated :/
On Oct 3, 3:06 am, WhyNotSmile sharongilmor...@gmail.com wrote:
I'm using
, and that has let the CK editor output go through ok.
Is there anything I need to add in to replace that, for security etc?
Sharon
On Oct 2, 3:24 am, Miles J mileswjohn...@gmail.com wrote:
Well technically wrong, I released 2.0 Beta a month ago.
https://github.com/milesj/cake-forum
Well technically wrong, I released 2.0 Beta a month ago.
https://github.com/milesj/cake-forum
Secondly, what version are you using? 1.9 or 2.0? As they are vastly
different.
On Sep 30, 11:59 pm, WebbedIT p...@webbedit.co.uk wrote:
MilesJ would be the best person, but not sure if he has much
Use a session flash.
$this-Session-setFlash('Message');
And in the view:
echo $this-Session-flash();
On Sep 30, 8:18 am, aortizhi aorti...@gmail.com wrote:
Hi everyone, can you tell me, how can i use a confirmation message box
in my controller. I can't do it from my view becase this message
Why are you even uploading a 58MB file?
On Sep 29, 1:21 pm, aortizhi aorti...@gmail.com wrote:
i already have changed to post_max_size=800M and upload_max_filesize =
800M, and still don't work, am i doing something wrong?
On Sep 29, 3:06 pm, Ryan Schmidt google-2...@ryandesign.com wrote:
limitations (outside of php)
On 30 September 2011 18:14, Miles J mileswjohn...@gmail.com wrote:
Why are you even uploading a 58MB file?
On Sep 29, 1:21 pm, aortizhi aorti...@gmail.com wrote:
i already have changed to post_max_size=800M and upload_max_filesize =
800M, and still
Why do you need to disable logging?
Logging is handled through a PHP function, not Cake. Cake just defines
the handler.
On Sep 21, 9:40 am, Hugo M ham1...@gmail.com wrote:
I tried to disable debug.log and error.log logging but I couldn't. I've
tried putting debug in 0 and log in 0 in core.php
Unnecessary to use Cake/PHP to render a simple HTML tag.
On Sep 20, 3:50 am, WebbedIT p...@webbedit.co.uk wrote:
In your view any blocks of script that you want to be echoed into the
layout for that page you add to $scripts_for_layout by calling:
$this-Javascript-codeBlock(
// enter your raw
, Thomas Ploch profipl...@googlemail.com wrote:
Well, for cake 1.3 it's completely legitimate to use the PHP4 syntax
taken that the other classes are using the PHP4 syntax as well.
Kind regards
Thomas
Am Montag, den 19.09.2011, 10:11 -0700 schrieb Miles J:
Which Cake version are you
Which Cake version are you using?
Also on a side note, stop using PHP4 syntax.
On Sep 19, 8:33 am, heohni heidi.anselstet...@consultingteam.de
wrote:
Oh that's cool!
I didn't know this bin...
translator componenthttp://bin.cakephp.org/view/666573507
On 19 Sep., 15:17, Thomas Ploch
The old school way of course.
$db = new DATABASE_CONFIG();
$db-ldap['domain'];
Don't worry, it won't actually cause any problems.
On Sep 14, 3:43 am, gloop gl...@web.de wrote:
Hello,
i program a LDAP login. We have several domains and its pretty when i
have only one location for the ldap
I actually posted a blog post about this:
http://milesj.me/blog/read/end-html-helper
On Sep 11, 1:28 am, elija elijatheg...@gmail.com wrote:
Thank you. That makes sense and now I don't have to learn it the hard
way.
On Sep 11, 8:30 am, Ryan Schmidt google-2...@ryandesign.com wrote:
This approach is incorrect. Place that functionality in the model or a
component, or even the AppController.
On Sep 6, 12:12 am, ajaxboy symphonyma...@gmail.com wrote:
If would be nice if you add a singleton method to get an instance of
the controller in case need to load stuff outside of a
__() wont work in a non-cake app, it's cake functionality.
__() is just a custom function cake wrote that extends their i18n
class. The i18n class deals with the loading of .po files and the
extraction of message strings using gettext (I believe).
On Aug 30, 1:09 pm, dole doug
Then just strip_tags() before each insert.
Database size is irrelevant IMO.
On Aug 27, 11:42 pm, Prabha vathi prabha.ridd...@gmail.com wrote:
I am never going to use html. Then why should i increase database size?
On Sun, Aug 28, 2011 at 10:09 AM, Miles J mileswjohn...@gmail.com wrote
So whats your reasoning for not wanting HTML in the database?
Not like it can really break anything.
On Aug 27, 2:31 pm, Ryan Schmidt google-2...@ryandesign.com wrote:
On Aug 27, 2011, at 03:46, Prabha vathi wrote:
echo $html-link(
Sanitize::html($post_array['content'],
If you want to remove HTML, use strip_tags. Regardless, you should
just store the HTML version in the database and escape it on the front-
end so it cant be rendered. The only thing you need to do is SQL
injection protection, which cake does automatically.
On Aug 26, 2:47 pm, Ryan Schmidt
That's not what models are for. Models are meant to represent an
entity of data from a datasource (database or rest), not to convene
helper methods. Cake creates even more confusion because their model
system isn't a true model system, it's simply a DAO (database access
object).
On Aug 11, 3:42
Create a static class and place it in libs or vendors.
On Aug 11, 2:09 pm, euromark dereurom...@googlemail.com wrote:
usually in the model
since controllers can easily access models
but that depends on your situation
maybe a lib, maybe a behavior, maybe some boostrap code
without knowing
Is there a reason you need to condense it?
Isn't that much work.
foreach ($items as $item) {
echo $item['Industry']['id'];
}
On Aug 4, 5:48 am, spongs101 spongs...@googlemail.com wrote:
Perhaps using Set::Format or another method. Can anyone describe an
efficient way of converting the
Just copy the whole cake folder from 1.3.11 and overwrite the 1.3.10
cake folder.
On Aug 1, 10:18 am, Prabha vathi prabha.ridd...@gmail.com wrote:
Hi,
How to update cakephp 1.3.10 to 1.3.11?
If i update, should i need to modify my script?
Thanks
--
Our newest site for the community:
Also, check for a migration guide if anything has changed (which I
dont think it has).
On Aug 1, 10:18 am, Prabha vathi prabha.ridd...@gmail.com wrote:
Hi,
How to update cakephp 1.3.10 to 1.3.11?
If i update, should i need to modify my script?
Thanks
--
Our newest site for the community:
Like euromark said, just call it CalController, it *doesnt* have to be
plural.
On Jul 31, 1:58 am, euromark dereurom...@googlemail.com wrote:
but almost as easy:
CalController extends ...
var $name = 'CalController';
and make sure you post all forms to themselves (which is the default
thing
Its to generate rows using a helper, not really meant for generation
within the view.
On Jul 15, 7:28 am, DragonFlyEye dragonflyey...@gmail.com wrote:
Does anybody know a reason that the Html Helper contains a method to output
table cells and headers, but not a method to output tables? Like, at
And if you are running PHP4, upgrade immediately.
On Jul 7, 3:32 am, Tilen Majerle tilen.maje...@gmail.com wrote:
cake2.0 does not support PHP4
--
Lep pozdrav, Tilen Majerlehttp://majerle.eu
2011/7/7 datgs giangson...@gmail.com
Hi Team,
As I can see. There was so many discussions
have been
done by now.
-Mark
On Jul 5, 4:24 pm, Miles J mileswjohn...@gmail.com wrote:
Couldn't we just have the DB call return a QueryResponse object that
maps all the values together and associated models (also as
QueryResponse objects). Then give it ArrayAccess functionality
Well, do you need to populate it right off the bat?
Cake will automatically insert the correct counter value the next time
a save or delete is made (all it does is a findCount()).
On Jul 6, 10:38 am, Thomas Ploch profipl...@googlemail.com wrote:
Wouldn't a simple find('all') saveAll() script do
a find count group by and update the new counterCache field.
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 6 Jul 2011, at 20:21, Miles J wrote:
Well, do you need to populate it right off the bat?
Cake will automatically insert the correct counter value the next time
Couldn't we just have the DB call return a QueryResponse object that
maps all the values together and associated models (also as
QueryResponse objects). Then give it ArrayAccess functionality for
backwards compatibility?
(I haven't thought much into it, just throwing it out there.)
On Jul 5,
.
However, methods like r(), up(), e() and low() have already been
removed from 2.0. h() however will stick around.
-Mark
On Jun 30, 5:12 pm, Miles J mileswjohn...@gmail.com wrote:
They are being removed because they are slower than the original
counter-parts. But like you said, you can
h() is being deprecated in later versions, so create a helper method
for html escaping.
On Jun 30, 2:55 am, euromark dereurom...@googlemail.com wrote:
everything :)
you dont have to do anything
cake takes care of that for you
simply use h() in the views to display your data safely
On 30
I think it was supposed to be 1.3, but most likely 2.0 now. Any of
these convenience functions like h() or r() are removed.
On Jun 30, 12:43 pm, Ryan Schmidt google-2...@ryandesign.com wrote:
On Jun 30, 2011, at 14:13, Miles J wrote:
h() is being deprecated in later versions
Oh? By later
On 30 Jun., 22:32, Miles J mileswjohn...@gmail.com wrote:
I think it was supposed to be 1.3, but most likely 2.0 now. Any of
these convenience functions like h() or r() are removed.
On Jun 30, 12:43 pm, Ryan Schmidt google-2...@ryandesign.com wrote:
On Jun 30, 2011, at 14:13
Place it in your AppController and make sure your other controllers
extend it.
On Jun 25, 4:59 am, Dominik Gajewski dominikgajews...@gmail.com
wrote:
Hi
I would like to ask about getting access to method from another contoller
I have DocumentsController where I have method _getError($error)
, regardless of who's fault it is, should *never*
be displayed in plain text, who's smart idea was that?
Get off your high I know everything horse.
On Jun 23, 1:00 am, AD7six andydawso...@gmail.com wrote:
On Jun 22, 11:35 pm, Miles J mileswjohn...@gmail.com wrote:
Thats my point
What a helpful member of the CakePHP community you are.
The consensus seems to be against you on this one.
On Jun 23, 11:47 am, AD7six andydawso...@gmail.com wrote:
On Jun 23, 7:41 pm, Miles J mileswjohn...@gmail.com wrote:
What are you talking about, stop trolling. I know that was incorrect
.
-Mark
On Jun 21, 10:22 am, Miles J mileswjohn...@gmail.com wrote:
I have brought this problem up before. Last time, the Cake devs said
it was the developers fault and it will stay in.
-_-
On Jun 21, 8:23 am, looklook look bashl...@gmail.com wrote:
Now you got my point ;)
I
:20 pm, Miles J mileswjohn...@gmail.com wrote:
The problem is, its unclear when this error is thrown. I developed in
Cake for over a year and still had this debug show in production.
From your blog post:
debug in core.php was set to 2, and then disabled to 0 in
bootstrap.php
with hindsight
I have brought this problem up before. Last time, the Cake devs said
it was the developers fault and it will stay in.
-_-
On Jun 21, 8:23 am, looklook look bashl...@gmail.com wrote:
Now you got my point ;)
I have tried with google query to show database connection on Drupal,
Codeigniter,
Yeah you can easily set it up using a cron job. Just use the same
command you use in the CLI in the cron.
On Jun 18, 10:14 am, krisspnet christophe.pou...@gmail.com wrote:
Well, we have different persons in charge of the translations.
However, those persons don't know what is a terminal
It should be done in the command line as attempting to do it in the
browser will be really slow and most likely consume a lot of memory.
Any specific reason you want it in the AppController?
On Jun 16, 9:35 am, krisspnet christophe.pou...@gmail.com wrote:
Hi everyone,
I am a new user of the
setFlash() requires the whole page to reload to work, you cant fire
off an AJAX call and expect some random flash message to appear in the
page.
On Jun 16, 7:48 pm, Cruisine cruisin...@yahoo.co.id wrote:
hi guys,recently i've been using ajax submit to save the data into
database...but whenever
Does it work with regular files?
Also, can you paste the whole error, the image is cutting it off.
And lastly, make sure you are using the latest version.
https://github.com/milesj/cake-uploader/downloads
On Jun 8, 11:21 am, axell9641 axell9...@gmail.com wrote:
any ideas???
--
View this
So what is the value of $data['name']?
Because on this line:
$this-data['Publicacione']['link_referencia'] = $data['name'];
You are setting the value, but it seems like $data['name'] is an
array.
On Jun 8, 2:28 pm, axell9641 axell9...@gmail.com wrote:
Miles J wrote:
Does it work
Just don't include the Session component.
On Jun 3, 8:57 pm, poots ma...@magicdraftsim.com wrote:
Hello,
I'm trying to disable cakephp sessions as outlined here:
http://bakery.cakephp.org/articles/dirhauge/2007/10/31/cakephp-smf
However, I think the post is so outdated that the code where
@Ryan - It turns them into SQL statements because Cakes model uses
magic __get methods for findByColumn() calls, but it triggers on
anything.
@OP - Your model isn't being loaded, the AppModel is. Your conventions
are off.
On Jun 5, 4:17 pm, Ryan Schmidt google-2...@ryandesign.com wrote:
On Jun
Thats old old news, CakePHP isn't going anywhere.
On Jun 6, 4:13 pm, Junior Grossi juninh...@gmail.com wrote:
Hi all,
I'm new here and I am starting using cakePHP for a new web app (we are
between Zend and Cake). I've listening about the future of Cake, that
some people leaved the project
Well put :P
On Jun 6, 6:20 pm, Larry E. Masters php...@gmail.com wrote:
Thats old old news, CakePHP isn't going anywhere.
Miles,
Sure it is :) we are moving forward!
--
Larry E. Masters
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the
Like euromark said, Cake will automatically set the created/modified
timestamps for you.
On Jun 3, 9:46 am, euromark dereurom...@googlemail.com wrote:
you shouldnt be messing with created and modified in the first place
cake will take care of that for you.
On 3 Jun., 16:59, taq
Do nothing, modified/created will automatically be added without you
doing anything.
On Jun 3, 6:25 pm, taqman filler taqman...@gmail.com wrote:
I follow in cake manual
I'm newbie .what should I do
2011/6/4 Miles J mileswjohn...@gmail.com
Like euromark said, Cake will automatically
Uncomment out the Configure ACL calls in core.php.
On May 30, 9:12 pm, 8vius lmd...@gmail.com wrote:
ShadowCross your solution worked, I seem to have forgotten those
permissions to the DB user and now it all works. Thank you
On May 30, 7:01 pm, ShadowCross adri...@jps.net wrote:
One
Why not just cache your data instead of the view? Caching the view is
pretty much just stepping in its place.
On May 31, 10:24 am, dreamingmind dreamingmin...@gmail.com wrote:
Jeremy,
Yes, another layer... seems a bit crazy. It looks like their may be
more bits and pieces of unique code
So lately I have been getting quite a few MySQL errors in my tmp/
error.log. I went through a lot of my code and made sure I wasn't
doing anything wrong, still happening. Most of the errors are the
following:
2011-05-19 22:57:42 Warning: Warning (2): mysqli_query() expects
parameter 1 to be
The automagic is the slow part in my opinion.
On May 19, 1:08 am, Bogdan I. Bursuc bogdanbursu...@gmail.com
wrote:
Plus there is the features a framework can offer. If a framework has 3 classes
don't think it helps u that much. But a framework like Cake which has a lot of
automagic which if
Instantiate them separately, while one uses the controller property.
$model = ClassRegistry::init('Email');
or
$email = new EmailComponent();
On May 20, 8:32 am, dreamingmind dreamingmin...@gmail.com wrote:
I think you could do this with the Model alias
I guess it depends what the options array is used for? If it is never
associated with a model, than you can create a helper.
$this-Helper-getOptions();
On May 18, 11:46 am, Jason Mitchell jason.a.mitch...@gmail.com
wrote:
I have in a controller an array containing data used on the view to
') putting it in an array variable seems fine to me.
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.comhttp://www.classoutfit.com
On 18 May 2011, at 20:41, Miles J wrote:
I guess it depends what the options array is used for? If it is never
associated with a model, than you can
HTML CakePHP.
There are only a few instances where you use the HtmlHelper or
FormHelper.
1 - To generate forms.
2 - To create anchor links.
3 - To build HTML elements within helpers.
On May 17, 7:29 am, Tilen Majerle tilen.maje...@gmail.com wrote:
It's true, that if you use cake's
My plugin supports multiple file uploads as well as a rollback feature
incase one fails.
https://github.com/milesj/cake-uploader/blob/master/controllers/components/uploader.php#L1150
On May 17, 2:51 pm, dreamingmind dreamingmin...@gmail.com wrote:
Juliano,
Though I didn't research deeply, a
You are getting that error because it seems like your model is not
found. Its using the AppModel in its place. Try debugging it.
debug($this-Workpiece);
On May 14, 7:13 pm, dreamingmind dreamingmin...@gmail.com wrote:
erikober,
I wonder if there is a syntax error higher up in the code.
Why would profile be related to a post? The relationship is the user.
On May 12, 9:09 am, dreamingmind dreamingmin...@gmail.com wrote:
With the setup you have, wouldn't the profile come along for the ride
on your finds? I would expect to be able to get a returned array like
this:
array(
[0]
Do you have suhosin installed? I ran into problems with that.
http://milesj.me/blog/read/security-cipher-suhosin
On May 11, 11:33 pm, Simon Males s...@sime.net.au wrote:
Hello,
I'm migrating some infrastructure from 32bit CentOS PHP 5.2 to 64bit
Ubuntu PHP 5.3.
Unfortunately I've
I dont know for sure, but a cache is created for the language you are
currently browsing on. If I switch from english to german, it will
cache another set for the german strings if german hasn't been cached
yet.
On May 12, 6:02 am, Lorenzo Bettini lorenzo.bett...@gmail.com wrote:
Hi
I started
Theres some magic that happens. If you have an ID field (user_id), it
will usually be a select. If you set a variable called $users to the
view, that input field will populate with that data.
You can overwrite that by just placing array('type' = 'text') as the
second argument of the input method.
Theres this: http://book.cakephp.org/view/901/CakePHP-Conventions
On May 3, 6:08 pm, Simon Males s...@sime.net.au wrote:
Hi
There was a really good document on the trac wiki, are they archived
somewhere?
Cake Coding Standards
:https://trac.cakephp.org/wiki/Developement/CodingStandards
$this-Auth is an object, you can't have that return the users login
data.
On May 2, 3:29 am, AD7six andydawso...@gmail.com wrote:
On May 2, 12:21 pm, Ryan Snowden sicapi...@gmail.com wrote:
^
True.
Small gripe:
Although I admire Sessions, can CakePHP pick one method? Preferably
would never validate file uploads with javascripts because of 2
reasons:
First, i don't know how
Second, i know enough to know that this kind of validation wouldn't be
save enough ^^
Nothing against you, but js alone isn't the key.
On 27 Apr., 23:54, Miles J mileswjohn...@gmail.com wrote
You can also create the folders and make the writable before hand,
that way the file will always upload.
On Apr 28, 12:55 pm, cricket zijn.digi...@gmail.com wrote:
On Thu, Apr 28, 2011 at 2:17 PM, func0der funco...@live.com wrote:
Can you explain that a bit more precise.
You can't validates() something after the model save has already
happened. Use a behavior for validation or use my plugin.
https://github.com/milesj/cake-uploader
And an example model on how to use it.
https://github.com/milesj/cake-uploader/blob/master/tests/models/upload.php
On Apr 27, 11:18
, Miles J mileswjohn...@gmail.com wrote:
You can't validates() something after the model save has already
happened. Use a behavior for validation or use my plugin.
https://github.com/milesj/cake-uploader
And an example model on how to use it.
https://github.com/milesj/cake-uploader
What do you mean by socket server. Something like a REST system?
On Apr 26, 3:07 am, Dominik Gajewski dominikgajews...@gmail.com
wrote:
Hi
Yes, it is possible use sockets in cake, here you are cake socket api
http://api.cakephp.org/class/http-socket
I hope that will help you to solve your
This:
$this-set('provinces', $this-City-Province-find('list',
array('conditions' =
array('province.country_id' =
$this-params['url']['countryId']),
'recursive' = -1)));
They are completely different in funtionality.
if/else determines which blocks of code to execute according to
specific conditions, while a try/catch monitors to see if an error
occurred and to exit out of the current execution block.
On Apr 22, 9:51 am, cricket zijn.digi...@gmail.com wrote:
On
Just echo the json in the action.
http://milesj.me/blog/read/63/Doing-AJAX-Calls-In-CakePHP-Part-2-_-The-Controller
On Apr 21, 8:57 am, pedrosas pdrsas...@gmail.com wrote:
I need help, I have a script for dependent selects, type country,
state, city. In the view of add, works perfectly, but in
If those cache files exist, then yes cache is working.
On Apr 11, 12:58 am, hoss7 hoss...@gmail.com wrote:
thanks
i am see this folder(tmp\cache\persistent) i have many files
for example in cake_code.dir_map
i have this:
1302508471
I am guessing you are talking about model caches and not data caches,
correct?
On Apr 11, 7:55 am, Jeremy Burns jeremybu...@classoutfit.com wrote:
Any takers on this?
On Mar 28, 11:01 am, Jeremy Burns jeremybu...@classoutfit.com wrote:
I'm working on a site that is very data
mechanisms and how
best to deploy them in a model where the data is quite fluid.
Jeremy Burns
Class Outfit
jeremybu...@classoutfit.comhttp://www.classoutfit.com
On 11 Apr 2011, at 18:06, Miles J wrote:
I am guessing you are talking about model caches and not data caches,
correct
@keymaster - What exactly are you expecting Cake to become? Cake
pretty much already has a stable framework and feature list. I don't
see them putting in any new features in the future.
Most, if not all of their time is spent on bug fixing, patching and
preparing for Cake 2.0.
On Apr 7, 4:23 am,
@Alex - Yes you can have memory leaks in PHP.
http://www.google.com/search?q=memory+leaks+in+phpie=utf-8oe=utf-8aq=trls=org.mozilla:en-US:officialclient=firefox-a
On Apr 7, 3:59 am, Alex Ciobanu ics.cake...@gmail.com wrote:
On 4/4/2011 6:38 PM, ProFire wrote: I was very careful not to have any
What is your reasoning for importing another controller? You should
never need to do this.
On Apr 7, 3:30 am, Jeremy Burns | Class Outfit
jeremybu...@classoutfit.com wrote:
Are you doing this inside a function? Can we see some code?
Jeremy Burns
Class Outfit
Like Jose said, the community is welcome to fork the repo and patch
bugs themselves and submit them for approval.
Also, a lot of Cake work is going into 2.0, just watch the Github
stream.
On Apr 6, 3:17 pm, José Lorenzo jose@gmail.com wrote:
What do you have in mind to solve this? Would you
nginx
php 5.3
netbeans
firefox
putty
git (tortoisegit)
notepad++
xampp
On Apr 6, 1:08 pm, Raul Mangolin e...@raulmangolin.com wrote:
Slackware 13.1
VIM
GIT
Apache/MySql
On Wed, Mar 30, 2011 at 4:49 PM, Chris theswimmingf...@gmail.com wrote:
How do you develop for CakePHP? OS,
App::import() is basically a glorified file includer.
ClassRegistry::init() is a registry class and only works with models.
It internally calls App::import().
On Apr 6, 5:08 pm, adam_g2000 a...@designcollective.co.nz wrote:
Hi Guys,
Before continuing, I have a basic understanding of what they
I wrote some blog posts about this.
http://milesj.me/blog/read/62/Doing-AJAX-Calls-In-CakePHP%3A-Part-1-_-The-Front_end
On Mar 18, 7:12 am, cronet cro...@gmx.de wrote:
That works very well... Thank you guys !
On 18 Mrz., 12:28, LipeDjow liped...@gmail.com wrote:
Yes.
Instead returning
I have had a similar problem, a few questions?
Are you using Dreamhost?
I am assuming you are using filesystem cache, have you tried Memcache
or APC?
What OS is your server running?
On Mar 15, 12:57 pm, Dwayne dwayne.kristjan...@gmail.com wrote:
I've run into the following problem sporadically
CakePHP is a free open source framework.
For consulting or development work, check out Cake DC. http://cakedc.com/
On Mar 12, 7:47 am, Chris DB cdbardemori...@gmail.com wrote:
If I use CakePHP framework to my simple commercially project proposed,
lets say online registration, do I pay a
What are you using to generate the named params?
On Mar 14, 2:15 pm, Adael adae...@gmail.com wrote:
You can do the following:http://pastebin.com/JAup00Hn
On 14 mar, 20:00, Mr.Jayesh jayeshach...@gmail.com wrote:
Hello Everyone,
Hope things Great..
Anyone please advice me a quick
https://github.com/milesj/cake-auto_login
On Mar 11, 2:53 pm, Alejandro Gómez Fernández agom...@gmail.com
wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Depends on your requirements, you can do this simply with a cookie, or
implement something more secure, using for example, a dyndns
Cake doesn't have any JS validation, so I am a bit confused here.
On Mar 11, 8:48 am, AD7six andydawso...@gmail.com wrote:
On Mar 11, 5:27 pm, Karl Oakes kfoa...@gmail.com wrote:
If I were handcoding a site I would normally create my own js validation
script or use a jQuery validate
It would be a single action, all you do is grab data from all sources
and set them into the page.
public function index() {
$this-set('users', $this-User-find('all'));
$this-set('files', $this-File-find('all'));
$this-set('posts', $this-Post-find('all'));
}
On Mar 1, 9:35
What version of the uploader are you using?
On Mar 1, 12:56 am, Stephen step...@ninjacodermonkey.co.uk wrote:
It states it's image/jpeg
On 1 March 2011 00:35, Miles J mileswjohn...@gmail.com wrote:
Yeah that's quite weird, it should be assigned as an image.
What does php say
My file upload behavior allows you to save metadata to the database:
https://github.com/milesj/cake-uploader/blob/master/tests/upload.php
On Feb 26, 6:02 am, Elvis Nguyen nvnt...@gmail.com wrote:
I love this way because it is very simple and easy. When browsing the
images, the application
I wrote a tutorial on how to use the Auth component. Its over 2 years
old but should still apply.
http://milesj.me/blog/read/5/Using-CakePHP%27s-Auth-Component
On Feb 27, 3:59 am, AD7six andydawso...@gmail.com wrote:
On 26 feb, 20:53, amarradi radis...@googlemail.com wrote:
i added an
What type of file are you uploading?
You can add more mimetypes to the supported mimetype array to allow
your type to pass, instead of hacking in conditions.
On Feb 28, 12:17 pm, Stephen step...@ninjacodermonkey.co.uk wrote:
I managed to get around this issue by checking for both image and
in EasyPHP.
image/jpeg should pass no?
Anyhow, on a slightly different note, I really love the simplicity of your
component - besides the strange error (still convinced it's EasyPHP), it's
working perfectly.
On 28 February 2011 22:19, Miles J mileswjohn...@gmail.com wrote:
What type of file
Or you can just do:
a href=javascript:history.back()go back/a
No need to use an HTML helper for a task its not needed for.
On Feb 25, 4:48 am, mi...@brightstorm.co.uk wrote:
can't find out how to resolve:
a href=javascript:history.back()go back/a
with:
$this-Html-link
you can do
101 - 200 of 1469 matches
Mail list logo