Hey,
I have a multiple select that is being displayed as checkboxes thanks
to the "array('multiple'=>'checkbox')" code. I need to set it somehow
so that users can only select new items. So they can check new
checkboxes but not uncheck boxes that are already checked when the
page loads.
I figured o
I've written an application where I do multiple file uploads in the
background using AJAX, so its definitely possible.
Personally I don't use the built in ajax functionality because I
prefer jquery to the prototype library. I tend to do it by hand. If
you do it that way, the trick is to realise th
Had similar problem with HABTM relation too - by unknown reason Cake
creates AppModel instance for M:M link table instead of existing
model. In my case it was solved by switching order of models load -
make first "problem" models load and only then load models with them
in associations. I done it b
Hi all--
I was playing with Cake last summer on my old Powerbook. I haven't
touched it in awhile, and decided to start again on my new Macbook Pro
running 10.6 (built-in PHP 5.3). I have so far been unsuccessful
either with older versions of cake or the new 1.3 beta.
Initially I was able to get
I had this same problem when I tried to do a saveAll from a "model A"
that had many "model B" and forgot to "create the array" in the view.
(had to put ModelA.field1, ModelA.field2 and ModelB.0.field1, ModelB.
0.field2, ModelB.0.field3 => the .0 makes all the difference)
Probably the same thing is
I hv downloaded the stable version 2.1.5.. and I am trying to follow the
steps given at this link:
http://book.cakephp.org/view/308/Installing-CakePHP
But I am not able to do it..its more confusing for me...
Regards
Kapil Chokhawala
On Tue, Mar 2, 2010 at 3:46 PM, cricket wrote:
> We don't
i did write a component for it
test cases included
results tested with my new android mobile phone - seems to work quite
well actually
but i'd be glad if someone wanted to take a look
- to find possible mistakes
- to enhance some "special cases", like "MECARD vcards" etc
On 25 Feb., 21:28, eur
We don't know why, either.
http://catb.org/~esr/faqs/smart-questions.html
If you post a bit more information someone might be able to help.
On Mar 2, 3:25 pm, Kapil Chokhawala wrote:
> Hello,
> I am new to PHP and CakePHP. I am trying to setup CakePHP but I dont
> why but I am not able to do i
yeah
i hate it, too
already threw in the idea to add some kind of hidden "passive" captcha
to the form
or even an active one... where you actually have to type in sth like
"3+5" etc
that would do the trick!
On 2 Mrz., 21:26, Maximillian Schwanekamp
wrote:
> The Bakery is such a great idea, but
Are you getting any error message you can post here for more
clarification?
On 2 mar, 17:25, Kapil Chokhawala wrote:
> Hello,
> I am new to PHP and CakePHP. I am trying to setup CakePHP but I dont
> why but I am not able to do it. Plz help.
>
> Thanks
Check out the new CakePHP Questions site htt
File uploading with AJAX is impossible.
You'll have to use a plugin/library to do mimic it:
http://valums.com/ajax-upload/
On Mar 2, 12:37 pm, donnerbeil wrote:
> Hi all,
>
> I'm trying to upload images with ajax. But in my controller in this->data
> only the values of the text input fields ar
Hello,
I am new to PHP and CakePHP. I am trying to setup CakePHP but I dont
why but I am not able to do it. Plz help.
Thanks
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 t
Hi all,
I'm trying to upload images with ajax. But in my controller in this-
>data only the values of the text input fields arrive, but not the
file array. Without ajax, everything works perfect.
Here is my view:
form(array('type' => 'file',
'options' => array(
'model'=>'
The Bakery is such a great idea, but it's getting polluted with annoying
comment spam. E.g. "CakePHP helps build amazingly powerful applications - I
like this tip - good topic for writing a research paper" across multiple
articles.
I'd love to help out by flagging comments as possible spam or
Under .../app/local/ create de_DE/LC_MESSAGES/ folders
You can use German dialects also http://en.wikipedia.org/wiki/ISO_3166-2:DE
With poedit application create default.po and default.mo under .../
de_DE/LC_MESSAGES/
You can set poedit to reference you code directory and fetch all strings
inside _
Should have waited an extra couple minutes before asking...
Solution:
As it turns out, instead of putting a view called 'index.ctp' in the
app/views/pages/admin directory, I needed to put a view called
'admin_index.ctp' in my app/views/pages directory.
On Mar 2, 2:38 pm, p_W wrote:
> In the
Hello
we have our own website, eg www.xyz.com.
now we have a partner who routes our site trough his proxy
"www.yyy.com/xyz/"
the problem is that because of the "/xyz/" no link, css helper,...
works. I know when the user comes through the proxy because of the
header information
Is there a easy w
In the Cookbook, it lists this as the way to connect the URL '/admin'
to an admin index page. I am having some trouble making this work
correctly. I do have admin routing activated, with 'admin' as the
prefix. Here are the routes, listed in order, in my routes.php page:
Router::connect
Ok, strange behavior which is probably just a misunderstanding of a
n00b, but here goes:
I have models for 'Order,' 'OrderPayment', 'OrderDetail',
'OrderShipment', 'OrderCredit', 'OrderCoupon'. All of these, because
I'm trying to transition from an old system into a new system, have
tables with di
On Mar 2, 10:47 am, mivogt-LU wrote:
> hi there,
>
> I am looking for a solution to do some very basic translating in my
> project.
> DatabaseTables and all files are named in english within the capephp
> way.
>
> Now I want to have the labels of the input fields in i.e. German
> language.
> Is it
hi there,
I am looking for a solution to do some very basic translating in my
project.
DatabaseTables and all files are named in english within the capephp
way.
Now I want to have the labels of the input fields in i.e. German
language.
Is it possible to add a file where I just place the original
Is is possible to run CakePHP in the same HTDOCS folder as an existing
web application?
E.g.:
index.php (old website)
somePage.php (old website)
someOtherPage.php (new website using cakephp).
Or does CakePHP require a "catch all" root directory ?
The advantage would be:
- you could migrate one
of course there's always this
foreach ($result as $r) {
if (!empty($r['Module'])) {
$data[] = $r;
}
}
$result = $data;
but i'd prefer to do this on a db level if I can
On Mar 2, 4:13 pm, WebRenovator wrote:
> Hi all ye thrifty helpers
>
> I'm trying to use the containable behaviour for a so
Hi all ye thrifty helpers
I'm trying to use the containable behaviour for a somewhat complex
query. I've gotten most of it to work. The only anomaly is that I want
the containable to contain a condition for the actual query. Here's
what I have:
var $hasAndBelongsToMany = array('Module');
var $act
24 matches
Mail list logo