Questions tagged [cakephp-2.2]

This tag relates to the 2.2.x branch of the CakePHP MVC framework.

The release of CakePHP 2.2 beta was announced CakePHP official site on April 30, 2012.

Following hot on the heels of 2.1.0, the CakePHP 2.2.0-beta was launched directly as beta as the new features were expected to be relatively stable, and could be generally transparent when upgrading.

Main features added are:

  1. Timezone support for CakeTime utility.
  2. Support pagination for complex custom finders.
  3. ACL methods now part of Permission model.
  4. New Hash class.

The latest CakePHP 2.2.x stable version is 2.2.1 release was published on July 14, 2012.

Official site: cakephp.org

Documentation: book.cakephp.org

See also:

250 questions
0
votes
1 answer

CakePHP Ajax Call to get a list for Dropdown

I am trying to change a drop down based on a previously selected drop down. I am able to write the function in jQuery. Since i am not able to use the URL path across various installation based on the server as i have to hard core the URL into the…
Harsha M V
  • 54,075
  • 125
  • 354
  • 529
0
votes
1 answer

Create new table for every Content $type in CakePHP

Description of Goal Trying to make a CMS (for internal use, but on many sites) with CakePHP. I'd like to be able to have a generic Content model, then have many different user-generated content types. This would be simple to do, but my single…
Dave
  • 28,833
  • 23
  • 113
  • 183
0
votes
1 answer

Submit GET form with javascript - CakePHP creating duplicate inputs

I assume it's the Security Component that's creating a duplicate of my input: Form->input('39', array('type'=>'checkbox')); ?> Becomes:
Dave
  • 28,833
  • 23
  • 113
  • 183
0
votes
1 answer

Data getting lost from Behavior's beforeValidate() to Model's beforeSave()

UPDATE: It appears the slug doesn't save when using saveAll(). I have it doing a save() immediately after the saveAll, and it works now, but it's an obvious kludge, and I'd rather get it working with saveAll if possible... I have other models that…
Dave
  • 28,833
  • 23
  • 113
  • 183
0
votes
1 answer

Upload plugin - how to override path?

Using the Upload Plugin. I want to upload files in a foreign_key folder to "guarantee" random, since it doesn't appear to have any check for an existing file before overwriting a file(s). I'd like a file to upload to something…
Dave
  • 28,833
  • 23
  • 113
  • 183
0
votes
1 answer

Upload Plugin issues

Trying to get the CakePHP Upload Plug-in to work. The file uploads fine, the thumbnails are created...etc, but having a few issues: -the 'name' field in the 'uploads' table is empty -the 'upload' field in the 'uploads' table is empty ('attachment'…
Dave
  • 28,833
  • 23
  • 113
  • 183
-1
votes
1 answer

Remove Security.salt and Security.cipherSeed value Admin login not working

If i Remove Security.salt and Security.cipherSeed value then Admin login not working. Configure::write('Security.salt', ''); Configure::write('Security.cipherSeed', ''); Please Help
Abid Hussain
  • 7,724
  • 3
  • 35
  • 53
-1
votes
1 answer

CakePHP : paginate not working on search results

I have a method, that performs a search and sends the results to its view. The search results are available only on the first page of the pagination results. The subsequent paginated pages do not have data and have warnings/errors about invalid…
Ajay K
  • 354
  • 1
  • 4
  • 14
-1
votes
1 answer

upgrade from 2.0.5 to 2.2.5

I have old app. It based on CakePHP 2.0.5. I want to upgrade it to current latest version, 2.2.5. Is it enough to replace new lib folder with the old one? or application folder needs to be changed, too. (checking changelogs for about 17 versions…
mrdaliri
  • 7,148
  • 22
  • 73
  • 107
-1
votes
2 answers

What should JSON look like for a CakePHP controller?

I am creating a web application that stores user's journeys and I'm build this application in CakePHP 2.2.5. I have a Journey model and that journey model has many coordinate objects which store the lat long coordinates. I'd like to send an API call…
Sam Marland
  • 552
  • 3
  • 24
1 2 3
16
17